Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

电脑连接正常,手机连接报502错误 #239

Closed
PanXXHH opened this issue Jun 9, 2023 · 2 comments
Closed

电脑连接正常,手机连接报502错误 #239

PanXXHH opened this issue Jun 9, 2023 · 2 comments

Comments

@PanXXHH
Copy link

PanXXHH commented Jun 9, 2023

请问这是什么原因,电脑通过订阅能连上,手机提供订阅就连不上
06-09 13:11:18.178 I/GoLog (20535): [Warning] [3669675772] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: failed to find an available destination > common/retry: [transport/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to dial to (ws://xxx.xxxxxx.com:8118/ws/tcgspgo:xxxxxxxxxx874e06f47a65df25ca7a1f/): 502 Bad Gateway > websocket: bad handshake] > common/retry: all retry attempts failed

@PanXXHH
Copy link
Author

PanXXHH commented Jun 9, 2023

net4people/bbs#139 貌似和这个有关,我现在是vmess+ws,但是我还没有搭tls,麻烦博主解答一下,谢谢您

@PanXXHH
Copy link
Author

PanXXHH commented Jun 10, 2023

问题解决了!是因为我没加tls的原因,建议遇到手机连不上问题的同学,先给服务器配置SSL,不然的话明文传输手机端就会被拦截(个人猜测),vmess+ws+tls一套流程才可以保证各个平台支持

@PanXXHH PanXXHH closed this as completed Jun 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant