There shouldn't be a difference between urllib and urllib2 in this case. And
it used to work with urllib up to yesterday, so it's likely a bug.

I didn't file a bug report, looked at the issue tracker and there are
hundreds of open issues. Not sure if anyone looks at it.

Waleed




On Tue, Mar 29, 2011 at 2:40 AM, lnetanel <[email protected]> wrote:

> I'm also having the same issue, the urllib2 solved it for me as well.
> Is there any difference between urllib and urllib2?
>
> did someone filed a bug on this issue?
>
> On Mar 29, 10:46 am, Waleed Abdulla <[email protected]> wrote:
> > 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.
>
>

-- 
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.

Reply via email to