504 gateway timeout on page loads #7268
-
SummaryHi, I am getting 504 error on page loads, according to some information gathered online, this usually happens when the page sends a request to serveless function (/api), however my page does not send any requests to the serveless function in vercel, but it does send request to supabase onLoad. Could this be related? Under what situations will I get a 504 other than /api calls take too long to respond? ExampleNo response Steps to ReproduceIt happens randomly, not all the time |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You could get a 504 if the actual page response runs out of time as well, it's not limited to the |
Beta Was this translation helpful? Give feedback.
-
This discussion was automatically locked because the community moved to a new site. Please join us at vercel.community |
Beta Was this translation helpful? Give feedback.
You could get a 504 if the actual page response runs out of time as well, it's not limited to the
/api
route orroute.ts
files (assuming NextJS) and it very well could be theonLoad()
you may want to try console logging out some time stamps across parts of whatever route is having the issue to see if it is truly running over or if it is another issue entirely