Replies: 9 comments 1 reply
|
Since your application requests were succeeding, I'd compare them with the Management API's service health result. This is a read-only check and does not restart anything: curl -fsS -H "Authorization: Bearer $SUPABASE_ACCESS_TOKEN" \
'https://api.supabase.com/v1/projects/PROJECT_REF/health?services=rest,db,pooler'Use your own Management API token locally and replace If The Supabase platform guide and Management API spec document the endpoint and service names. |
|
Additional diagnostic findings: I checked the Management API health endpoint:
PostgREST logs repeatedly show: API Gateway logs show successful Node-originated REST requests (HTTP 200, 201 and 204) around the same periods, with no observed 5xx responses. I also tested direct REST access using the publishable key. The requests returned PostgreSQL error 42501 because the anon role does not have SELECT privileges on the tested tables. I have not changed any permissions. Could the Supabase team investigate why the REST service health check fails while application requests continue succeeding? In particular, we'd appreciate confirmation of which internal health check is failing and whether the recurring Warp timeout messages are related. |
|
Thanks, Gary.
I've already submitted a support ticket (SU-547945), so I'll wait for the
support team to investigate.
I checked the database resource charts and connections earlier. CPU,
memory, and connection usage appeared normal, and I didn't find any blocked
or long-running queries.
I haven't restarted the project yet because it's a live production website,
and I'd prefer to avoid unnecessary downtime.
I'll check General Settings for any available project upgrade and report
back.
Thanks again for your guidance!
…On Tue, Nov 17, 2026 at 11:13 AM GaryAustin1 ***@***.***> wrote:
You need to wait on your support request to get your project looked at. It
won't happen from Github.
If you were on an older version of PostgREST it is possible the warp error
is a red herring as a recent version would generate that log entry all the
time and had nothing to do with it working or not.
Check your usage reports and database charts for anomalies.
Did you try a project restart? That does not impact your data. Also do you
have an upgrade available in general settings?
—
Reply to this email directly, view it on GitHub
<#53539?email_source=notifications&email_token=BFZHCBO4SDR24MQHLCBKLED5ZSBLNA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJWHA2TSOBVUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVRTG633UMVZF6Y3MNFRWW#discussioncomment-19685985>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BFZHCBLXZ6GDN2YBJIUP2D35ZSBLNAVCNFSNUABIKJSXA33TNF2G64TZHMZDCNBVHA3TCOJTHNCGS43DOVZXG2LPNY5TCMJTGMZDCMJWUF3AE>
.
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/BFZHCBIDIUWDY7C347YC2VT5ZSBLNA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJWHA2TSOBVUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVJTG633UMVZF62LPOM>
and Android
<https://github.com/notifications/mobile/android/BFZHCBNQX5XLIOWVVUJAPOT5ZSBLNA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJWHA2TSOBVUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVZTG633UMVZF6YLOMRZG62LE>.
Download it today!
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
|
Hi Gary, I checked General Settings and found the following:
Supabase indicates that the upgrade could take the project offline for up to an hour. I haven't performed the upgrade or restarted the project, since it's a live production website and the REST API requests we've tested are working. I'll wait for the support team's recommendation before making any changes. Thanks again! |
|
The Warp "thread killed by timeout manager" line is likely a red herring, as Gary said. What matters is that the health endpoint reports REST unhealthy while your app's own REST calls return 200. That check probes PostgREST itself, so a slow or failing schema cache load can flag it without breaking your app's queries. Two safe checks, no restart: in the PostgREST logs, look for "schema cache" load lines and how long they take. Then run NOTIFY pgrst, 'reload schema'; in the SQL editor and call the health endpoint again. If it turns healthy for a while and then flips back, something keeps triggering reloads, such as a migration or an event trigger. Your visitors aren't affected while API calls succeed, so I'd wait for support before upgrading. Disclosure: I run VibeFix, which fixes this kind of thing; free check at https://vibe-fixer.com |
|
Hi Team,
Thank you for your suggestion and for helping me investigate this issue.
I've completed a few additional checks on our production Supabase project:
-
The project dashboard still shows *Unhealthy*.
-
PostgREST logs continue to show repeated Warp server error: Thread
killed by timeout manager messages.
-
In the last 24 hours, the PostgREST log view showed no 4xx or 5xx
entries.
-
I checked pg_stat_activity, and the PostgREST connections were idle with
ClientRead wait events, with no obvious blocking.
-
Our application's Supabase health endpoint is responding successfully,
and UptimeRobot reports 100% uptime over the last 30 days.
The live website, Admin Portal, and gift-card notification system appear to
be functioning normally.
I haven't restarted any services or made configuration changes, as this is
a live production website.
Based on these results, would you recommend any further read-only checks to
identify why the internal REST health check is failing?
I appreciate your time and guidance. Thank you again!
…On Wed, Nov 18, 2026 at 6:05 AM yos88da ***@***.***> wrote:
The Warp "thread killed by timeout manager" line is likely a red herring,
as Gary said. What matters is that the health endpoint reports REST
unhealthy while your app's own REST calls return 200. That check probes
PostgREST itself, so a slow or failing schema cache load can flag it
without breaking your app's queries. Two safe checks, no restart: in the
PostgREST logs, look for "schema cache" load lines and how long they take.
Then run NOTIFY pgrst, 'reload schema'; in the SQL editor and call the
health endpoint again. If it turns healthy for a while and then flips back,
something keeps triggering reloads, such as a migration or an event
trigger. Your visitors aren't affected while API calls succeed, so I'd wait
for support before upgrading.
Disclosure: I run VibeFix, which fixes this kind of thing; free check at
https://vibe-fixer.com
—
Reply to this email directly, view it on GitHub
<#53539?email_source=notifications&email_token=BFZHCBOCD275AZ5O7QHVP6L5ZWF7BA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJXGA4DEMJTUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVRTG633UMVZF6Y3MNFRWW#discussioncomment-19708213>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BFZHCBOVFWQOPI3DWGOHVIT5ZWF7BAVCNFSNUABIKJSXA33TNF2G64TZHMZDCNBVHA3TCOJTHNCGS43DOVZXG2LPNY5TCMJTGMZDCMJWUF3AE>
.
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/BFZHCBLAGTSZZ42CYRS4K2T5ZWF7BA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJXGA4DEMJTUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVJTG633UMVZF62LPOM>
and Android
<https://github.com/notifications/mobile/android/BFZHCBJK3YNAD7B7MNN5Y2T5ZWF7BA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJXGA4DEMJTUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVZTG633UMVZF6YLOMRZG62LE>.
Download it today!
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
|
Hello Supabase Support Team,
I'm following up on ticket SU-547945 regarding the persistent PostgREST
Unhealthy status for our production project.
The issue is still ongoing, and we continue to see repeated Warp server
error: Thread killed by timeout manager messages.
We've completed additional checks:
-
API Gateway: 0 reported 4xx or 5xx errors in the last 60 minutes.
-
PostgreSQL logs: Only normal checkpoint activity.
-
Database connections: 16 connections, including 11 idle PostgREST
connections.
-
Active queries: No long-running or blocked queries observed.
-
Website and API requests: Working normally.
Despite this, PostgREST continues to show Unhealthy.
Could you please investigate the internal PostgREST health checks and
advise whether this is a platform-side issue?
We would prefer to avoid restarting our production database unless
necessary.
Thank you.
On Wed, Nov 18, 2026 at 8:35 AM Pavithra Surkanti <
***@***.***> wrote:
… Hi Team,
Thank you for your suggestion and for helping me investigate this issue.
I've completed a few additional checks on our production Supabase project:
-
The project dashboard still shows *Unhealthy*.
-
PostgREST logs continue to show repeated Warp server error: Thread
killed by timeout manager messages.
-
In the last 24 hours, the PostgREST log view showed no 4xx or 5xx
entries.
-
I checked pg_stat_activity, and the PostgREST connections were idle
with ClientRead wait events, with no obvious blocking.
-
Our application's Supabase health endpoint is responding successfully,
and UptimeRobot reports 100% uptime over the last 30 days.
The live website, Admin Portal, and gift-card notification system appear
to be functioning normally.
I haven't restarted any services or made configuration changes, as this is
a live production website.
Based on these results, would you recommend any further read-only checks
to identify why the internal REST health check is failing?
I appreciate your time and guidance. Thank you again!
On Wed, Nov 18, 2026 at 6:05 AM yos88da ***@***.***> wrote:
> The Warp "thread killed by timeout manager" line is likely a red herring,
> as Gary said. What matters is that the health endpoint reports REST
> unhealthy while your app's own REST calls return 200. That check probes
> PostgREST itself, so a slow or failing schema cache load can flag it
> without breaking your app's queries. Two safe checks, no restart: in the
> PostgREST logs, look for "schema cache" load lines and how long they take.
> Then run NOTIFY pgrst, 'reload schema'; in the SQL editor and call the
> health endpoint again. If it turns healthy for a while and then flips back,
> something keeps triggering reloads, such as a migration or an event
> trigger. Your visitors aren't affected while API calls succeed, so I'd wait
> for support before upgrading.
>
> Disclosure: I run VibeFix, which fixes this kind of thing; free check at
> https://vibe-fixer.com
>
> —
> Reply to this email directly, view it on GitHub
> <#53539?email_source=notifications&email_token=BFZHCBOCD275AZ5O7QHVP6L5ZWF7BA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJXGA4DEMJTUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVRTG633UMVZF6Y3MNFRWW#discussioncomment-19708213>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BFZHCBOVFWQOPI3DWGOHVIT5ZWF7BAVCNFSNUABIKJSXA33TNF2G64TZHMZDCNBVHA3TCOJTHNCGS43DOVZXG2LPNY5TCMJTGMZDCMJWUF3AE>
> .
> 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/BFZHCBLAGTSZZ42CYRS4K2T5ZWF7BA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJXGA4DEMJTUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVJTG633UMVZF62LPOM>
> and Android
> <https://github.com/notifications/mobile/android/BFZHCBJK3YNAD7B7MNN5Y2T5ZWF7BA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJXGA4DEMJTUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVZTG633UMVZF6YLOMRZG62LE>.
> Download it today!
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
|
To answer question 3 concretely: the message is from the HTTP layer, not from your SQL.
Read-only checks, safe in the SQL editor: -- 1. sessions by state, and how long the oldest one has been in that state
select state, count(*), max(now() - state_change) as longest
from pg_stat_activity
where datname = current_database()
group by state
order by 2 desc;
-- 2. anything holding a transaction open
select pid, usename, application_name, state,
now() - xact_start as xact_age, left(query, 80) as query
from pg_stat_activity
where xact_start is not null
order by xact_start
limit 20;What to look for in (1) and (2): rows in If you find them, the no-restart remedy is a session timeout rather than a restart: alter role authenticator set idle_in_transaction_session_timeout = '15s';It applies to new sessions only, so existing traffic is unaffected, and it does not modify data. If the SQL editor role isn't permitted to alter If both queries come back clean and there are no |
|
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 5:33 AM Batuhan ***@***.***> wrote:
To answer question 3 concretely: the message is from the HTTP layer, not
from your SQL.
Thread killed by timeout manager is Warp's own message: a request handler
ran past the server's response timeout (Warp's default is 30s), so the
runtime killed the thread. PostgREST does not emit that line itself. So the
useful reading is "requests are sitting longer than 30s", and the usual
reason that happens while *other* requests still return 200 is that
handlers are queued waiting for a database connection from PostgREST's
pool, not that individual queries are slow. The dashboard status is derived
from that same probe, which is why a handful of slow probes can flip it
while your app looks fine.
Read-only checks, safe in the SQL editor:
-- 1. sessions by state, and how long the oldest one has been in that stateselect state, count(*), max(now() - state_change) as longestfrom pg_stat_activitywhere datname = current_database()group by stateorder by 2 desc;
-- 2. anything holding a transaction openselect pid, usename, application_name, state,
now() - xact_start as xact_age, left(query, 80) as queryfrom pg_stat_activitywhere xact_start is not nullorder by xact_startlimit 20;
What to look for in (1) and (2): rows in idle in transaction, especially
from authenticator / application_name = 'postgrest'. Each one keeps a
pool slot occupied while doing nothing, so once the slots are gone every
new request waits, and the ones that wait past the timeout get killed
exactly like your log line. Clients that issue BEGIN and never commit (or
a pooled driver that leaks transactions) are the usual source.
If you find them, the no-restart remedy is a session timeout rather than a
restart:
alter role authenticator set idle_in_transaction_session_timeout = '15s';
It applies to new sessions only, so existing traffic is unaffected, and it
does not modify data. If the SQL editor role isn't permitted to alter
authenticator on a hosted project, ask support to apply it — that is a
legitimate, non-disruptive request to attach to SU-547945.
If both queries come back clean and there are no idle in transaction
rows, the stall is on the platform side and the ticket is the right path; a
restart wouldn't fix a cause you can't see.
—
Reply to this email directly, view it on GitHub
<#53539?email_source=notifications&email_token=BFZHCBPCW5VOSOJMS73ZJBD52F4O5A5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJXHEZTQOBQUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVRTG633UMVZF6Y3MNFRWW#discussioncomment-19793880>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BFZHCBNVZQNTHVXBEK6LGGL52F4O5AVCNFSNUABIKJSXA33TNF2G64TZHMZDCNBVHA3TCOJTHNCGS43DOVZXG2LPNY5TCMJTGMZDCMJWUF3AE>
.
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/BFZHCBOE73IUS77GR6HPOWD52F4O5A5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJXHEZTQOBQUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVJTG633UMVZF62LPOM>
and Android
<https://github.com/notifications/mobile/android/BFZHCBMELNL74Z4QM4IIXZ352F4O5A5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJXHEZTQOBQUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVZTG633UMVZF6YLOMRZG62LE>.
Download it today!
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Uh oh!
There was an error while loading. Please reload this page.
Hi Supabase Community,
Our production project, Beauty on Croydon Hill, has been showing an Unhealthy status in the Supabase dashboard.
Environment
Problem
PostgREST logs repeatedly show the following message, approximately every 10 minutes:
Example timestamp:
2026-11-17T15:41:05.782024ZTroubleshooting completed
We have an existing support ticket (SU-547945), but have not yet received a technical resolution.
Questions
Any guidance would be appreciated. Thank you!
All reactions