Next.js Discord

Discord Forum

Issue with .next Assets Not Loading in Docker Kubernetes Setup

Unanswered
Kurilian Bobtail posted this in #help-forum
Open in Discord
Kurilian BobtailOP
Hi everyone,

I'm facing an issue with my Next.js app running on Docker and Kubernetes. Initially, everything works fine—routes, APIs, and .next assets load without problems.

However, after a few hours, the .next assets stop loading while routes and APIs still work. When I curl the asset URLs inside the container, there's no response. Restarting the containers temporarily resolves the issue.

Has anyone experienced this or has insights on how to fix it? Any help would be appreciated!

Thanks!

1 Reply

American Goldfinch
I'm facing this issue as well.