Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 851687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T07:28:10+00:00 2026-05-15T07:28:10+00:00

On my local dev environment, when an App Engine task that had been added

  • 0

On my local dev environment, when an App Engine task that had been added to the the task queue hits an error, it is retried until successful. However, in the production environment, it’s not. What I THINK is happening is that, because I have a custom 500 handler in urls.py, all errors are caught by this and the 500 error never bubbles to the top.

Could this in fact be the reason that my tasks are not being retried? And if so, is there a way to prevent this? I only want errors to be caught by the handler500 view if the request is user-generated, not a backend task (for those, I want the error to bubble up and force a retry).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T07:28:10+00:00Added an answer on May 15, 2026 at 7:28 am

    The task is retried by the Task Queue if it returns a non-200 status code. If your “custom 500 handler” is returning a 200 status code, then the Task Queue has no way of knowing the task failed, so it doesn’t retry it. You need to modify your handler to return the appropriate status code – which it should be doing regardless, including for user pages.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After successfully testing my alpha Rails 3 app in my local dev environment, I
I am trying to set up a dev environment on my local machine that
I'm trying to get my local dev django app to work after following these
I have a Silverlight 2.0 site that works in dev. I have Copy Local
I have a Google App engine application that I want to work differently depending
I have a model in App Engine that I am exporting in CSV format
I have two versions of a Drupal site running on my local dev environment.
How can I configure the Google App Engine SDK to run the local development
I have a rails app that's databases are in SQLite (The dev and production).
I have a service reference on my local dev environment to a WCF service

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.