-
Notifications
You must be signed in to change notification settings - Fork 417
InternalClientError: cannot switch to state 12 #1069
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
Comments
@amacfie-tc Looks like a bug. How are you running your Postgres? |
Another one:
|
Pretty standard Postgres 14, here's the config:
|
The second one I can reproduce with
The first one I'm not sure yet. |
The first case seems to have been caused by the database server shutting down. So the only bug here, if any, is that the error messages could be more informative. |
Yeah, state |
@elprans @amacfie-tc did this get resolved? i'm running into the issue as well, with |
@lokucrazy to summarize the above, I observed this when the database closed the connection or ended the transaction |
Discussed in #1068
Originally posted by amacfie-tc August 21, 2023
I received the following error, does anyone know what it means? In the SQLAlchemy engine,
pool_pre_ping
is set toTrue
.The text was updated successfully, but these errors were encountered: