我正在尝试从我的站点下载一个HTTPS页面,该站点托管在Google App Engine上,带有SNI。 无论使用哪个库,都会出现以下错误:
[Errno 8] _ssl.c:504: EOF occurred in violation of protocol
我尝试了很多方法来解决这个错误,包括使用urllib3 openssl monkeypatch:
from urllib3.contrib import pyopenssl
pyopenssl.inject_into_urllib3
但我总是会遇到上面提到的同样的错误。
有什么想法吗?
目前没有回答
相关问题 更多 >
编程相关推荐