aleph icon indicating copy to clipboard operation
aleph copied to clipboard

BUG: SQLAlchemy error

Open zzzepezzz opened this issue 9 months ago • 2 comments

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

Discourse subject

The only way I found to fix this error is to add the option pool_pre_ping in the SQLAlchemy initialization.

zzzepezzz avatar Jan 03 '25 13:01 zzzepezzz