You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a copy of a troubleshooting article on Supabase's docs site. It may be missing some details from the original. View the original article.
If you are seeing FATAL: Circuit breaker open with one of the error messages:
failed to retrieve database credentials after multiple attempts, new connections are temporarily blocked
too many failed attempts to connect to the database, new connections are temporarily blocked
too many authentication failures, new connections are temporarily blocked
it indicates that the connection pooler has blocked the origin IP to protect the database.
This typically happens when clients attempt to connect to the pooler (ports 5432 or 6543) using an outdated password after a rotation.
Why Does This Happen?
To prevent overloading the database with failed authentication attempts, Supavisor triggers a circuit breaker.
Once triggered, the origin IP is blocked for up to 2 minutes.
If clients continue attempting connections with invalid credentials during this window, the circuit breaker will reapply, effectively extending the lockout.
How to Resolve This Issue:
Stop clients: Shut down application instances or services currently attempting to connect to the pooler with the wrong credentials.
Update credentials: Ensure all connection strings and environment variables are updated with the new database password.
Restart services: Resume application traffic and the clients will be able to reconnect after the lockout period has elapsed.
Prevention:
To avoid this IP lockout issue in the future, stop application instances before rotating the database password. Only restart your services once the new credentials have been successfully applied to your configuration.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
This is a copy of a troubleshooting article on Supabase's docs site. It may be missing some details from the original. View the original article.
If you are seeing
FATAL: Circuit breaker openwith one of the error messages:failed to retrieve database credentials after multiple attempts, new connections are temporarily blockedtoo many failed attempts to connect to the database, new connections are temporarily blockedtoo many authentication failures, new connections are temporarily blockedit indicates that the connection pooler has blocked the origin IP to protect the database.
This typically happens when clients attempt to connect to the pooler (ports 5432 or 6543) using an outdated password after a rotation.
Why Does This Happen?
How to Resolve This Issue:
Prevention:
To avoid this IP lockout issue in the future, stop application instances before rotating the database password. Only restart your services once the new credentials have been successfully applied to your configuration.
Beta Was this translation helpful? Give feedback.
All reactions