skillrecordings/egghead-next

[BUG] 504 error

TarunavBA opened this issue · 3 comments

When I open https://egghead.io/ I see this error:

This Edge Function has timed out.

Your connection is working correctly.

Vercel is working correctly.

504: GATEWAY_TIMEOUT
Code: EDGE_FUNCTION_INVOCATION_TIMEOUT
ID: bom1::r4trt-1638939065616-48619b225abb

If you are a visitor, contact the website owner or try again later.
If you are the owner, learn how to fix the error and check the logs.

Reading the edge function documentation they are required to return a response within 1.5 seconds

24a6e45

In this commit, I've lowered the "safety fallback" to 1.25 seconds, which should be under the timeout threshold if the call to the service provider is slow.

What region are you in @TarunavBA? Can you test this for me and see if it works now?

@joelhooks I am in india.

@joelhooks now it is resolved thank you.