mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #5030] [Bug]: ANdroid sub update #3543
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#3543
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Ebabil26 on GitHub (Jun 6, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5030
Describe the bug
Subscription links can be added successfully on Android clients, but subscription updates are unreliable. Sometimes the update works, but in many cases the client fails to refresh the subscription and returns a timeout error. As a result, newly added or modified nodes are not always received by the Android client.
How to reproduce the problem
Expected behavior
The Android client should consistently update the subscription and receive the latest configuration changes.
Actual behavior
The subscription is imported successfully, but updates are inconsistent. Sometimes the update succeeds, while other times it fails with a timeout error. When the timeout occurs, the client does not receive the latest subscription data.
Screenshots
No response
3x-ui version
3.2.8
Xray-core version
26.6.1
How did you install 3x-ui?
install.sh script
Operating system
Ubuntu 26.04
Which parts of the panel are affected?
Subscription management
Browser (only if it is a UI bug)
No response
Is the panel behind a reverse proxy or CDN?
None
Before submitting
@github-actions[bot] commented on GitHub (Jun 6, 2026):
Thanks for the detailed report. Here is what to check first.
How the subscription server works
3x-ui runs a separate HTTP server for subscriptions, independently of the main panel. By default it listens on port 2096 (configurable at Panel Settings → Subscription → Listen Port). The subscription URL your clients use therefore points to
http(s)://SERVER:2096/sub/SUBID.Most likely causes of intermittent timeouts
1. Port 2096 not open in the firewall (most common)
On Ubuntu 24.04 with UFW enabled, port 2096 is often not allowed by default. A blocked port explains why updates are intermittent — some mobile carriers or networks may let the SYN packet through occasionally while others silently drop it.
Check and fix:
2. Verify the subscription URL is reachable at all
From a machine on a different network (not the server itself), try:
If that reliably returns a base64 string you are good. If it times out, the problem is network/firewall level and not inside 3x-ui.
3. Check 3x-ui logs for errors on update requests
Look for lines that appear when an Android client tries to refresh. A 404 means the sub ID is wrong; a 500 means a server-side error; no log line at all during the client refresh means the packet never reached the server.
Additional info needed to dig further
Could you share:
sudo ufw statusandsudo ss -tlnp | grep 2096:2096)? (You can redact the sub ID and replace the IP withX.X.X.X)x-ui→ option to show settings, or a screenshot of Panel Settings → Subscription (sub port, sub domain, TLS cert fields — redact real domain/IP)If port 2096 is open and reachable but timeouts still happen intermittently, please also attach the relevant portion of
journalctl -u x-uicovering a failed update attempt.@Ebabil26 commented on GitHub (Jun 6, 2026):
$ sudo ufw status
Status: inactive
$ sudo ss -tlnp | grep 2096
LISTEN 0 4096 *:2096 : users:(("x-ui",pid=80867,fd=8))
2. subscription URL format https://x.x.x.x:2096/sub-vpn/🇩🇪Vless_xxxx_xxxx
3. timeouts happen with Happ, v2raytun, incy only ANDROID
@LORD07Sson commented on GitHub (Jun 7, 2026):
Вы явно не умеете понять базовые вещи, причина в том, что чувствительны к кодировке ссылок. Эмодзи и кириллица в пути URL могут некорректно обрабатываться парсером приложения, из-за чего клиент отправляет некорректный запрос на сервер и отваливается по тайм-ауту. Вы ознакомились с документацией API?
@Ebabil26 commented on GitHub (Jun 7, 2026):
Со всей документацией ознакомлен. Такая ссылка используется с версии 2.9.2 на всех тех же клиентах(Happ, v2RayTun, incy, Streisand). После перехода на версию 3.x.x всё также работало до какого-то момента. Проблемы начались именно на Android. Все остальные платформы работают: ios, macos, windows. Проводились тесты и без эмодзи, ситуация такая же. Так что дело явно не в кодировке ссылок и эмодзи.
@MHSanaei commented on GitHub (Jun 11, 2026):
The subscription server is responding correctly: updates work on iOS, macOS and Windows, the failures are intermittent and only reproduce in Android client apps (v2raytun, Happ, etc.), and no server-side errors appear in the logs. This points to client-app or network behavior on Android (connection handling, DNS caching, carrier filtering) rather than a 3x-ui bug. Please report it to the affected client app''s issue tracker. Closing as not a panel issue — feel free to reopen if you can show a failing request reaching the sub server with an incorrect response.