Failed to connect Session Pooler: MaxClientsInSessionMode

Hey Guys!

Today, when I'm linking to my project, I'm having this issue:

Initialising login role...
failed to connect as temp role: failed to connect to host=aws-1-us-east-1.pooler.supabase.com user=cli_login_postgres.xxx database=postgres: server error (FATAL: MaxClientsInSessionMode: max clients reached - in Session mode max clients are limited to pool_size (SQLSTATE XX000))
Retry (3/8): ^CConnecting to remote database...
failed to connect to postgres: failed to connect to host=aws-1-us-east-1.pooler.supabase.com user=postgres.xxx database=postgres: hostname resolving error (lookup aws-1-us-east-1.pooler.supabase.com: operation was canceled)

I've checked my session and I'm far from reaching the MaxSession parameter.
Was this page helpful?