SSLError: sslv3 alert handshake failure

前端 未结 1 675
遇见更好的自我
遇见更好的自我 2020-12-03 01:08

I\'m making the following call to branch.io

import requests
req = requests.get(\'https://bnc.lt/m/H3XKyKB3Tq\', verify=False)

It works fine

相关标签:
1条回答
  • 2020-12-03 01:44

    Jyo de Lys has identified the problem. The problem is described here and the solution is here. I did the following to get this working:

    1. easy_install pyOpenSSL
    2. easy_install ndg-httpsclient
    3. easy_install pyasn1

    If you're getting this error while using urllib2, you'll need to upgrade to python 2.7.9 or later too.

    0 讨论(0)
提交回复
热议问题