I am doing a large http request loop to our database service. Everything works fine, but every time I run it, after a (seemingly random) number of successful requests, I get the following error: urllib2.URLError: <urlopen error [Errno 1] _ssl.c:504: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure> .
I use python, urllib2 to send a request, urllib to encode some things in my url and what it is. As I said, this looks completely random. I just ran it and it failed after 6 requests. Previously, it crashed after 49 successful attempts. Has anyone had this problem before?
thanks
python urllib2
Alex Chumbley
source share