By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,199 Members | 1,064 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,199 IT Pros & Developers. It's quick & easy.

urllib2.urlopen gives error 10060

P: n/a
Hello, everyone,

I am quite new to python and I don't know how to solve this problem. I
hope someone can help me.

I just did a test in python shell:
>>import urllib2
urllib2.urlopen("http://python.org")
Traceback (most recent call last):
File "c:\Zope\<string>", line 1, in ?
File "C:\Zope\2.10.5\Python\Lib\urllib2.py", line 130, in urlopen
return _opener.open(url, data)
File "C:\Zope\2.10.5\Python\Lib\urllib2.py", line 358, in open
response = self._open(req, data)
File "C:\Zope\2.10.5\Python\Lib\urllib2.py", line 376, in _open
'_open', req)
File "C:\Zope\2.10.5\Python\Lib\urllib2.py", line 337, in _call_chain
result = func(*args)
File "C:\Zope\2.10.5\Python\Lib\urllib2.py", line 1021, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Zope\2.10.5\Python\Lib\urllib2.py", line 996, in do_open
raise URLError(err)
URLError: <urlopen error (10060, 'Operation timed out')>

I am using Windows XP and the python was installed along with a zope
installation. I can get on internet with Firefox browser without any
proxy setting.

I can do the test successfully on another computer on the same home
network. I just don't know what happens to this one. Can anyone help me
to troubleshoot this? Any suggestion would be really appreciated.

Jin

Mar 26 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.