You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "m-fariz-a (via GitHub)" <gi...@apache.org> on 2025/06/17 01:09:29 UTC
Re: [I] Worker always return Invalid auth token when setting up demo environment using docker compose [airflow]
m-fariz-a commented on issue #49646:
URL: https://github.com/apache/airflow/issues/49646#issuecomment-2978609566
> [@inkerinmaa](https://github.com/inkerinmaa) , [@alonahmias](https://github.com/alonahmias) Something like this will work 
>
> [@inkerinmaa](https://github.com/inkerinmaa) , yes all the containers would have its own airflow.cfg with different jwt_secret ( thats what I'm trying to fix) but the env variable override should force all containers to pick the one set in the env
I've tried this but no sign that it works. I still got error on airflow-worker
```
2025-06-17 01:05:16.469073 [info ] [14503769-983a-4182-bec4-bf00e739d17b] Executing workload in Celery: token='eyJ***' ti=TaskInstance(id=UUID('01977b6b-4093-769f-bc02-366d653fc3ca'), task_id='check_status_survey', dag_id='dag-testing', run_id='scheduled__2025-06-17T01:04:00+00:00', try_number=1, map_index=-1, pool_slots=1, queue='default', priority_weight=2, executor_config=None, parent_context_carrier={}, context_carrier={}, queued_dttm=None) dag_rel_path=PurePosixPath('testing/testing.py') bundle_info=BundleInfo(name='dags-folder', version=None) log_path='dag_id=dag-testing/run_id=scheduled__2025-06-17T01:04:00+00:00/task_id=check_status_survey/attempt=1.log' type='ExecuteTask' [airflow.providers.celery.executors.celery_executor_utils]
2025-06-17 01:05:16.497594 [info ] Secrets backends loaded for worker [supervisor] backend_classes=['EnvironmentVariablesBackend'] count=1
2025-06-17 01:05:17.108694 [warning ] Server error [airflow.sdk.api.client] detail=None
2025-06-17 01:05:17.115715 [info ] Process exited [supervisor] exit_code=-9 pid=59 signal_sent=SIGKILL
2025-06-17 01:05:17.123788 [error ] Task execute_workload[14503769-983a-4182-bec4-bf00e739d17b] raised unexpected: ServerResponseError('Not Found') [celery.app.trace]
```
The docker-compose file screenshot is in the attachement. Besides all the environement variable, I only changed dash from the container name that the template to be using underscore.

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