mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #3924] 3x-ui generates invalid VLESS fallback when using XHTTP (dest empty) causing Xray to fail to start #2655
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#2655
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 @Venprool on GitHub (Mar 15, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3924
Describe the bug
Description
When creating a VLESS inbound using XHTTP transport in 3x-ui, the generated Xray configuration contains an invalid fallback entry with an empty
dest.This causes Xray to fail to start with the error:
This appears to happen specifically when using:
Even though no fallback was configured in the UI.
Additional notes
Attempted to manually remove the
fallbackssection fromconfig.json. This does not resolve the issue because 3x-ui automatically regenerates the configuration and immediately reintroduces the invalid fallback entry.Environment
How to repeat the problem?
Steps to reproduce
Expected action
Expected behavior
If no fallback is configured in the UI, the generated config should either:
fallbacksfield entirelyor
Received action
Error log
Example error from Xray:
Generated config snippet
The generated inbound contains this block:
Since
destis empty, Xray rejects the configuration.3x-ui Version
2.8.11
Xray-core Version
26.2.6
Checklist
@radchenk0 commented on GitHub (Apr 11, 2026):
Did you find any workaround?
@Venprool commented on GitHub (Apr 11, 2026):
Unfortunately no, I'm waiting for a fix.
@radchenk0 commented on GitHub (Apr 11, 2026):
As far as I can see in my case, fallbacks section disappears from the ui (defo there is a conditional rendering) when I change transport from tcp to xhttp, not sure what I can do. Probably we need to patch inbound config manually via the console
@d3l1f3r commented on GitHub (Apr 13, 2026):
edit inbound in /etc/x-ui/x-ui.db with sqlite3. This is temporary solve.
@exxojay commented on GitHub (May 14, 2026):
Please am a noob, How can i change port 2096 to another port on the x-ui.db ? I have sqlite3 installed already.
thank you
@inok94 commented on GitHub (Jun 6, 2026):
I updated x-ui to 3.2.8 and went to edit Inbound "Modify Inbound" -> Advanced. Scrolled down and set "dest": "80",
like that
"fallbacks": [
{
"alpn": "",
"dest": "80",
"name": "",
"path": "",
"xver": 0
}
] or you can remove this block