mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4602] [Bug]: Xray-core crashes (exit status 23) when Hysteria inbound is enabled instead of throwing a validation error #3161
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#3161
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 @mardrake on GitHub (May 27, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4602
Describe the bug
When using
Xray-coreas the panel's core, users can accidentally or intentionally create and enable aHysteriainbound. Since the original Xray-core does not support Hysteria, it causes a critical crash withexit status 23on startup.Because Xray crashes in a loop, it completely locks down the panel web interface, forcing users to manually fix the database via CLI (
sqlite3).How to reproduce the problem
Xray-core.Hysteriaprotocol.Expected behavior
The panel should prevent users from enabling or saving a Hysteria/TUIC inbound if the active core is set to
Xray-core. A validation error message should pop up in the UI (e.g., "Hysteria requires Sing-box core").Actual behavior
The panel allows saving the inbound, generates an invalid
config.jsonfor Xray, and crashes the core with:ERROR - XRAY: Failed to start: main: failed to load config files... > infra/conf: failed to build inbound configRelevant logs
Screenshots
No response
3x-ui version
3.1.0
Xray-core version
26.5.9
How did you install 3x-ui?
install.sh script
Operating system
Ubuntu 24.04.4
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
@GamesIS commented on GitHub (May 29, 2026):
@MHSanaei commented on GitHub (May 29, 2026):
What are you talking about of course xray support hysteria
https://xtls.github.io/en/config/inbounds/hysteria.html
@SweatierUnicorn commented on GitHub (Jun 23, 2026):
I have same issue