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

EOF occurred in violation of protocol (_ssl.c:1056) #53

Open
leadscloud opened this issue May 10, 2019 · 1 comment
Open

EOF occurred in violation of protocol (_ssl.c:1056) #53

leadscloud opened this issue May 10, 2019 · 1 comment

Comments

@leadscloud
Copy link

leadscloud commented May 10, 2019

首先是同一个ssr 服务配置,客户端的代理 1080 是可以使用访问 search.yahoo.com 的,但如果我使用 shadowsocksr 的源码 本地端口改为1082,就会出现以下错误

urllib3.exceptions.MaxRetryError: SOCKSHTTPSConnectionPool(host='search.yahoo.com', port=443): Max retries exceeded with url:

(Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1056)')))

不知道什么原因,而且,1082只针对 search.yahoo.com 有这个问题,对于其它的网址是没问题的。

@leadscloud leadscloud changed the title EOF occurred in violation of protocol (_ssl.c:777) EOF occurred in violation of protocol (_ssl.c:1056) May 10, 2019
@leadscloud
Copy link
Author

似乎是 python Requests 的问题

curl --socks5-hostname 127.0.0.1:1082 https://search.yahoo.com/

这样测试是没有问题的

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