Replies: 4 comments 5 replies
-
|
Yes. this has been fixed in 3.1.5 - look th the changelog |
Beta Was this translation helpful? Give feedback.
-
|
Also make sure to upgrade to latest Fab provider. |
Beta Was this translation helpful? Give feedback.
-
|
I am also having this problem with Airflow 3.1.5. After a while (probably under the circumstances described), Airflow API Server starts returning Internal Server Error. I am using apache/airflow:3.1.5 docker image. Is there an updated image without this problem? |
Beta Was this translation helpful? Give feedback.
-
|
We recently upgraded to Airflow 3.1.5 and ran in the frequent 500 Internal Server Error from the API server, this was more prevalent on the PROD env because of more number of users, this is what i have implemented and it seems to be working We were specifically running into this issue issue 500 Internal Server Error with the message mismatching_state: CSRF Warning! State not equal in request and response. alongside the sqlalchemy.exc.PendingRollbackError in our Airflow Prod and Dev environments. Database Connection Pool Resilience to stop PendingRollbackErrors / CSRF state |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
We are setting up an environment using Apache Airflow 3.1.3.
We are encountering an issue where the login session expires once per day, and after that, accessing the login page results in a 500 Internal Server Error from the API server.
This happens consistently and requires restarting the API server to recover.
Below are the error logs, configuration, and our custom AuthManager implementation.
Any help or guidance would be greatly appreciated.
Environment
Issue Summary
Error Log (Excerpt)
The error occurs during:
Docker Compose (airflow-apiserver)
Database pooling configuration:
Custom Auth Manager
To mitigate the issue, we implemented a custom SafeFabAuthManager that wraps DB calls and forcibly resets the session when a PendingRollbackError occurs.
This reduces the frequency of failures but does not fully eliminate the issue.
Questions
Expected Behavior
Beta Was this translation helpful? Give feedback.
All reactions