httpx.ReadTimeout: The read operation timed out

Hi I am receiving periodically this issue from my supabase api in python. I am guessing I need to pay more and use bigger addon but the problem is that looking at all your dashboard metrics i do not see any issue. Could you hep me? Thanks
1 Reply
garyaustin
garyaustin2y ago
You would need to isolate what is timing out and fix that query. This is likely not a system overload issue but a long running query. Under reports you can get info on long running queries. You can see what your query is when you get the error.
There is ability to allow longer running queries by adjusting the system timeouts. https://supabase.com/docs/guides/database/postgres/configuration#timeouts If I recall python also has some sort of timeout of like 8 seconds but I don't use it. For anyone here to help you more you will need to provide info on what is getting the timeout.
Database configuration | Supabase Docs
Updating the default configuration for your Postgres database.

Did you find this page helpful?