Attempting to find a work-around, I changed my code from:
file = urllib.urlopen(url, params)
to:
file = urllib2.urlopen(url, params)
And that fixed it. In other words, starting today, urllib doesn't support
fetching https domains anymore, which is likely a bug.
Waleed
On Tue, Mar 29, 2011 at 1:14 AM, Waleed Abdulla <[email protected]> wrote:
> I'm noticing these errors in my logs when trying to connect to the Facebook
> APIs at http*s*://graph.facebook.com/ . It seems to have started just
> recently. Anyone else getting this?
>
>
>
> File
> "/base/data/home/apps/networkedblogs/7.349332839833783691/lib/facebook.py",
> line 233, in request
> file = urllib.urlopen(url, params)
> File "/base/python_runtime/python_dist/lib/python2.5/urllib.py", line 84,
> in urlopen
> return opener.open(url, data)
> File "/base/python_runtime/python_dist/lib/python2.5/urllib.py", line 187,
> in open
> return self.open_unknown(fullurl, data)
> File "/base/python_runtime/python_dist/lib/python2.5/urllib.py", line 199,
> in open_unknown
> raise IOError, ('url error', 'unknown url type', type)
> IOError: [Errno url error] unknown url type: 'https'
>
>
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.