UrlFetch DeadlineExceededError

41 views
Skip to first unread message

Michael Tom

unread,
Jul 20, 2015, 11:30:19 AM7/20/15
to google-a...@googlegroups.com

Hey guys,
I'm trying to send a bunch of data through post requests using appengine rpc, however I keep getting DeadlineExceededError's after 5-7 seconds. The calls are launched within a deferred task, and then entire deferred task ends up taking upwards of a minute. I'm sending requests from multiple threads within the task.
I'm using this Send method, and passing a timeout of 60 seconds, but something isn't listening to this:
https://codesearch.corp.google.com/p#piper///depot/google3/apphosting/tools/appengine_rpc.py&rcl=98602889&l=337 

And getting this in the logs: 
API call urlfetch.Fetch() took too long to respond and was cancelled.

Any help appreciated!
Cheers,
Michael Tom

Nick (Cloud Platform Support)

unread,
Jul 20, 2015, 5:06:53 PM7/20/15
to google-a...@googlegroups.com, micha...@google.com
Hi Michael,

Google Groups isn't the place to post specific technical issues, as this forum is meant more for general discussion of the platform and services. 

If you would like help with a technical issue, you should post to stackoverflow [1] or serverfault [2]. 

If you believe you've identified and can reproduce an issue with the platform itself (behaviour is different from documentation or error occurs during normal use), then you should proceed to open a public issue tracker [3] issue with enough detail to reproduce the issue on our side, or if possible, an attached app that can be used to directly observe the behaviour. 

I suggest you post this question to stackoverflow since it doesn't appear to have been narrowed-down enough to be a public issue tracker issue.

Your issue report contains not enough information to determine what is happening, even in the event that you did post it to one of those other locations, so I suggest adding more detail before doing so. Examples of the information you might want to add:

* The code you use to make the request
* The configuration on the machine (App Engine app?) which receives the request

Finally, it seems as though you've posted a URL ordinary users can't visit. Perhaps consider posting only publicly-visible links.

If you would like to open a thread in this forum discussing the platform or services in more broad terms, starting a discussion that would be useful for other users to join in to, feel free to do so.

Have a great day!

Reply all
Reply to author
Forward
0 new messages