Replies: 6 comments 1 reply
|
Your symptoms ( 1. Why the REST health/status check can fail while normal API requests succeedNormal data requests ( 2. What
|
|
One correction to the Warp part of this thread, because it changes what is worth chasing.
PostgREST does not set a timeout in That also explains the single What this means for your questions:
|
|
Hi @psurkanti, I have seen this exact behavior with PostgREST in containerized environments. The Warp timeout mechanism Why the API still works Restarting and diagnostics To rule out schema cache locks causing probe delays, you can run this query to check for blocking transactions: Since your API is serving 200s and CPU is low, this is highly likely a false positive from the infrastructure probe layer. Support will need to adjust the probe timeout on their end. |
|
Hi everyone,
Thank you so much for taking the time to investigate this and share your
suggestions. I really appreciate your help.
Based on your recommendations, I ran a few additional checks on our
production Supabase project.
Here are the results:
-
No sessions were found in the idle in transaction state.
-
No long-running transactions were detected.
-
The only active transaction was the SQL Editor query itself, with a
duration of 0 seconds.
-
API Gateway recorded approximately 2,000 successful requests and zero
5xx errors over the last 24 hours.
-
Database CPU and connection usage remain normal.
-
PostgREST continues showing Unhealthy, with repeated Warp server error:
Thread killed by timeout manager messages.
Based on these findings, an internal health-probe issue seems possible, as
Justin and Batuhan suggested.
I've also shared these findings with Supabase support under ticket
*SU-547945*, which has already been escalated to the Data API team.
Since this is a live production website, I haven't restarted the project or
changed any database configurations.
Do you think these results are enough to narrow this down to the
health-probe layer, or is there anything else we should safely check while
waiting for the Data API team?
Thanks again for your support!
Pavithra Surkanti
…On Sat, Nov 21, 2026 at 4:41 AM Batuhan ***@***.***> wrote:
@jaharoni <https://github.com/jaharoni> The mechanism you describe is
right, and it is worth keeping separate from query time. Warp's setTimeout
is a slowloris guard on connection progress, and the timer is paused while
the handler runs, so a slow query or slow OpenAPI introspection cannot
produce Thread killed by timeout manager. That leaves a client that
stalls or disappears mid-request, and an internal health probe is a
plausible candidate.
What the log line alone cannot do is identify that client. To confirm the
probe attribution for this project, correlate the 471 timestamps with
edge/proxy logs and check whether those connections ever completed a
request. If they did not, the probe explanation is solid and the fix is on
the support side (SU-547945), not a PostgREST setting. pg_stat_activity
is still worth checking for long-running transactions, but it will not
explain this particular log line.
—
Reply to this email directly, view it on GitHub
<#53746?email_source=notifications&email_token=BFZHCBPR6S6PSUGNBGXYV2D52FWN3A5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJXHEZTEMZXUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussioncomment-19793237>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BFZHCBIECPKJISW5CNVBBAD52FWN3AVCNFSNUABIKJSXA33TNF2G64TZHMZDCNBVHA3TCOJTHNCGS43DOVZXG2LPNY5TCMJTGYZDMMJZUF3AE>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/BFZHCBK2ILBLMKGNJG7BOU352FWN3A5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJXHEZTEMZXUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSVGM33PORSXEX3JN5ZQ>
and Android
<https://github.com/notifications/mobile/android/BFZHCBOV733UCPMI7URQ2UD52FWN3A5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJXHEZTEMZXUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSXGM33PORSXEX3BNZSHE33JMQ>.
Download it today!
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
Hi everyone,
Thank you so much for taking the time to investigate this and share your
suggestions. I really appreciate your help.
Based on your recommendations, I ran a few additional checks on our
production Supabase project.
Here are the results:
-
No sessions were found in the idle in transaction state.
-
No long-running transactions were detected.
-
The only active transaction was the SQL Editor query itself, with a
duration of 0 seconds.
-
API Gateway recorded approximately 2,000 successful requests and zero
5xx errors over the last 24 hours.
-
Database CPU and connection usage remain normal.
-
PostgREST continues showing Unhealthy, with repeated Warp server error:
Thread killed by timeout manager messages.
Based on these findings, an internal health-probe issue seems possible, as
Justin and Batuhan suggested.
I've also shared these findings with Supabase support under ticket
*SU-547945*, which has already been escalated to the Data API team.
Since this is a live production website, I haven't restarted the project or
changed any database configurations.
Do you think these results are enough to narrow this down to the
health-probe layer, or is there anything else we should safely check while
waiting for the Data API team?
Thanks again for your support!
On Sat, Nov 21, 2026 at 10:32 AM Pavithra Surkanti <
***@***.***> wrote:
… Hi everyone,
Thank you so much for taking the time to investigate this and share your
suggestions. I really appreciate your help.
Based on your recommendations, I ran a few additional checks on our
production Supabase project.
Here are the results:
-
No sessions were found in the idle in transaction state.
-
No long-running transactions were detected.
-
The only active transaction was the SQL Editor query itself, with a
duration of 0 seconds.
-
API Gateway recorded approximately 2,000 successful requests and zero
5xx errors over the last 24 hours.
-
Database CPU and connection usage remain normal.
-
PostgREST continues showing Unhealthy, with repeated Warp server
error: Thread killed by timeout manager messages.
Based on these findings, an internal health-probe issue seems possible, as
Justin and Batuhan suggested.
I've also shared these findings with Supabase support under ticket
*SU-547945*, which has already been escalated to the Data API team.
Since this is a live production website, I haven't restarted the project
or changed any database configurations.
Do you think these results are enough to narrow this down to the
health-probe layer, or is there anything else we should safely check while
waiting for the Data API team?
Thanks again for your support!
Pavithra Surkanti
On Sat, Nov 21, 2026 at 4:41 AM Batuhan ***@***.***> wrote:
> @jaharoni <https://github.com/jaharoni> The mechanism you describe is
> right, and it is worth keeping separate from query time. Warp's
> setTimeout is a slowloris guard on connection progress, and the timer is
> paused while the handler runs, so a slow query or slow OpenAPI
> introspection cannot produce Thread killed by timeout manager. That
> leaves a client that stalls or disappears mid-request, and an internal
> health probe is a plausible candidate.
>
> What the log line alone cannot do is identify that client. To confirm the
> probe attribution for this project, correlate the 471 timestamps with
> edge/proxy logs and check whether those connections ever completed a
> request. If they did not, the probe explanation is solid and the fix is on
> the support side (SU-547945), not a PostgREST setting. pg_stat_activity
> is still worth checking for long-running transactions, but it will not
> explain this particular log line.
>
> —
> Reply to this email directly, view it on GitHub
> <#53746?email_source=notifications&email_token=BFZHCBPR6S6PSUGNBGXYV2D52FWN3A5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJXHEZTEMZXUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussioncomment-19793237>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BFZHCBIECPKJISW5CNVBBAD52FWN3AVCNFSNUABIKJSXA33TNF2G64TZHMZDCNBVHA3TCOJTHNCGS43DOVZXG2LPNY5TCMJTGYZDMMJZUF3AE>
> .
> Triage notifications, keep track of coding agent tasks and review pull
> requests on the go with GitHub Mobile for iOS
> <https://github.com/notifications/mobile/ios/BFZHCBK2ILBLMKGNJG7BOU352FWN3A5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJXHEZTEMZXUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSVGM33PORSXEX3JN5ZQ>
> and Android
> <https://github.com/notifications/mobile/android/BFZHCBOV733UCPMI7URQ2UD52FWN3A5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJXHEZTEMZXUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSXGM33PORSXEX3BNZSHE33JMQ>.
> Download it today!
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
|
The When this probe fails while client requests continue to succeed, it typically points to: 1. Connection Pool Starvation on the Health ProbePostgREST maintains an internal pool to PostgreSQL. If long-running API queries or unindexed queries hold pool connections open, the periodic health check cannot acquire a database connection before its strict timeout (typically 2-3 seconds) expires, tripping the 2. Inspecting Active Locks and Long QueriesRun this in the Supabase SQL Editor to check for lingering queries that block pool connections: SELECT pid, now() - pg_stat_activity.query_start AS duration, query, state
FROM pg_stat_activity
WHERE state != 'idle'
ORDER BY duration DESC;If you find idle-in-transaction connections, check if any Edge Functions or backend services are opening transactions without committing. 3. Restarting PostgRESTIn Project Settings -> Infrastructure, click Restart Services -> PostgREST to cycle the daemon and clear stale internal pool sockets. |
Uh oh!
There was an error while loading. Please reload this page.
Hi Supabase Team,
I'm experiencing a persistent REST: UNHEALTHY status on my production Supabase project in the Sydney region (Free plan).
The issue has been ongoing since at least November 11, 2026. I raised support ticket SU-547945 and have sent multiple follow-ups, but unfortunately, I haven't received a technical response yet.
I've spent considerable time investigating this issue and would appreciate some guidance from the Supabase team or community.
Current service status
Logs investigation (November 19–20, 2026, UTC)
I ran read-only queries against Supabase Logs to investigate PostgREST errors, database connection failures, and possible service restarts.
The results were:
The recurring PostgREST log message is:
Warp server error: Thread killed by timeout managerThe single connection-related PostgreSQL log message was:
could not receive data from client: Connection reset by peerUTC timestamp:
2026-11-20T14:17:01.453000ZThere were no matching PostgREST connection or schema-cache error codes in the period checked. However, the absence of restart-related messages does not necessarily mean the service hasn't restarted.
Current impact
Despite the REST service being marked UNHEALTHY, normal API requests continue to succeed.
The production website is functioning, and the monitored endpoints are responding successfully.
This makes me suspect that the issue could be related to an internal PostgREST health-check timeout rather than a complete REST API outage. However, I haven't been able to confirm the root cause.
Questions for the Supabase team
Warp server error: Thread killed by timeout managera known PostgREST issue or an indication of an internal service problem?Since this is a live production project, I would prefer to avoid restarting services or changing database settings without understanding the risks.
The issue has remained unresolved for several days, and I would really appreciate any guidance on how to investigate or resolve it safely.
Thank you for your time and support.
All reactions