Can't upload to

Skip to first unread message

anatoly techtonik

Oct 15, 2015, 1:24:40 AM10/15/15
to codereview-discuss
I am getting "certificate verify failed" with script.

    urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>

Python urllib2 can not connect to but
works ok. I asked the question on StackOverflow, but perhaps people here already see that

Andi Albrecht

Oct 15, 2015, 4:04:20 AM10/15/15
to anatoly techtonik, codereview-discuss
Hi Anatoly,

no issues here:

$ python
Python 2.7.10 (default, Sep  8 2015, 17:20:17) 
[GCC 5.1.1 20150618 (Red Hat 5.1.1-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib2
>>> resp = urllib2.urlopen("")
>>> print(resp.code)

Best regards, 


You received this message because you are subscribed to the Google Groups "codereview-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit

anatoly techtonik

Oct 15, 2015, 10:57:56 AM10/15/15
to Andi Albrecht, codereview-discuss
No issues, because on Linux you already using the latest version of OpenSSL.
For Windows, however, the _ssl.pyd is outdated and I expect many users to
experience the same issue. Unless.. somebody finds a way to convince
Python folks to wrap new release for Windows.

anatoly t.
Reply all
Reply to author
0 new messages