Skip to content

状态同步超过“”N“s未响应,5s后尝试重启 ,时不时会出现这个,而且只有手动重启Docker #338

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

Open
HarveyJiang opened this issue May 10, 2024 · 5 comments

Comments

@HarveyJiang
Copy link

image
uncaughtException GError: 状态同步超过273.226s未响应,5s后尝试重启
at Wechat.checkPolling (/wechaty/node_modules/wechat4u/lib/wechat.js:298:19)
at Timeout._onTimeout (/wechaty/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: 状态同步超过273.226s未响应,5s后尝试重启\n' +
' at Wechat.checkPolling (/wechaty/node_modules/wechat4u/lib/wechat.js:298:19)\n' +
' at Timeout._onTimeout (/wechaty/node_modules/wechat4u/lib/wechat.js:319:25)\n' +
' at listOnTimeout (node:internal/timers:559:17)\n' +
' at processTimers (node:internal/timers:502:7)'
}

有试用这个遇到这个情况么?之前看Issues有人提,没有看到解决方式,还是这个微信限制。

谢谢

@allforone
Copy link

有解决么

@HarveyJiang
Copy link
Author

有解决么

没有,目前遇到这种情况,只有重启然后重新扫码登录。

@SHADOW-LI0327
Copy link

我这里各种尝试解决了下,可以试试

  1. 通过Contact的Api搜索自己的微信给自己发消息,会报错,但是可以有效方式防止状态同步
  2. 移动端扫码登录的设备不要关闭微信,让他一直和服务器通信

@ZohnnyCode
Copy link

有解决吗?

@SHADOW-LI0327
Copy link

有解决吗?
OK的,额外补充一下

  1. 使用的账号尽量做点别的事情,比如打开小程序,发发朋友圈之类的
  2. 设备尽量用安卓,苹果测试下来会断,安卓挂后台进程双开微信还方便监控

image

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

4 participants