tharhtetsan opened a new issue, #35938:
URL: https://github.com/apache/airflow/issues/35938

   ### Apache Airflow version
   
   2.7.3
   
   ### What happened
   
   when I set `AIRFLOW__DATABASE__SQL_ALCHEMY_CONN=postgresql+psycopg2://`
   airflow db init is work. But I cann't start webserver with  `airflow 
webserver --port 8080`
   I also checked with these commands for db connections. And all commands are 
success.
   ```
   airflow db check
   airflow db init
   airflow db migrate
   ```
   But when I run with `airflow webserver -p 8080`
   
   ```
   ERROR - No response from gunicorn master within 120 seconds
   ERROR - Shutting down webserver
   
   ```
   
   
   
   
   ### What you think should happen instead
   
   When I run` airflow db init` , it work and create airflow tables in 
database. But I don't know why I can't run `airflow webserver -p 8080`
   
   
   <img width="349" alt="image" 
src="https://github.com/apache/airflow/assets/25545264/3f490746-4622-427e-9b81-fae22ce01511";>
   
   
   ### How to reproduce
   
   I tested with both` PostgresSQL (13,15) servers ` and` SQL database servers` 
from Azure and face this problem. I also tested with `Airflow==2.7.3` and  
`Airflow==2.7.0` , it not solve.
   
   But when I test with local `PostgresSQL(13)server` on my local machine with 
docker, it work. 
   When I deploy this `PostgresSQL(13)server`  docker image to VM , I face that 
error again.
   
   ### Operating System
   
   I tested on Mac M1 chip, Mac Intel chip and Ubuntu VM from Azure
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-common-sql==1.8.0
   apache-airflow-providers-ftp==3.6.0
   apache-airflow-providers-http==4.6.0
   apache-airflow-providers-imap==3.4.0
   apache-airflow-providers-sqlite==3.5.0
   
   ### Deployment
   
   Docker-Compose
   
   ### Deployment details
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to