Next.js Application Troubleshooting

Job ID: 38177743

Budget: €10 – €50 EUR

I am encountering a persistent issue with my Next.js application and it is reproducible only in production where clicking on nav component to navigate between different pages results in the following error:
'Error: Connection closed.'
Next.js Version: 14
Related categories: JavaScript Node.js Next.js Vercel