AI & Agent Dev Bug Sandbox logo
AI & Agent Dev Bug Sandbox
Back to Radar

Transaction Pooler Rejects New Password After Database Password Reset (Supavisor Cache Not Invalidated)

After resetting the database password in Supabase Dashboard, both transaction pooler (6543) and session pooler (5432) continue to reject the new password with 'password authentication failed for user "postgres"'. Direct connection also fails due to ENOTFOUND, likely because DNS for db.[ref].supabase.co is not resolvable in the current environment. SQL Editor works because it uses internal auth. The pooler (Supavisor) appears to cache old credentials or does not reload auth metadata promptly after password update.

highConfidence 68%Supabase@supabase/supabase-jsRealtime

Origin Analysis

Supavisor/pgbouncer pooler caches PostgreSQL authentication credentials or holds pre-existing backend connections with old password; after a password reset the pooler does not immediately refresh its auth cache/connection pool, causing continued auth failures. Additionally, the provided connection string may contain an unencoded generated password with special characters, which can lead to parsing errors, but the primary observed symptom points to pooler-side credential staleness.
1. Reset database password in Supabase Dashboard. 2. Copy the generated password. 3. Attempt connection via transaction pooler aws-1-us-east-1.pooler.supabase.com:6543 with user postgres.[project-ref]. 4. Observe password authentication failed for user "postgres". 5. Wait several minutes and retry; failure persists. 6. Direct connection db.[ref].supabase.co returns ENOTFOUND.

Fixing Code Block

Edge Case Audit

This script only works around the issue on the client. If Supavisor cache is stale, it may still fail after retries. Restarting the project may cause brief downtime and might not clear Supavisor auth cache if the underlying bug persists. Do not use connection strings with unencoded passwords; always use config objects or URL-encode. After a password reset, rolling back to the old password is not recommended if the new password is already active, but you can revert via Dashboard if needed. Concurrency: multiple connection attempts with stale password can fill logs and trigger rate limiting; use connection pooling in production and limit retries.

Ecosystem Topology

Agent Frameworks

LangChain, LlamaIndex, and Pydantic

  1. highProperty graph relation keys collide when entity IDs or labels contain underscores
  2. highCodeActAgent drops assistant tool-call metadata during handoff, leaving an orphan tool response
  3. high[Bug]: HierarchicalNodeParser async methods return the documents unsplit
  4. highLLM.predict_and_call fails with ValidationError for non-function-calling models when react_chat_formatter is omitted
  5. highAnthropic streaming server-tool input_json_delta overwrites completed client tool_use arguments due to stale cur_tool_call state