I don't know how to debug this issue.
Unanswered
Smultar.json posted this in #help-forum
https://vercel.com/docs/error/application/EDGE_FUNCTION_INVOCATION_TIMEOUT
I tried migrating from Cloudflare pages, to vercel and well... I literally don't know why i'm experiencing a timeout.
It says to check the logs, but it doesn't really provide any details.
I tried migrating from Cloudflare pages, to vercel and well... I literally don't know why i'm experiencing a timeout.
It says to check the logs, but it doesn't really provide any details.
6 Replies
most probably, the gw-to implies you did not get a response from upstream server, in this case Discord OAuth, in a certain time. the call back of Auth.js invokes the Discord OAuth to get an accessToken with the authorization code passed.
gateway timeout
in this context, a Next.js instance is a gateway to a Discord OAuth api
a web browser -> a Next.js(Vercel) -> a Discord