Task Queue - Transient Errors

415 views
Skip to first unread message

Santiago

unread,
Apr 18, 2013, 10:21:41 AM4/18/13
to google-a...@googlegroups.com
Hi everyone, In the last days I've been seeing on my application a lot of Transient Errors when I try to use task queues. is this happening to anyone else? do you know what actually happen when this error is raised? all i get from GAE documentation is "There was a transient error while accessing the queue. Please try again later"  but I'm not very confortable about having my logs flooded with this! thanks!

David Hardwick

unread,
Apr 18, 2013, 10:32:10 PM4/18/13
to google-a...@googlegroups.com
Hello,

Yes, we have been getting these too....today was particularly bad because of the issues with the task queues - https://code.google.com/status/appengine/detail/taskqueue/2013/04/18#ae-trust-detail-taskqueue-add-latency

We believe the attempt to grab the task from queue is failing temporarily, and it wants you to try again in a another second or so.

Vinny P

unread,
Apr 19, 2013, 2:01:03 PM4/19/13
to google-a...@googlegroups.com
Hello Santiago,

Transient errors happen sometimes, there's not a whole lot you can do to prevent or reduce them. 

One mitigating strategy is to attempt to add a task; if you get an error, sleep for 500ms - 1sec and try again. Here's some more discussion on the topic: http://grokbase.com/t/gg/google-appengine/12ck1skbqy/transient-error-when-attempting-to-add-task-to-queue-fails-on-retry


-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

@GOV on AppDotNet: https://alpha.app.net/gov

Santiago

unread,
Apr 24, 2013, 10:51:17 AM4/24/13
to google-a...@googlegroups.com
Thanks Vinny, It's not happening anymore but to mitigate that next time it happens I will try with your strategy,
Reply all
Reply to author
Forward
0 new messages