Describe the bug
When using Xray-core as the panel's core, users can accidentally or intentionally create and enable a Hysteria inbound. Since the original Xray-core does not support Hysteria, it causes a critical crash with exit status 23 on 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
- Set the panel core to
Xray-core.
- Create a new inbound with the
Hysteria protocol.
- Enable it and save.
- Xray crashes with status 23, and the web UI becomes completely inaccessible.
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.json for Xray, and crashes the core with:
ERROR - XRAY: Failed to start: main: failed to load config files... > infra/conf: failed to build inbound config
Relevant 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
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