You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "danielvdende (via GitHub)" <gi...@apache.org> on 2025/03/21 15:21:19 UTC

[PR] Fix execution api server url in docker-compose [airflow]

danielvdende opened a new pull request, #48061:
URL: https://github.com/apache/airflow/pull/48061

   The existing docker-compose didn't work due to an incorrect config variable being used for the api server url. It was setting the value for the `AIRFLOW__WORKERS` section instead of the `AIRFLOW__CORE` one. 
   
   The error being shown was:
   ```
    2025-03-21 13:12:00.055281 [warning  ] Starting call to 'airflow.sdk.api.client.Client.request', this is the 1st time calling it. [airflow.sdk.api.client]
   2025-03-21 13:12:01.057557 [warning  ] Starting call to 'airflow.sdk.api.client.Client.request', this is the 2nd time calling it. [airflow.sdk.api.client]
   2025-03-21 13:12:02.583487 [warning  ] Starting call to 'airflow.sdk.api.client.Client.request', this is the 3rd time calling it. [airflow.sdk.api.client]
   2025-03-21 13:12:04.290974 [warning  ] Starting call to 'airflow.sdk.api.client.Client.request', this is the 4th time calling it. [airflow.sdk.api.client]
   2025-03-21 13:12:11.584725 [warning  ] Starting call to 'airflow.sdk.api.client.Client.request', this is the 5th time calling it. [airflow.sdk.api.client]
   2025-03-21 13:12:19.831344 [warning  ] Starting call to 'airflow.sdk.api.client.Client.request', this is the 6th time calling it. [airflow.sdk.api.client]
   2025-03-21 13:12:31.526167 [warning  ] Starting call to 'airflow.sdk.api.client.Client.request', this is the 7th time calling it. [airflow.sdk.api.client]
   2025-03-21 13:12:36.431019 [warning  ] Starting call to 'airflow.sdk.api.client.Client.request', this is the 8th time calling it. [airflow.sdk.api.client]
   2025-03-21 13:12:39.748808 [warning  ] Starting call to 'airflow.sdk.api.client.Client.request', this is the 9th time calling it. [airflow.sdk.api.client]
   2025-03-21 13:14:06.460918 [info     ] Process exited                 [supervisor] exit_code=<Negsignal.SIGKILL: -9> pid=159 signal=SIGKILL
   2025-03-21 13:14:06.466463 [error    ] Task execute_workload[20432138-e22f-4f0a-81d8-02b6c58a0243] raised unexpected: ConnectError('[Errno 111] Connection refused') [celery.app.trace]
   ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
   │ /home/airflow/.local/lib/python3.12/site-packages/httpx/_transports/default.py:69 in             │
   │ map_httpcore_exceptions                                                                          │
   │                                                                                                  │
   │ /home/airflow/.local/lib/python3.12/site-packages/httpx/_transports/default.py:233 in            │
   │ handle_request                                                                                   │
   │                                                                                                  │
   │ /home/airflow/.local/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py:256 in       │
   │ handle_request                                                                                   │
   │                                                                                                  │
   │ /home/airflow/.local/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py:236 in       │
   │ handle_request                                                                                   │
   │                                                                                                  │
   │ /home/airflow/.local/lib/python3.12/site-packages/httpcore/_sync/connection.py:101 in            │
   │ handle_request                                                                                   │
   │                                                                                                  │
   │ /home/airflow/.local/lib/python3.12/site-packages/httpcore/_sync/connection.py:78 in             │
   │ handle_request                                                                                   │
   │                                                                                                  │
   │ /home/airflow/.local/lib/python3.12/site-packages/httpcore/_sync/connection.py:124 in _connect   │
   │                                                                                                  │
   │ /home/airflow/.local/lib/python3.12/site-packages/httpcore/_backends/sync.py:207 in connect_tcp  │
   │                                                                                                  │
   │ /usr/local/lib/python3.12/contextlib.py:158 in __exit__                                          │
   │                                                                                                  │
   │ /home/airflow/.local/lib/python3.12/site-packages/httpcore/_exceptions.py:14 in map_exceptions   │
   ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
   ConnectError: [Errno 111] Connection refused```


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix execution api server url in docker-compose [airflow]

Posted by "ashb (via GitHub)" <gi...@apache.org>.
ashb merged PR #48061:
URL: https://github.com/apache/airflow/pull/48061


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org