I've set up an application that attempts to create a deferred job, but it's
not working on my local setup.

I think this is because I am using "dispatch.yaml" to configure separate
front-end and back-end modules.

That causes services to run on multiple port numbers, and then the POSTs to
add the deferred tasks go to the wrong port(they're hitting the port for
the front-end module rather than the API port) and 404.

Startup log:

INFO     2014-10-31 17:49:12,283 api_server.py:172] Starting API server at:
http://localhost:51390
INFO     2014-10-31 17:49:12,283 dispatcher.py:174] Starting dispatcher
running at: http://0.0.0.0:8080
INFO     2014-10-31 17:49:13,170 dispatcher.py:186] Starting module
"default" running at: http://0.0.0.0:8081
INFO     2014-10-31 17:49:14,327 dispatcher.py:186] Starting module
"duo-labs-frontend" running at: http://0.0.0.0:8082
INFO     2014-10-31 17:49:15,745 dispatcher.py:186] Starting module
"duo-labs-backend" running at: http://0.0.0.0:8083
INFO     2014-10-31 17:49:15,746 admin_server.py:118] Starting admin server
at: http://localhost:8000


404 Error in POST:

INFO     2014-10-31 17:49:39,204 module.py:635] req::: hostname:
0.0.0.0:8082 - method: POST - resource: /_ah/queue/deferred
INFO     2014-10-31 17:49:39,205 module.py:667] duo-labs-frontend: "POST
/_ah/queue/deferred HTTP/1.1" 404 -
WARNING  2014-10-31 17:49:39,205 taskqueue_stub.py:1977] Task task1 failed
to execute. This task will retry in 0.100 seconds


Shouldn't the POST for adding the task go to port 51390?

I have the following in my app.yaml as well:

builtins:
- remote_api: off
- deferred: on


Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to