Hello, I have a website using Next js app router where I get a specific connection error only when it is deployed, not when I run locally. By locally I mean I run the production build and run it locally using npm run start.
I even tried purging the data cache and redeployments but the issue persists

The vercel website is here: https://vercel.com/mohid/website
Basically the behavior is that I have a route handler at /graph which is a GET function. I import that GET function in the page.tsx of the / root endpoint and wrap it in unstable_cache. Somehow it works perfectly fine locally, the console log statements print out as expected. When I deploy on Vercel the /graph endpoint works as expected, but in the vercel log I can see the connection errors for the / root endpoint.
Any help is determining why this connection error happens is greatly appreciated!
The GitHub repo is here: https://github.com/mohidmakhdoomi/personal-website/blob/main/app/page.tsx
