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

与上游握手失败 #9

Closed
ghost opened this issue Mar 8, 2019 · 2 comments
Closed

与上游握手失败 #9

ghost opened this issue Mar 8, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Mar 8, 2019

您好,我想将学校提供的https代理转变为socks5代理,结果抛出了下面异常:
2019/03/08 10:28:25.489871 Listening on 127.0.0.1:2333
2019/03/08 10:28:34.606348 h2s: serve: handshake upstream: unexpected EOF
2019/03/08 10:28:34.632784 h2s: serve: handshake upstream: unexpected EOF
2019/03/08 10:28:34.635032 h2s: serve: handshake upstream: unexpected EOF
2019/03/08 10:28:34.639377 h2s: serve: handshake upstream: unexpected EOF
2019/03/08 10:28:34.641627 h2s: serve: handshake upstream: unexpected EOF
2019/03/08 10:28:34.750934 h2s: serve: handshake upstream: unexpected EOF
2019/03/08 10:28:34.759173 h2s: serve: handshake upstream: unexpected EOF
2019/03/08 10:28:39.803129 h2s: serve: handshake upstream: unexpected EOF
2019/03/08 10:28:39.810537 h2s: serve: handshake upstream: unexpected EOF
2019/03/08 10:28:55.044235 h2s: serve: handshake upstream: unexpected EOF
2019/03/08 10:28:55.050157 h2s: serve: handshake upstream: unexpected EOF
配置文件为:
{
"bind": "127.0.0.1:2333",

"upstreams": [{
"address": "scholar-proxy.proxy.cn:3128",

"username": "username",                               
"password": "passwd"                               

}],

"timeout": "20s",
"retries": 3
}
我在wsl中使用H2S,然后在win下使用switchyomega 连接socks代理, switchyomega填入127.0.0.1:2333
请问该怎么解决呢?万分感谢!

@ghost
Copy link
Author

ghost commented Mar 8, 2019

在Ubuntu会serve: handshake upstream: read tcp 172.31.206.250:44386->10.8.8.6:3128: read: connection reset by peer

@Equim-chan
Copy link
Owner

上游可能有额外的防火墙设定?

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