Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在项目中使用nacos-sdk-nodejs后,服务一段时间后会挂掉 #90

Open
kingchary opened this issue May 30, 2022 · 2 comments
Open

Comments

@kingchary
Copy link

kingchary commented May 30, 2022

各位大神,你们好。

我遇到个奇怪的问题,服务会突然断掉。
奇怪的是自己电脑没问题,但有两台测试服务器就出现这个问题。ping和crul nacos服务都正常。

代码截图
image

启动日志
2022-05-30 21:39:51,286 WARN 112165 nodejs.ResponseTimeoutError: register to channel: DiamondClient@undefined failed, will retry after 3s, Server no response in 3000ms, address#127.0.0.1:7777
at Timeout._onTimeout (/www/wwwroot/test/node_modules/tcp-base/lib/base.js:225:21)
at listOnTimeout (internal/timers.js:557:17)
at processTimers (internal/timers.js:500:7)
socketMeta: {"id":2,"dataLength":91,"bufferSize1":0,"bufferSize2":0,"startTime":1653917988281,"endTime":1653917988282,"writeSuccess":true}
name: "ResponseTimeoutError"
pid: 112165
hostname: localhost.localdomain

2022-05-30 21:39:57,292 WARN 112165 nodejs.ResponseTimeoutError: register to channel: DiamondClient@undefined failed, will retry after 3s, Server no response in 3000ms, address#127.0.0.1:7777
at Timeout._onTimeout (/www/wwwroot/test/node_modules/tcp-base/lib/base.js:225:21)
at listOnTimeout (internal/timers.js:557:17)
at processTimers (internal/timers.js:500:7)
socketMeta: {"id":3,"dataLength":91,"bufferSize1":0,"bufferSize2":0,"startTime":1653917994291,"endTime":1653917994291,"writeSuccess":true}
name: "ResponseTimeoutError"
pid: 112165
hostname: localhost.localdomain

2022-05-30 21:40:03,299 WARN 112165 nodejs.ResponseTimeoutError: register to channel: DiamondClient@undefined failed, will retry after 3s, Server no response in 3000ms, address#127.0.0.1:7777
at Timeout._onTimeout (/www/wwwroot/test/node_modules/tcp-base/lib/base.js:225:21)
at listOnTimeout (internal/timers.js:557:17)
at processTimers (internal/timers.js:500:7)
socketMeta: {"id":4,"dataLength":91,"bufferSize1":0,"bufferSize2":0,"startTime":1653918000296,"endTime":1653918000296,"writeSuccess":true}
name: "ResponseTimeoutError"
pid: 112165
hostname: localhost.localdomain

@wmvm0
Copy link

wmvm0 commented Sep 26, 2022

解决了吗,我也遇到这个问题了

@helloyxw
Copy link

我也遇到过这个问题,最后发现node项目停止时 端口号没有释放,把端口号释放了,问题就消失了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants