Skip to content Skip to sidebar Skip to footer

App Engine Python Development Server + Taskqueue + Backend

I'm using GAE Python 2.7 with the local development server. I have configured a backend backends: - name: worker class: B1 options: dynamic and I'm using the default taskqueue

Solution 1:

It's a bug in taskqueue.py, it misses a case to distinguish between production and the development environment.

In production, it does the right thing by concatenating the target with the hostname.

In development, that doesn't work and will produce the error you reported when trying to resolve worker.localhost address.

Instead it should set the task host to the ip:port dev_appserver is running the backend on.

There is already a bug in the public issue tracker that has been escalated to the engineering team.

Feel free to star it if you want to be notified about updates.

Post a Comment for "App Engine Python Development Server + Taskqueue + Backend"