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

[I] Tasks queued in docker setup [airflow]

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

   ### Apache Airflow version
   
   3.1.0
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Using official docker compose tutorial[https://airflow.apache.org/docs/apache-airflow/3.1.0/howto/docker-compose/index.html](url) added network settings to each service in compose:
   `
     networks:
       - test`
   And at the end of compose file:
   `networks:
     test:
       name: test
       external: true`
   caused tasks in example dags get stucked in queued state and apiserver log says:
   `JWT token is not valid: Signature verification failed` 
   Same happens if I add 
   `AIRFLOW__API__BASE_URL: 'https://tst.mycompany.com/airflow'`
   to use reverse-proxy for accessing UI
   
   ### What you think should happen instead?
   
   Tasks should be running and no errors in logs appear
   
   ### How to reproduce
   
   Use official docker compose tutorial[https://airflow.apache.org/docs/apache-airflow/3.1.0/howto/docker-compose/index.html](url)
   and add all services to any external docker network
   docker network create airflow
   and add to each service
   `networks:
       - airflow`
   OR 
   add environment varible
   `AIRFLOW__API__BASE_URL: 'https://tst.mycompany.com/airflow'`
   
   
   ### Operating System
   
   Debian
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### 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: commits-unsubscribe@airflow.apache.org.apache.org

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


Re: [I] Tasks queued in docker setup [airflow]

Posted by "rich7420 (via GitHub)" <gi...@apache.org>.
rich7420 commented on issue #56186:
URL: https://github.com/apache/airflow/issues/56186#issuecomment-3354803890

   It looks like the issue is not a core Airflow bug but a networking/config
   problem. When you move all services to an external Docker network or change
   `AIRFLOW__API__BASE_URL` to the reverse-proxy URL, internal services cannot
   reach each other and JWT validation fails.
   
   Maybe you can:
   - Keep the default `airflow_default` internal network, and only add an external
     network if you need to connect to other services (a service can join multiple
     networks).
   - Do not change `AIRFLOW__API__BASE_URL` for reverse proxy. Keep the internal
     URL for Airflow’s own components, and let your proxy handle the external
     access.


-- 
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: [I] Tasks queued in docker setup [airflow]

Posted by "inkerinmaa (via GitHub)" <gi...@apache.org>.
inkerinmaa commented on issue #56186:
URL: https://github.com/apache/airflow/issues/56186#issuecomment-3343858747

   I suppose once I add containers to some network or set up base url, this setting
   AIRFLOW__CORE__EXECUTION_API_SERVER_URL: 'http://airflow-apiserver:8080/execution/' is not relevant anymore and services can't find each other. Just an idea


-- 
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: [I] Tasks queued in docker setup [airflow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #56186:
URL: https://github.com/apache/airflow/issues/56186#issuecomment-4393224360

   This issue has been automatically marked as stale because it has been open for 14 days with no response from the author. It will be closed in next 7 days if no further activity occurs from the issue author.


-- 
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: [I] Tasks queued in docker setup [airflow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #56186:
URL: https://github.com/apache/airflow/issues/56186#issuecomment-4446341968

   This issue has been closed because it has not received response from the issue author.


-- 
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: [I] Tasks queued in docker setup [airflow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #56186: Tasks queued in docker setup
URL: https://github.com/apache/airflow/issues/56186


-- 
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