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 observing a FATAL: (EAUTHQUERY) unsupported or invalid secret format error when connecting to the Supavisor pooler (ports 5432 or 6543), it typically indicates an issue with the database role's credentials.
Why does this happen?
This error occurs when the custom Postgres role used for the connection has an expired VALID UNTIL timestamp. When a role is expired, the internal authentication query used by Supavisor returns a null password secret, which prevents the pooler from completing the SCRAM authentication process.
How to resolve this issue
You can verify and update the role's expiration status via the SQL editor:
Identify if the role has expired by running the following query:
select rolname, rolvaliduntil, rolvaliduntil < now() as expired
from pg_authid
where rolname ='example_role';
If the expired column returns true, update the role to extend or remove the expiration limit:
ALTER ROLE example_role VALID UNTIL 'infinity';
Re-attempt the connection using your Supavisor connection string.
If the issue persists or the role is not expired, reach out to supabase.help for assistance.
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 observing a
FATAL: (EAUTHQUERY) unsupported or invalid secret formaterror when connecting to the Supavisor pooler (ports 5432 or 6543), it typically indicates an issue with the database role's credentials.Why does this happen?
This error occurs when the custom Postgres role used for the connection has an expired
VALID UNTILtimestamp. When a role is expired, the internal authentication query used by Supavisor returns a null password secret, which prevents the pooler from completing the SCRAM authentication process.How to resolve this issue
You can verify and update the role's expiration status via the SQL editor:
expiredcolumn returns true, update the role to extend or remove the expiration limit:ALTER ROLE example_role VALID UNTIL 'infinity';If the issue persists or the role is not expired, reach out to supabase.help for assistance.
All reactions