Python script web service timeout
Posted
by Robert
on Stack Overflow
See other posts from Stack Overflow
or by Robert
Published on 2010-03-18T22:47:32Z
Indexed on
2010/03/18
22:51 UTC
Read the original article
Hit count: 158
python
We have had a Python script running for many months now that simply scans through a directory of files, and posts each file to our web site via a web service call. The web site is also written in Python.
For no apparent reason, this morning this script started throwing the following error:
urllib2.URLError: <urlopen error (10060, 'Operation timed out')>
The site itself is up and running just fine. There are no indications of any errors. The developer that was working on this site is no longer with us, and we do not have a strong Python developer on staff as we are moving away from that.
Before I do an all nighter and rewrite this thing in C#, I wanted to see if anyone had any experience dealing with this issue. I do know that the script is connecting to a secure site (HTTPS), so I am not sure if something has come up with that, and I honestly dont know where to look to determine that. As I said before, the site itself isn't showing any signs of error, including SSL.
Any thoughts?
© Stack Overflow or respective owner