When executing this through a plugin or the console:
- Code: Select all
import urllib2
f = urllib2.urlopen("https://www.google.com/")
I immediately get a timeout error: "urllib2.URLError: <urlopen error The read operation timed out>"
I've tried changing the default timeout but it doesn't help.
Any ideas?
Note: the same code works when I execute it through my local Python 2.5.4 shell