How to troubleshoot gateway timeout in Next14?
Unanswered
Irish Red and White Setter posted this in #help-forum
Irish Red and White SetterOP
We run NextJS 14.2.5 as a docker container on Azure.
Intermittently, some CMS pages for our client are not possible to load. They result in a 504 gateway timeout. NextJS is the direct app responding, we do not have a load balancer or anything in front.
We use pages router, but
It's as if NextJS has decided that "from now on we will not bother loading this URL".
Restarting the web service clears the issue until next random URL gets afflicted.
Is there any way to troubleshoot this in NextJS or are we left in the hands of the almighty NextJS devs?
Intermittently, some CMS pages for our client are not possible to load. They result in a 504 gateway timeout. NextJS is the direct app responding, we do not have a load balancer or anything in front.
We use pages router, but
getStaticProps
that is used for every non-cached page render, is not even reached when this happens.It's as if NextJS has decided that "from now on we will not bother loading this URL".
Restarting the web service clears the issue until next random URL gets afflicted.
Is there any way to troubleshoot this in NextJS or are we left in the hands of the almighty NextJS devs?