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 7020923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:22:56+00:00 2026-05-27T23:22:56+00:00

I have a pretty simple application. One of the things I do is when

  • 0

I have a pretty simple application. One of the things I do is when someone creates a new widget, I add a task to a task queue to get a qr code image for the widget and save it in the blob.

I have a queue defined as:

queue:  
- name: workqueue  
  target: worker  
  rate: 5/s  

I have a backend defined as:

backends:
- name: worker
  options: dynamic
  class: B1

snippet of app.yaml:

handlers:
- url: /tasks/fetchimage
script: worker.py
login: admin

In my code, when the user creates the widget the following is called:

        taskqueue.add(#queue_name="workqueue", 
                      url="/tasks/fetchimage",
                      method="GET", 
                      params={"design_id": design_id})

With “queue_name=”workqueue” commented out, everything works fine (uses the default queue which does not go to the backend). If I remove the comment, I get the following error in the logs:

0.1.0.2 – – [04/Jan/2012:19:05:29 -0800] “GET /tasks/fetchimage?design_id=9034 HTTP/1.1” 302 0
…

Request failed because URL requires user login. For requests invoked within App Engine (offline requests like Task Queue, or webhooks like XMPP and Incoming Mail), the URL must require admin login (or no login).

Am I missing something? I assume app.yaml settings apply to backends. Is this assumption incorrect?

  • 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-27T23:22:57+00:00Added an answer on May 27, 2026 at 11:22 pm

    You should remove login: admin from the backend handler, and make sure the backend is private if you don’t want users to be able to access that url.

    See the backends documentation for more details.

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

Sidebar

Related Questions

My question is pretty simple: If you have two web-application components: Server-side (secret-capable) code
I have a pretty simple JSP/Servlet 3.0/Spring MVC 3.1 application. On one of my
I have a pretty simple question which perhaps someone familiar with Server/Client design &
I have a pretty simple JPA @ManyToMany relationship set up in my application. A
I have this pretty simple application, it uses a webService to transfer data to
I have implemented pretty simple application, using gwt and gwt event service 1.1.1, it
Pretty simple question this time around. I have an application that communicates with another
i have pretty simple simple question (i hope so). How do i change the
I have a pretty simple ASP.NET Web Form that looks a bit like the
I have a pretty simple Linq to XML query: var q = from c

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.