Re: [google-appengine] getting DeadlineExceededError posting facebook from GAE

9 views
Skip to first unread message
Message has been deleted

admin go2

unread,
Nov 16, 2008, 7:41:03 AM11/16/08
to google-a...@googlegroups.com
There is not any bug in your code.
Maybe the temporary network problem cause the urlfetch function works incorrectly.
 
=========================
2008/11/16 MattG <mjg...@gmail.com>

any idea what I'm doing wrong?  GAE log said this operation too >18k
msecs.  here's there error:

DeadlineExceededError at /mybagapp/post_bag_item
Request Method:         POST
Request URL:    http://mybagdev.appspot.com/mybagapp/post_bag_item
Exception Type:         DeadlineExceededError
Exception Value:
Exception Location:     /base/python_lib/versions/1/google/appengine/
runtime/apiproxy.py in Wait, line 161

Traceback (most recent call last):
File "/base/python_lib/versions/1/django/core/handlers/base.py" in
get_response
 77. response = callback(request, *callback_args, **callback_kwargs)
File "/base/data/home/apps/mybagdev/1.329321030374107277/mybag/
views.py" in post_bag_item
 193. curr_user_obj.publish_user_action(request.POST,
bag_item.item_name)
File "/base/data/home/apps/mybagdev/1.329321030374107277/mybag/
user.py" in publish_user_action
 107. call_id = True )
File "/base/data/home/apps/mybagdev/1.329321030374107277/mybag/
gminifb.py" in call
 170. response = urlfetch.fetch(_fbUrl, payload=args,
method=urlfetch.POST, headers = {'Content_type': 'application/
x_www_form_urlencoded'})
File "/base/python_lib/versions/1/google/appengine/api/urlfetch.py" in
fetch
 257. apiproxy_stub_map.MakeSyncCall('urlfetch', 'Fetch', request,
response)
File "/base/python_lib/versions/1/google/appengine/api/
apiproxy_stub_map.py" in MakeSyncCall
 46. stub.MakeSyncCall(service, call, request, response)
File "/base/python_lib/versions/1/google/appengine/runtime/
apiproxy.py" in MakeSyncCall
 245. rpc.Wait()
File "/base/python_lib/versions/1/google/appengine/runtime/
apiproxy.py" in Wait
 161. rpc_completed = _apphosting_runtime___python__apiproxy.Wait
(self)

 DeadlineExceededError at /mybagapp/post_bag_item



MattG

unread,
Nov 17, 2008, 12:20:12 AM11/17/08
to Google App Engine
happens every time.

On Nov 16, 7:41 am, "admin go2" <go2apps...@gmail.com> wrote:
> There is not any bug in your code.
> Maybe the temporary network problem cause the urlfetch function works
> incorrectly.
>
> =========================http://go2.appspot.com

admin go2

unread,
Nov 17, 2008, 7:43:00 AM11/17/08
to google-a...@googlegroups.com
Or maybe the server response is too slow to finish in 10 seconds
 
=============================
 

 
2008/11/17 MattG <mjg...@gmail.com>

MattG

unread,
Nov 17, 2008, 1:56:01 PM11/17/08
to Google App Engine
seems unlikely that posting a newsfeed to facebook would take more
that 10 seconds.

thx for your help.

On Nov 17, 7:43 am, "admin go2" <go2apps...@gmail.com> wrote:
> Or maybe the server response is too slow to finish in 10 seconds
>
> =============================http://go2.appspot.com

MattG

unread,
Nov 17, 2008, 7:28:37 PM11/17/08
to Google App Engine
found the problem -- nothing to do with timeouts. was just a problem
with how I was passing args to facebook.
Reply all
Reply to author
Forward
0 new messages