Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task queues stopped running #278

Closed
faisalraja opened this issue Mar 22, 2022 · 5 comments
Closed

Task queues stopped running #278

faisalraja opened this issue Mar 22, 2022 · 5 comments
Labels
bankrupt Feel free to reopen when necessary.

Comments

@faisalraja
Copy link

Tasks are still added but it never executes anymore. I have tried default and true options for enable_task_running. I can sometimes make it work very rarely after several restarts and then after running a single task it never runs any new ones. Even after hitting run in the console it still doesn't execute. Thanks

Here are versions of what is installed:
Google Cloud SDK 377.0.0
app-engine-go 1.9.72
app-engine-python 1.9.99

@bsiegert
Copy link
Contributor

Is this in dev_appserver.py or in prod?

If the former: Does the code change in #279 help with your problem?

@faisalraja
Copy link
Author

@bsiegert This is for dev_appserver.py these are for both delay and taskqueue.NewPOSTTask then taskqueue.Add and the delay function. I did notice that error for the delay function but for direct taskqueue there's no error. Just doesn't get executed. Even after hitting "Run" in the admin console. After few stop/starts it can sometimes work once then won't work anymore after the first one.

@bsiegert
Copy link
Contributor

I had exactly the same problem. See the patch in #279 and the App Engine SDK bug report liked from there.

@faisalraja
Copy link
Author

@bsiegert I saw it, but it only touches the delay.go. Is this because once that error has been triggered the dev_appserver.py stops doing processes? I'm assuming it is based on your response. Thanks!

@sudhagarc
Copy link

I observe this issue (delay Function fails to execute) using appengine/v2 as well. Looks like @bsiegert is correct about gob vs base64 encoding, as POST to delay queue returns 500 (Internal server error).

Has anyone found a workaround? Could we fix this please? Thanks.

@jinglundong jinglundong added the bankrupt Feel free to reopen when necessary. label May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bankrupt Feel free to reopen when necessary.
Projects
None yet
Development

No branches or pull requests

4 participants