Closed mnksingh1996 closed 5 years ago
Please follow the issue template.
https://github.com/zeit/next.js/issues/new/choose
https://github.com/zeit/next.js/issues/new?template=8.Question_about_next.md
# Question about Next.js
GitHub Issues are reserved for Bug reports and Feature requests. The best place to get your question answered is to post it on https://spectrum.chat/next-js.
@para27rsh did you find the solution???. I am also experiencing this issue.
@mnksingh1996 did you find the solution???. I am also experiencing this issue.
Hey! Same issue over here.
I'm stuck with this as well.. Any news?
I tried with NodeJs 12
, 14
, and 15
without luck.
It happens when I run my nextjs (v10.0.7
) app in a Debian slim-buster
docker container with env production
.
It cannot reproduce this locally.
I tried with axios and fetch and the error is similar. I stopped using getInitialProps for now.
Did anyone fix this? I'm having the same issue since Next JS 11.
In my case it's when I'm running two fetch calls in the same block of code fairly close together (they're both preceded by await, so they don't overlap). The second call consistently fails.
Ahhh I've found my issue. In case this helps anyone, I eventually discovered in NextJS 11 keep-alive
was added by default. There is now an option to turn this off in the Next config., so i just set it back to false.
I'd initially struggled to turn this off in express because I have a custom server.
hi everyone i want to fetch api with next js but i got this error -> FetchError: request to https://api.themoviedb.org/3/discover/movie?api_key=cd7789*******************&with_genres=27 failed, reason: read ECONNRESET what should i do ?? i replace the api with jsonPlaceholder and it worked i dont know why this api not working. help me please....
Hi, I am trying to send request to the below api: https://stagecore.mentorz.com:8443/mentorz/api/v3/user/0/trendingmentors
And I am sometimes getting ECONNRESET error when requesting the api from server. But it is not replicating when calling from client(browser) or postman. Also Sometimes the same thing works. The api works 6 out of 10 times on page refresh. I have tried increasing timeout of node.js and switching networks and whatnot and nothing seems to work. Please find below the stack trace I am getting from axios error object.