-
-
Notifications
You must be signed in to change notification settings - Fork 930
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
Celery worker deploy on Azure fails: didn't respond to HTTP pings on port: 80 #1917
Comments
#1177 seems to be related. But I am using Redis and not RabbitMQ. And I am using Azure (free credits!), and not Kubernetes. It using this GitHub hook: https://github.com/Azure/webapps-deploy I have not been able to disable the liveness check on the exposed port on deploy. And I have not being able to bundle a tiny web server to just reply "just go away". Docker compose is experimental on Azure (compose with celery+nginx might be a valid hack). I am willing to write my own code which is like celery-worker+FastAPI for a single stupid endpoint, but I am not sure how to achieve this. Help is welcome. Thanks. |
The current workaround I am trying requires 2 more python VMs:
Here's the supervisord.conf:
|
Running into the same issue—curious if anyone has a workaround? |
I ended up bundling Celery and Flower together. This way there is an http server (separate VMs, with supervisord). It sucks, but it works and I get a web viewer for Celery workers. Here:
|
If we could have some port that these PaaS platforms could ping to check for liveness, it would make things so much easier.
How can I run Celery in worker mode and still have a port that can be pinged for something? Even a "nothing here" reply would do.
Any tips on how to do this? Subclass? Or is it in the roadmap? Thanks!
The text was updated successfully, but these errors were encountered: