Python 3.4 SSL error urlopen error EOF occurred in violation of protocol (_ssl.c:600)

前端 未结 2 931
傲寒
傲寒 2020-12-21 00:50

I use Arch Linux, python 3.4, openSSL 1.0.2d. When I make request to https://www.supercash.cz/ I get this error. It doesn\'t matter if I use requests or build in urllib ther

2条回答
  •  情书的邮戳
    2020-12-21 01:01

    One potential solution is described here

    https://github.com/kennethreitz/requests/issues/3006#issuecomment-274058323

    Using python3 and installing the combo (pyopenssl ndg-httpsclient pyasn1 urllib3) did the trick.

    pip install pyopenssl ndg-httpsclient pyasn1 urllib3
    

提交回复
热议问题