0

I'm passing messages to a push queue (url="/push/ios") and I have a dispatch file that handles /push/* to my push module.

Yet, the URL is re-routed towards my default module, while it works fine if I curl myapp.appspot.com/push/ios.

The doc seems to agree with this behaviour

https://cloud.google.com/appengine/docs/python/config/queue

Note: If you are using modules along with a dispatch file, your task's HTTP request may be intercepted and re-routed to another module.

Is there a way to solve this and to have push queues efficiently working with modules + dispatch files?

tomrozb
  • 25,773
  • 31
  • 101
  • 122
apassant
  • 167
  • 3
  • 11

1 Answers1

1

You can probably use the target parameter to tell GAE where to execute the task:

https://cloud.google.com/appengine/docs/python/config/queue#target

Christiaan
  • 2,637
  • 21
  • 26