No response from gunicorn master within 120 seconds after pointing to external postgres
Asked Answered
H

0

8

I am deploying airflow latest release using Docker, everything works fine until I point the database to an external Postgres Database. As soon as the database is pointed to an external database the webserver container doesn't get up.

The release is from apache/airflow:latest

The logs says the following

No response from gunicorn master within 120 seconds

enter image description here

What am I missing here ?

Humbug answered 15/2, 2023 at 20:1 Comment(7)
did you check the webserver container log?Emelinaemeline
Yes, its in the screenshotHumbug
This error comes when the number of workers running does not match the expected number of workers for a period of time. check the number of workers in airflow.cfg file, try reducing it to a smaller number, probably 1.Radiophotograph
@Humbug were you able to get this resolved?Perrone
It still not working for me, using solution from @RadiophotographHsu
I'm currently experiencing this issue as well.Ormazd
@anshul_cached, try increasing the timeout for the master worker and reducing the number of workers. You can check this issue on github as wellOrmazd

© 2022 - 2024 — McMap. All rights reserved.