© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4mo ago•
3 replies
jgeroldo#0001

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
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
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.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Switching from Session Pooler -> Transaction pooler
SupabaseSSupabase / help-and-questions
6mo ago
failed to get pooler connection string: pooler config returned empty array
SupabaseSSupabase / help-and-questions
4d ago
Repeatedly getting CONNECT_TIMEOUT and MaxClientsInSessionMode during local development.
SupabaseSSupabase / help-and-questions
3mo ago
Unable to connect to read replica even using pooler
SupabaseSSupabase / help-and-questions
2mo ago