You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "dosubot[bot] (via GitHub)" <gi...@apache.org> on 2024/08/01 14:56:28 UTC
Re: [I] ValueError: Invalid decryption key - multiple superset instance and single database [superset]
dosubot[bot] commented on issue #29829:
URL: https://github.com/apache/superset/issues/29829#issuecomment-2263285386
<!-- Greeting -->
Hey @Jarxinho! I'm here to help you with any bugs, questions, or contributions you might have. Let's dive in and resolve this issue together!
<!-- Answer -->
To avoid the 'Invalid decryption key' error when using the same database with multiple Superset instances, ensure that all instances use the same `SECRET_KEY` in their `superset_config.py` file:
```python
# Set the same SECRET_KEY for all Superset instances
SECRET_KEY = 'YOUR_OWN_RANDOM_GENERATED_SECRET_KEY'
```
This key is used for securely signing session cookies and encrypting sensitive information stored in Superset's application metadata database. By using the same `SECRET_KEY` across all instances, you can avoid the 'Invalid decryption key' error <sup>[[1]](https://github.com/apache/superset/blob/master/docs/docs/configuration/configuring-superset.mdx)</sup>.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org