Some of my pages throw serverless function timeout
Unanswered
Oriental posted this in #help-forum
OrientalOP
Hello,
Some pages of my site built with Next and deployed on Vercel, throw serverless function timeout on production (all is working on local)
I tried to minimize the code to the maximum, to be sure the issue doesn't come from the code inside my page.
So now I'm with a page with only a useState inside, throwing an error.
There is no error in the build logs.
I'd like to give a hint that could maybe help someone understand the issue : if I rename the useState then I don't have serverless error anymore.
Thanks !
Some pages of my site built with Next and deployed on Vercel, throw serverless function timeout on production (all is working on local)
I tried to minimize the code to the maximum, to be sure the issue doesn't come from the code inside my page.
So now I'm with a page with only a useState inside, throwing an error.
There is no error in the build logs.
I'd like to give a hint that could maybe help someone understand the issue : if I rename the useState then I don't have serverless error anymore.
Thanks !
3 Replies
OrientalOP
No, here is my _app file
then idk what could be going wrong tbh. you can try contacting vercel support if you have a paid plan; if you have a hobby plan you can try asking at github discussions https://github.com/orgs/vercel/discussions