Intermittent socket hang up (ECONNRESET) on Edge Functions + random 401s on PostgREST RPC calls, all started today with zero code/config changes
Hey all, looking for a sanity check from anyone else who might be seeing something similar today. Already filed a support ticket but wanted to hear from the community too.
Context: I run a project that's been calling a Supabase Edge Function via the connection pooler on a recurring, stable schedule (via n8n) for months, no issues. Starting today, out of nowhere, I'm seeing intermittent failures across two different parts of the stack, with no deploys, no config changes, no schema changes on my end.
Issue 1: Edge Function socket hang up
n8n → Edge Function calls occasionally fail with:
message: socket hang up
name: Error
code: ECONNRESET
The stack trace shows the TLS socket getting reset mid-request (ECONNRESET), not a normal HTTP error response. So it's not the function returning an error, it's the connection itself dying before a response comes back. Happens maybe 1 in 10-15 calls, same request retried immediately usually succeeds.
Issue 2: Random 401 on PostgREST RPC
Separately, same day, I caught this in the logs for a normal RPC call that's been working fine for a long time:
POST | 401 | .../rest/v1/rpc/get_***
auth_user: null
Retried the exact same call seconds later and it went through fine with no changes on my end. So it looks like the auth/PostgREST layer briefly failed to validate what should've been a valid request.
What I've ruled out so far:
- No code or config changes on my side today
- Not a traffic spike / abuse issue on my project (checked usage, nothing unusual)
- Checked Supabase status page, there's an ongoing "compute capacity degraded" incident across regions (started a couple days ago, still unresolved). Suspect this is related, but the symptoms I'm seeing (socket resets, transient 401s) aren't exactly what that incident describes (which is scoped to restarts/resizes)
Question for the community: Anyone else seeing intermittent connection drops on Edge Functions or transient PostgREST auth failures today? Trying to figure out if this is a known ripple effect from the ongoing compute incident, a pooler (Supavisor) issue, or something else entirely. Already have a support ticket open but curious if others are hitting the same thing right now, and if so, which region.
Region: eu-west-2 Project tier: Pro
Thanks in advance 🙏