views:

85

answers:

1

Hi folks,

I'm using mechanize to navigate pages, it works pretty well.

Unfortunately I have a random error come up, by random I mean it occasionally appears.

URLError at /test/

urlopen error [Errno 1] _ssl.c:1325: error:140943FC:SSL routines:SSL3_READ_BYTES:sslv3 alert bad record mac>


I really need help on this one :)


any ideas?

+1  A: 

I had a similar error and found that PycURL works way better than urllib.

http://stackoverflow.com/questions/3134666/django-request-xml-file-with-ssl-io-error

ChrisJF
@ChrisJF: same here! Problem was that pycurl is not thread-safe :(
RadiantHex