© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago
gerry

Auth Service terminating connection due to idle-session timeout

Critical auth error does not let users log in.
The auth service frequently throws an idle connection session timeout error. It affects us when we call this:
const { data, error } = await supabaseAdmin.auth.api.generateLink(
    'magiclink',
    internalUserEmail,
    {
      redirectTo: ROOT_URL,
    },
  )
const { data, error } = await supabaseAdmin.auth.api.generateLink(
    'magiclink',
    internalUserEmail,
    {
      redirectTo: ROOT_URL,
    },
  )


The error object is attached in the image.

Customer Support said they increased the max pool size as a temporary fix but that did not make a difference and they have been unresponsive since.
Screen_Shot_2022-11-17_at_1.23.34_PM.png
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

Session Timeout
SupabaseSSupabase / help-and-questions
7mo ago
Auth and db error Error: Failed to run sql query: Connection terminated due to connection timeout EU
SupabaseSSupabase / help-and-questions
2d ago
Connection timeout
SupabaseSSupabase / help-and-questions
4mo ago
Cancelling statement due to statemtn timeout
SupabaseSSupabase / help-and-questions
7mo ago