Hello, I need to make the task-queue worker URLs accessible only to the task queue, and not to people who happen to guess the URL but are not administrators. Unfortunately, the access restriction option appears to mess up the retry mechanism of the task queue.
Base scenario: with no changes to my app.yaml, I can test the task queue using the SDK and verify that the workers are doing the right thing when I tell each task to "Run". If there is a problem while a worker runs a tasks, it generates a HTTP 500 error, and the task is not cleared from the queue. this is good behavior that I want to see when I restrict the worker URL to "admin" using app.yaml, but it doesn't turn out to be the case for me. These are the lines added to my app.yaml: - url: /init/post_process_data/new_row_notify_handler login: admin script: gaehandler.py # note that I'm using web2py secure: optional and I can verify that the access restriction has taken effect because when I go to the worker URL, I get redirected to a login page which says that I am "Not logged in". And when I try to run a task in the queue using the admin console, it does get triggered correctly. But when the worker generates a 500 error, the task is mistakenly removed from the queue. Perhaps my configuration is incorrect? Or could this be a bug? Dan ps- This thread has some similar discussion: http://groups.google.com/group/google-appengine/browse_thread/thread/89573a9d573ee6c/8dc5579764c2a4e0?hl=en&lnk=gst&q=taskqueue+admin# --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
