-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
sqllab - Invalid decryption key #24620
Comments
@hughpearse Does this closed issue solve your error? #8538 |
hi @eschutho. Is there a way to fix this if I have lost my previous secret key? |
I used "pip install apache-superset --upgrade" instead of "pip install apache-superset" and this solved the issue |
What I did was to delete the database file in .superset folder. This allowed me to do a new installation and thus solved the issue |
@NascentKiosk I just resolved the issue by creating a new connection and updating all the database_id in every referenced table with the newly created database_id. Then deleted the existing connection and everything is back to normal. |
Sounds like this one is more or less mitigated. Please let us know if this needs any revisiting. |
@rusackas You are right. But there is still an issue perhaps on a document level. At one point it reads that if you have lost the previous key, try to re-encrypt with a new key and everything should be back on track. But when you do it, it says the old key must be provided. So the steps are right but only when you want to change your secret_key and not when you have lost it. |
@hirensoni913 Gotcha. Would you be willing to either open a Docs PR (there's a new button in the bottom right of the docs pages to do so) or enumerate here what the steps for a lost key should be if the key was lost? CC @dpgaspar @sfirke who might know this process and be able to help with the docs effort as well. |
A clear and concise description of what the bug is.
How to reproduce the bug
:107
WTF_CSRF_ENABLED = False
SESSION_COOKIE_SAMESITE = None
SESSION_COOKIE_SECURE = False
SESSION_COOKIE_HTTPONLY = False
SECRET_KEY = "0KI7YkJ2I04Hdy+Cdt2Dm9BzBxP7M/eiBBjT6ax4ZWmBxk39m3XSq3IZ"
username: admin / password: admin
Expected results
The query dashboard opens
Actual results
GET http://hostname:8088/superset/sqllab/
500 INTERNAL SERVER ERROR
Body
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
vanilla docker-compose deployment
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
The text was updated successfully, but these errors were encountered: