magic-overflow commented on issue #3724:
URL: 
https://github.com/apache/incubator-superset/issues/3724#issuecomment-739835499


   > > > So mine worked out. After changing the `SECRET_KEY`, I went into 
superset and re-entered the database passwords **sources>databases** .
   > > > 
`database_engine://database_user:[database_password]@ip_address/database`
   > > 
   > > 
   > > but when i change the secret_key, i can not go to **sources>databases** 
, i also got this error, Can you tell me in more detail
   > 
   > i got an solution, add a config DB_SECRET_KEY in config.py it's value is 
origin SECRET_KEY, then use config["DB_SECRET_KEY"] replace 
config["SECRET_KEY"] in superset/models/core.py Database model
   
   I got this error after upgrade. I followed ur instruction, it doesn't work.
   ```
   File 
"/home/ubuntu/venv/lib/python3.8/site-packages/sqlalchemy_utils/types/encrypted/encrypted_type.py",
 line 128, in decrypt
       raise ValueError('Invalid decryption key')
   ValueError: Invalid decryption key
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to