GitHub user TyranVdMerwePaytec created a discussion: JWT Signature verification failed
I am running into the following issue when trying to run DAGs after the API server pod has restarted (OOM, Evicted, etc): ` Failed to validate JWT [airflow.api_fastapi.execution_api.deps] token=redacted /home/airflow/.local/lib/python3.12/site-packages/airflow/api_fastapi/execution_api/deps.py:86 in __call__ /home/airflow/.local/lib/python3.12/site-packages/airflow/api_fastapi/auth/tokens.py:327 in avalidated_claims /home/airflow/.local/lib/python3.12/site-packages/jwt/api_jwt.py:222 in decode /home/airflow/.local/lib/python3.12/site-packages/jwt/api_jwt.py:156 in decode_complete /home/airflow/.local/lib/python3.12/site-packages/jwt/api_jws.py:220 in decode_complete /home/airflow/.local/lib/python3.12/site-packages/jwt/api_jws.py:328 in _verify_signature InvalidSignatureError: Signature verification failed ` The jwt secret (key) is set by the Helm install and does not change. The only way to resolve the issue is to restart the scheduler pod. Any ideas or advice would be appreciated. GitHub link: https://github.com/apache/airflow/discussions/54178 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
