aleph
aleph copied to clipboard
BUG: SQLAlchemy error
I got many 500 internal server error when navigating throw the Aleph UI.
I found that sometimes, when the postgres stack reboot, it may cause the SQLAlchemy session to be invalid.
Precision, I only reproduce this bug using an aleph stack with oauth
Aleph version Aleph v4.0.2
The only way I found to fix this error is to add the option pool_pre_ping in the SQLAlchemy initialization.