Re: [google-appengine] urlfetch.fetch() does not respect deadline/timeout param

2014-03-09 Thread Vinny P
On Fri, Mar 7, 2014 at 3:10 AM, Haisheng HU hanson2...@gmail.com wrote: What I've tried out includes: 2) urlfetch.set_default_fetch_deadline(60) None of these worked. I always get a timeout exception after 10 seconds. Your #2 option (set_default_fetch_deadline) should work. Where in the

Re: [google-appengine] Re: SSL support

2014-03-09 Thread Doug Anderson
+1 I've always said SSL on GAE should be free... Google should encourage secure connections. App Engine has us surrounded with enough other toll booths that charging for SSL seems completely unnecessary. It sets the baseline cost artificially high for apps that want to use a custom domain

[google-appengine] Re: urlfetch.fetch() does not respect deadline/timeout param

2014-03-09 Thread Haisheng HU
Thanks Vinny, my fault. Sometimes the server just responded HTTP 500 after exactly 10 seconds. I was misled by this. On Friday, March 7, 2014 5:10:09 PM UTC+8, Haisheng HU wrote: What I've tried out includes: 1) req = urllib2.Request(url, data) try: f = urllib2.urlopen(req,