Strange urlopen error

2016-04-12 Thread Mike Driscoll
Hi, I have recently run into an issue at work where we are having intermittent problems with an internal website not loading due to an interrupted system call. We are using urllib2 to access the website. I can't share the exact code, but here is basically how we do it: payload = {'userName': u

Re: urllib2.urlopen error "socket.error: [Errno 104] Connection reset by peer"

2015-05-12 Thread dieter
"Jia CHEN" writes: > I have the error below when trying to download the html content of a webpage. > I can open this webpage in a browser without any problem. "Connection reset by peer" means that the other side (the HTTP server in your case) has closed the connection. It may have looked at th

urllib2.urlopen error "socket.error: [Errno 104] Connection reset by peer"

2015-05-04 Thread Jia CHEN
Hi There, I have the error below when trying to download the html content of a webpage. I can open this webpage in a browser without any problem. I am using Ubuntu 14.04. Could you give me come clues about what is happening and how to solve the issue? Thanks. $python Python 2.7.6 (default

Re: urlopen() error

2006-09-15 Thread John Machin
Paul McNett wrote: > Tempo wrote: > > Hello. I am getting an error and it has gotten me stuck. I think the > > best thing I can do is post my code and the error message and thank > > everybody in advanced for any help that you give this issue. Thank you. > > > > # > > Here's the code:

Re: urlopen() error

2006-09-08 Thread Paul McNett
Tempo wrote: > Hello. I am getting an error and it has gotten me stuck. I think the > best thing I can do is post my code and the error message and thank > everybody in advanced for any help that you give this issue. Thank you. > > # > Here's the code: > # > > import urlli

Re: urlopen() error

2006-09-08 Thread Rafal Zawadzki
Tempo wrote: > Hello. I am getting an error and it has gotten me stuck. I think the > best thing I can do is post my code and the error message and thank > everybody in advanced for any help that you give this issue. Thank you. > > # > Here's the code: > # > > import urll

urlopen() error

2006-09-08 Thread Tempo
Hello. I am getting an error and it has gotten me stuck. I think the best thing I can do is post my code and the error message and thank everybody in advanced for any help that you give this issue. Thank you. # Here's the code: # import urllib2 import re import xlrd from B