wechaty / puppet-wechat4u

Wechat4u Puppet for Wechaty
https://www.npmjs.com/package/wechaty-puppet-wechat4u
Apache License 2.0
114 stars 38 forks source link

启动登录之后一段时间就会报uncaughtException GError这个错误 #59

Open AKG-0501 opened 1 year ago

AKG-0501 commented 1 year ago

uncaughtException GError: 状态同步超过300s未响应,5s后尝试重启 at Wechat.checkPolling (/opt/getting-started-main/node_modules/wechat4u/lib/wechat.js:298:19) at Timeout._onTimeout (/opt/getting-started-main/node_modules/wechat4u/lib/wechat.js:319:25) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) { code: 2, details: 'Error: 状态同步超过300s未响应,5s后尝试重启\n' + ' at Wechat.checkPolling (/opt/getting-started-main/node_modules/wechat4u/lib/wechat.js:298:19)\n' + ' at Timeout._onTimeout (/opt/getting-started-main/node_modules/wechat4u/lib/wechat.js:319:25)\n' + ' at listOnTimeout (node:internal/timers:559:17)\n' + ' at processTimers (node:internal/timers:502:7)' } 这是因为网络问题吗?

AKG-0501 commented 1 year ago

uncaughtException GError: 状态同步超过219.301s未响应,5s后尝试重启 at Wechat.checkPolling (/data/wwwroot/btzz.bentuyilian.com/wechatbot/node_modules/wechat4u/lib/wechat.js:298:19) at Timeout._onTimeout (/data/wwwroot/btzz.bentuyilian.com/wechatbot/node_modules/wechat4u/lib/wechat.js:319:25) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) { code: 2, details: 'Error: 状态同步超过219.301s未响应,5s后尝试重启\n' + ' at Wechat.checkPolling (/data/wwwroot/btzz.bentuyilian.com/wechatbot/node_modules/wechat4u/lib/wechat.js:298:19)\n' + ' at Timeout._onTimeout (/data/wwwroot/btzz.bentuyilian.com/wechatbot/node_modules/wechat4u/lib/wechat.js:319:25)\n' + ' at listOnTimeout (node:internal/timers:559:17)\n' + ' at processTimers (node:internal/timers:502:7)' } 有解决办法吗

c517718004 commented 1 year ago

uncaughtException GError: 状态同步超过219.301s未响应,5s后尝试重启 at Wechat.checkPolling (/data/wwwroot/btzz.bentuyilian.com/wechatbot/node_modules/wechat4u/lib/wechat.js:298:19) at Timeout._onTimeout (/data/wwwroot/btzz.bentuyilian.com/wechatbot/node_modules/wechat4u/lib/wechat.js:319:25) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) { code: 2, details: 'Error: 状态同步超过219.301s未响应,5s后尝试重启\n' + ' at Wechat.checkPolling (/data/wwwroot/btzz.bentuyilian.com/wechatbot/node_modules/wechat4u/lib/wechat.js:298:19)\n' + ' at Timeout._onTimeout (/data/wwwroot/btzz.bentuyilian.com/wechatbot/node_modules/wechat4u/lib/wechat.js:319:25)\n' + ' at listOnTimeout (node:internal/timers:559:17)\n' + ' at processTimers (node:internal/timers:502:7)' } 有解决办法吗

还没有

zhengxs2018 commented 11 months ago

我挂服务器,用 node 20 经常这样,但我改用 node 18 已经稳定2周了。