Skip to content
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

Database retries? Handle Sequel::DatabaseDisconnectError: PG::ConnectionBad: PQconsumeInput() server closed the connection unexpectedly #412

Closed
Tracked by #402
dentarg opened this issue Nov 6, 2022 · 1 comment

Comments

@dentarg
Copy link
Member

dentarg commented Nov 6, 2022

Happens when running on Fly, see backtrace in #411

Seems to happen when the app hasn't been used for a little while

Others reporting same/similar problems

@dentarg dentarg mentioned this issue Nov 6, 2022
16 tasks
@dentarg dentarg changed the title Database retries Database retries? Handle Sequel::DatabaseDisconnectError: PG::ConnectionBad: PQconsumeInput() server closed the connection unexpectedly Nov 6, 2022
@jage
Copy link
Member

jage commented Nov 7, 2022

IIRC we've used Sequel connection validator successfully in other app/deployments. I.e. it would detect "bad" connections before used.

@dentarg dentarg closed this as completed in fdc71a6 Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants