v13: generated xray.json routing references outTag 'WARP' but no WARP outbound is generated — trojan-family inbounds dead

Author: EricPrometheusCreated Sep 27, 2026Updated Sep 27, 2026

Environment

  • Hiddify-Manager 13.0.3 (auto-upgraded overnight), Ubuntu 22.04, WARP enabled (kernel wg-quick@warp + hiddify-core bind_interface outbound)

Symptom

After a config re-apply, all trojan-family nodes fail (ws trojan, grpc trojan, rawhttp trojan). xray logs:

[Warning] app/dispatcher: non existing outTag: WARP

The generated xray.json contains a catch-most routing rule {"port":"0-65535","outboundTag":"WARP"} (from proxy_templates/xray/server/base/route.j2), but the outbounds list only contains freedom / blackhole / DNS-Internal — no WARP outbound template exists for xray (only hiddify-core has one in its outbounds.j2).

Before the re-apply, xray still had a WARP outbound (access log showed [ws trojan -> WARP]), so this looks like a regression in the v13 xray config generation.

Workaround

Manually append the classic socks-chained WARP outbound to generated/xray.json and restart hiddify-xray:

json
{"tag":"WARP","protocol":"socks","settings":{"servers":[{"address":"127.0.0.1","port":2000}]}}

(127.0.0.1:2000 = hiddify-core anonymous socks-in, which exits via its WARP outbound.) After this, all nodes return to normal (verified: ws trojan 62ms, grpc trojan 169ms).

Suggested fix

Either emit the xray WARP outbound (socks → 127.0.0.1:2000) whenever the routing templates reference WARP, or don't reference the tag when warp is served by hiddify-core.

Thanks!