mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4801] [Bug]: XRAY: Failed to start: main: failed to load config files: [bin/config.json] > infra/conf: failed to build inbound config with tag inbound-443 > infra/conf: REALITY only supports RAW, XHTTP and gRPC for now. #3335
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#3335
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 @zabavnov on GitHub (Jun 2, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4801
Describe the bug
Panel state: Running
Start automatically: Yes
xray state: Not Running
Please enter your selection [0-27]: 15
● x-ui.service - x-ui Service
Loaded: loaded (/etc/systemd/system/x-ui.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2026-06-02 11:31:44 MSK; 10min ago
Main PID: 325149 (x-ui)
Tasks: 9 (limit: 1008)
Memory: 44.3M
CPU: 34.181s
CGroup: /system.slice/x-ui.service
└─325149 /usr/local/x-ui/x-ui
/usr/local/x-ui/x-ui[325149]: ERROR - XRAY: Failed to start: main: failed to load config files: [bin/config.json] > infra/conf: failed to build inbound config with tag inbound-443 > infra/conf: REALITY only supports RAW, XHTTP and gRPC for now.
How to reproduce the problem
I did update via ui and I can't use panel or xray anymore. I tried to edit /usr/local/x-ui/bin/config.json, but looks like it rewrites every restart. How can I fix this error?
Expected behavior
No response
Actual behavior
No response
Relevant logs
Screenshots
No response
3x-ui version
3.2.6
Xray-core version
No response
How did you install 3x-ui?
install.sh script
Operating system
Ubuntu 22.04.5 LTS
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 2, 2026):
Hi @zabavnov, thanks for the detailed report!
The error message means that one of your inbounds (tagged
inbound-443) uses REALITY security with a network type that is no longer allowed. A recent Xray-core update enforces that REALITY can only be used with RAW (TCP), XHTTP, or gRPC — other network types (e.g. WebSocket, HTTP/2, etc.) are now rejected at startup.How to fix:
Since the 3x-ui panel itself is still running (
Panel state: Running), you can fix this directly from the web UI without touching config files:inbound-443).The config file is indeed regenerated from the database on every restart, so editing
bin/config.jsondirectly won't persist — the panel UI is the right place to fix this.If you are unable to access the panel UI (e.g. you're connecting through the same broken inbound), try accessing it on its own port directly (the default is
2053unless you changed it).@MiTereKun commented on GitHub (Jun 2, 2026):
But if you choose TLS, then when someone visits the domain directly in a browser on port 443, the website won’t be displayed — and that makes it more obvious to censors that it’s a tunnel
@mitrios-hub commented on GitHub (Jun 2, 2026):
@zabavnov just try to edit inbound and then save it. or try to turn it off and then on.