[GH-ISSUE #5946] [Bug]: Android clients lose internet access after upgrading panel to 3.5.0 #4120

Closed
opened 2026-10-31 20:37:19 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @davoodtaba-glitch on GitHub (Jul 13, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5946

Describe the bug

All android clients encounter no internet detect after upgrade panel to 3.5

How to reproduce the problem

...

Expected behavior

No response

Actual behavior

No response

Relevant logs


Screenshots

No response

3x-ui version

3.5

Xray-core version

No response

How did you install 3x-ui?

install.sh script

Operating system

Debian 12

Which parts of the panel are affected?

No response

Browser (only if it is a UI bug)

No response

Is the panel behind a reverse proxy or CDN?

None

Before submitting

  • I searched existing issues and this bug has not been reported.
  • I am running the latest released version of 3x-ui (or have verified the bug still exists on it).
  • This bug report is written in English.
  • I have redacted any sensitive data (tokens, real domains, client UUIDs).
Originally created by @davoodtaba-glitch on GitHub (Jul 13, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5946 ### Describe the bug All android clients encounter no internet detect after upgrade panel to 3.5 ### How to reproduce the problem ... ### Expected behavior _No response_ ### Actual behavior _No response_ ### Relevant logs ```shell ``` ### Screenshots _No response_ ### 3x-ui version 3.5 ### Xray-core version _No response_ ### How did you install 3x-ui? install.sh script ### Operating system Debian 12 ### Which parts of the panel are affected? _No response_ ### Browser (only if it is a UI bug) _No response_ ### Is the panel behind a reverse proxy or CDN? None ### Before submitting - [x] I searched [existing issues](../issues?q=is%3Aissue) and this bug has not been reported. - [x] I am running the latest released version of 3x-ui (or have verified the bug still exists on it). - [x] This bug report is written in English. - [x] I have redacted any sensitive data (tokens, real domains, client UUIDs).
bsakaguchi 2026-10-31 20:37:19 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Jul 13, 2026):

Investigated against the 3.5.0 source. I cannot confirm this is your exact cause without a couple of details (requested below), but there is a concrete, matching mechanism in this release, so I'm reporting it as a probable bug rather than closing for lack of info.

Title: Xray-core v26.7.11 (bundled in 3.5.0) dropped VMess none/zero security and Shadowsocks none/plain ciphers; client apps still configured with the old value silently stop passing data

Severity: Medium

Category: Reliability

Why this matters: 3.5.0 bumped the bundled Xray-core to v26.7.11 (go.mod pins github.com/xtls/xray-core v1.260327.1-0.20260711155151-50231eaff98c; the download URL in .github/workflows/release.yml and DockerInit.sh was updated to the v26.7.11 release asset). That core release removed the none/zero VMess security values and the none/plain Shadowsocks ciphers.

3.5.0 already guards the panel's own side of this: internal/database/db.go runs migrateVmessRemovedSecurities() (around line 825) and migrateShadowsocksRemovedCiphers() (around line 767) on every startup — wired into initModels() (db.go:83), which InitDB() (db.go:1750) always calls, including the normal x-ui run service path — rewriting stored none/zero VMess security to auto and none/plain Shadowsocks ciphers to chacha20-ietf-poly1305. There's a second heal at config-generation time too (internal/web/service/xray.go calling model.HealShadowsocksClientMethods, internal/database/model/model.go:445-471), specifically so one legacy row can't stop the whole Xray-core config from building.

What none of that can fix is a client app's already-saved profile: if an Android client's VMess encryption was set to none/zero, or its Shadowsocks method to none/plain — both valid choices before this xray-core release, and commonly recommended on mobile to save CPU — the server now silently expects auto / chacha20-ietf-poly1305, while the phone keeps sending the old value from its cached profile. The initial TCP/WebSocket handshake can still complete, so the app may show "connected," but the data channel no longer decodes correctly, which matches "no internet detected" better than an outright connection failure. The 3.5.0 release notes' heads-up only calls out the FinalMask+REALITY rejection and the MTProto migration, not this, so nobody using none/zero/plain was warned to check client-side settings before or after upgrading.

Recommendation: Not something the panel can fix retroactively on the client — if this is the cause, the client app needs its profile/subscription refreshed rather than reused. Worth the maintainer's consideration: calling out cipher/security removals from a bundled Xray-core bump explicitly in future release notes, and/or a panel-side notice when a client's stored settings get auto-migrated away from a removed value (today that rewrite only appears in the server log).

Confidence: Medium. The mechanism is fully confirmed in source and lines up with the reported timing (breaks right at the 3.5 upgrade) and with mobile clients being the most likely to have been configured with the lighter-weight legacy options — but I can't confirm it's this reporter's actual cause without the protocol/security value and logs.

To confirm or rule this out, could you share:

  1. Which protocol the affected Android clients use (VMess, VLESS, Shadowsocks, Trojan, WireGuard, Hysteria2, other).
  2. For VMess, the client's Encryption/Security value; for Shadowsocks, its cipher — as configured before the upgrade, if you still have it.
  3. The exact Xray-core version shown on the panel's Xray Configs page (or the x-ui menu) — to confirm it's actually v26.7.11.
  4. The Xray-core log around a failed connection attempt (panel → Logs, or journalctl -u x-ui) — left blank in the report.
  5. Whether generating a brand-new share link/subscription for one Android client and importing it fresh (instead of reusing the existing saved profile) changes anything.

@MHSanaei for visibility.

This reply was generated automatically. A maintainer may follow up.

<!-- gh-comment-id:4963168601 --> @github-actions[bot] commented on GitHub (Jul 13, 2026): Investigated against the 3.5.0 source. I cannot confirm this is your exact cause without a couple of details (requested below), but there is a concrete, matching mechanism in this release, so I'm reporting it as a probable bug rather than closing for lack of info. **Title:** Xray-core v26.7.11 (bundled in 3.5.0) dropped VMess `none`/`zero` security and Shadowsocks `none`/`plain` ciphers; client apps still configured with the old value silently stop passing data **Severity:** Medium **Category:** Reliability **Why this matters:** 3.5.0 bumped the bundled Xray-core to v26.7.11 (`go.mod` pins `github.com/xtls/xray-core v1.260327.1-0.20260711155151-50231eaff98c`; the download URL in `.github/workflows/release.yml` and `DockerInit.sh` was updated to the `v26.7.11` release asset). That core release removed the `none`/`zero` VMess security values and the `none`/`plain` Shadowsocks ciphers. 3.5.0 already guards the panel's own side of this: `internal/database/db.go` runs `migrateVmessRemovedSecurities()` (around line 825) and `migrateShadowsocksRemovedCiphers()` (around line 767) on every startup — wired into `initModels()` (`db.go:83`), which `InitDB()` (`db.go:1750`) always calls, including the normal `x-ui run` service path — rewriting stored `none`/`zero` VMess security to `auto` and `none`/`plain` Shadowsocks ciphers to `chacha20-ietf-poly1305`. There's a second heal at config-generation time too (`internal/web/service/xray.go` calling `model.HealShadowsocksClientMethods`, `internal/database/model/model.go:445-471`), specifically so one legacy row can't stop the whole Xray-core config from building. What none of that can fix is a client app's already-saved profile: if an Android client's VMess encryption was set to `none`/`zero`, or its Shadowsocks method to `none`/`plain` — both valid choices before this xray-core release, and commonly recommended on mobile to save CPU — the server now silently expects `auto` / `chacha20-ietf-poly1305`, while the phone keeps sending the old value from its cached profile. The initial TCP/WebSocket handshake can still complete, so the app may show "connected," but the data channel no longer decodes correctly, which matches "no internet detected" better than an outright connection failure. The 3.5.0 release notes' heads-up only calls out the FinalMask+REALITY rejection and the MTProto migration, not this, so nobody using `none`/`zero`/`plain` was warned to check client-side settings before or after upgrading. **Recommendation:** Not something the panel can fix retroactively on the client — if this is the cause, the client app needs its profile/subscription refreshed rather than reused. Worth the maintainer's consideration: calling out cipher/security removals from a bundled Xray-core bump explicitly in future release notes, and/or a panel-side notice when a client's stored settings get auto-migrated away from a removed value (today that rewrite only appears in the server log). **Confidence:** Medium. The mechanism is fully confirmed in source and lines up with the reported timing (breaks right at the 3.5 upgrade) and with mobile clients being the most likely to have been configured with the lighter-weight legacy options — but I can't confirm it's this reporter's actual cause without the protocol/security value and logs. To confirm or rule this out, could you share: 1. Which protocol the affected Android clients use (VMess, VLESS, Shadowsocks, Trojan, WireGuard, Hysteria2, other). 2. For VMess, the client's Encryption/Security value; for Shadowsocks, its cipher — as configured before the upgrade, if you still have it. 3. The exact Xray-core version shown on the panel's Xray Configs page (or the `x-ui` menu) — to confirm it's actually v26.7.11. 4. The Xray-core log around a failed connection attempt (panel → Logs, or `journalctl -u x-ui`) — left blank in the report. 5. Whether generating a brand-new share link/subscription for one Android client and importing it fresh (instead of reusing the existing saved profile) changes anything. @MHSanaei for visibility. *This reply was generated automatically. A maintainer may follow up.*
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#4120
No description provided.