mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4347] Clash/Mihomo subscription returns Error! when all subscribed inbounds use VLESS + XHTTP #2960
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#2960
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 @GMagisk9527 on GitHub (May 13, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4347
Describe the bug
When all subscribed inbounds for a Sub ID use VLESS + XHTTP, the Clash/Mihomo subscription endpoint returns
Error!.The normal subscription link may still work, but the Clash/Mihomo subscription does not generate any YAML proxies.
I checked
sub/subClashService.goand it looks likebuildProxy()callsapplyTransport(). CurrentlyapplyTransport()handlestcp,ws, andgrpc, but there is nocase "xhttp". Therefore XHTTP proxies are skipped and, when all matched proxies are XHTTP,GetClash()returns an empty config. ThensubController.goreturnsError!.Related issue: #4071
This issue may be related to #4071, but this report is specifically about the current v3.0.1 behavior where Clash/Mihomo subscription returns
Error!when all matched proxies use XHTTP, becauseapplyTransport()does not handlexhttp.How to repeat the problem?
Inboundspage./clash/<subId>in browser or with curl.Error!.Example test:
If I add a non-XHTTP inbound such as VLESS + WS with the same Sub ID, the Clash subscription can generate YAML for that non-XHTTP proxy. But when all matched inbounds are XHTTP, it returns Error!.
Expected action
No response
Received action
No response
3x-ui Version
3.0.1
Xray-core Version
No response
Checklist