Replies: 11 comments 4 replies
-
I am facing the same problem. But in my case even if I am not refreshing.
|
Beta Was this translation helpful? Give feedback.
-
I am using React Icon. Maybe it causing the error. I don't know for sure. But I modularizeImports reac icon. After that I didn't face any problem. Also I install next@canary. Now everything is going smoothly. |
Beta Was this translation helpful? Give feedback.
-
Thanks for that advice, I'm using the latest versions at the moment. I just
started using them and so far no issue, maybe they have fixed it in 13.4.20
```
***@***.***/all-files":
"https://github.com/react-icons/react-icons/releases/download/v4.11.0/react-icons-all-files-4.11.0.tgz",
"next": "^13.4.20-canary.35",
```
…On Mon, Sep 18, 2023 at 2:58 PM MD. Minhajur Rahman < ***@***.***> wrote:
Yes
—
Reply to this email directly, view it on GitHub
<#55033 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGTF3DVLQSO4BOYXYZNAM6LX3AV7DANCNFSM6AAAAAA4MS4WIM>
.
You are receiving this because you commented.Message ID: <vercel/next.
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I'm facing this issue in prod! and really have no idea what causes this |
Beta Was this translation helpful? Give feedback.
-
I'm getting this issue locally. Have been searching for hours on how to fix it, no luck. |
Beta Was this translation helpful? Give feedback.
-
Facing this issue in production intermittently, using og-image-generation. |
Beta Was this translation helpful? Give feedback.
-
Where does the port number in this error message come from? |
Beta Was this translation helpful? Give feedback.
-
I'm facing the same error in the production environment. But when I refresh the page everything works as expected. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I have 3 front+backs in production, it happens randomly, right now it killed one of my application, 3 days already. |
Beta Was this translation helpful? Give feedback.
-
I'm seeing this in production. It was happening in about 1 - 20 refreshes, but then I upgraded to a canary (v14.3.0-canary.63) and the issue seemed to have gone away. Unfortunately 2 days later it showed up again.
|
Beta Was this translation helpful? Give feedback.
-
Summary
I've been building an application in Nextjs 13 with app router.
However every ~5-20 minutes or so when working on it in development mode, I'll refresh the page to see some updated content and I'll get a "500
Internal Server Error."
In the terminal it's printing this error when it happens:
When it gets in this state, I have to exit the current dev-mode and restart nextjs. It's incredibly frustrating doing this every 5-20 minutes.
It always happens after I refresh the browser (but most of the time when I refresh work fine without issues). It's seemingly random when it happens? Although I usually refresh the browser after I make a change in the code.
My current best guess is that that there's a small time-frame where if you make a code-change and nextjs is doing a hot-reload while you refresh the browser, nextJS gets into a bad state that it doesn't recover from? But I feel like I would be able to find other examples of this issue if that was the case?
This is what the network requests look like when it's happening:
It fails to fetch any resources from the nextjs server, going to another route doesn't fix it either.
Given the severe lack of information in this error, I don't even know where to start debugging this.
Additional information
Beta Was this translation helpful? Give feedback.
All reactions