mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #5312] [Bug]: happ error The subscription server returned a 404 nout found #3723
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#3723
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 @Flix790 on GitHub (Jun 14, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5312
Describe the bug
When importing a subscription, the error message Subscription server returned error 404 nout found
How to reproduce the problem
Expected behavior
No response
Actual behavior
No response
Relevant logs
Screenshots
3x-ui version
3.3.1
Xray-core version
No response
How did you install 3x-ui?
install.sh script
Operating system
Ubuntu 23
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
@github-actions[bot] commented on GitHub (Jun 14, 2026):
A 404 from the 3x-ui subscription server is not a code error; it is the server's explicit response for "no matching enabled client." The relevant logic is in
internal/sub/controller.go(writeSubError) andinternal/sub/service.go(getInboundsBySubId). It is returned when the subscription ID in the URL does not match any enabled inbound in the database.Before this can be diagnosed further, several things need to be clarified:
Is
kinesy.funyour own server running 3x-ui? If this is a subscription URL from a third-party provider, the issue is on their server, not in the 3x-ui software you installed.Was the subscription URL copied directly from the panel's client info dialog? If you constructed it manually, verify the subscription ID matches the
sub_idfield stored for the client in the panel.What is configured under Panel Settings → Subscription → "Subscription Path"? The default is
/sub/. The URL you provided uses the path/DRWZtiDlLJ/, which only works if that path was set in subscription settings and the sub server is reachable on port 443 (default sub port is2096).What protocol does the inbound use? The subscription server only generates links for these protocols: VMess, VLESS, Trojan, Shadowsocks, and Hysteria2. Inbounds using WireGuard, HTTP, SOCKS, Dokodemo-door, or MTProto are excluded by design and will produce a 404 if a client's
sub_idbelongs only to those inbound types.Is the inbound enabled? A disabled inbound (toggled off in the panel) is also excluded from the subscription query.
If you are the admin of the server at
kinesy.fun, check the above points in order. If the subscription URL was generated by the panel (not hand-crafted), confirm that the inbound and client are both enabled and use a supported protocol. You can verify whether the subscription server is running and on which port viax-uion the server (option 1 shows server status including sub server port).This reply was generated automatically; a maintainer may follow up.
@9en9i commented on GitHub (Jun 27, 2026):
I encountered the same thing
verifyPeerCertInNamestoverifyPeerCertByName#5513