-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSRF Missing for Cache Warm Up #31283
Comments
you can try #31173 |
I found a similar discussion regarding CSRF token issues in Superset, which might be relevant to your situation. The discussion titled "[QA][superset & keycloak] flask_wtf.csrf.CSRFError: 400 Bad Request: The CSRF token is missing](#28250)" addresses a similar error. A suggested solution from a related closed issue was to set Additionally, ensure that the CSRF token is correctly fetched and included in the headers for API requests. In Superset's Celery task for cache warming, the |
Thanks @AnTapTanhCode - true, this #31173 is precisely the solution. |
Bug description
I have a Superset@4.1.1 running on K8s.
Whenever the Celery task to warm-up the cache of the top 10 dashboards run, I have the following error:
Before the 4.1.1 update, I still had this issue, but it was a 404 error instead.
I tried to fix this by expanding CSRF exemption list, to no avail:
Screenshots/recordings
No response
Superset version
4.1.1
Python version
3.10
Node version
I don't know
Browser
Chrome
Additional context
Checklist
The text was updated successfully, but these errors were encountered: