mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #5139] [CLOSED] fix(inbound): support fallbacks for raw transport #5791
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#5791
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?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/5139
Author: @rqzbeh
Created: 6/9/2026
Status: ❌ Closed
Base:
main← Head:fix/fallback-raw-transport📝 Commits (2)
9ee6a8dfix(inbound): support fallbacks for raw transport26e7329Merge branch 'main' into fix/fallback-raw-transport📊 Changes
2 files changed (+14 additions, -6 deletions)
View changed files
📝
frontend/src/pages/inbounds/form/InboundFormModal.tsx(+1 -1)📝
web/service/inbound.go(+13 -5)📄 Description
Summary
This PR fixes an issue where the Fallbacks card is not displayed in the frontend, and fallbacks are not generated in the backend, for VLESS/Trojan inbounds using the
rawtransport with TLS/Reality.Why
Xray-core's
rawtransport functions identically totcpat the protocol layer, and fully supports fallback routing. The panel's conditions for showing and injecting fallbacks currently explicitly checknetwork === 'tcp', which excludes users who configuredrawtransport and causes them to lose access to the fallbacks UI. This resolves Issue #5136.Closes #5136.
Type of change
Areas affected
How was this tested?
config.jsonvia backend) to confirm the fallbacks block was correctly injected into the inbound settings.Screenshots / recordings
N/A
Breaking changes
None
Checklist
go build ./...and the test suite pass locally.npm run lint,npm run typecheck, andnpm run buildpass.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.