Repository navigation
新版mihomo使用xhttp(自定义path)时节点无法连通,报错403 Forbidden/404 Not Found的解决办法 #3392
Closed
DanAlex121
started this conversation in
Ideas
Replies: 1 comment
|
Xray新版改版取消了path的强制补全斜杠,mihomo也同时跟进了。是我服务端Xray版本老旧但是客户端mihomo版本较新导致的不匹配产生的问题 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
XHTTP传输层配置部分:
Xray服务端
"path": "/mihomo/xhttp",mihomo客户端
path: "/mihomo/xhttp"上述配置在mihomo老版本内核(v1.19.26)能正常跑通;
但是在最新版本内核(v1.19.33)无法连通,Logs报错:
connect error: xhttp packet-up bad status: 404 Not Found或
connect error: xhttp stream-one bad status: 403 Forbidden此时只需要在mihomo客户端的path最后添加一个斜杠
"/",改为path: "/mihomo/xhttp/",即可正常跑通PS:没测试过path为一级目录比如
path: "/xhttp"时是否也会有同样的情况All reactions