-
Notifications
You must be signed in to change notification settings - Fork 311
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
微信登录后24小时内自动被迫登出 #334
Comments
这个问题 后来有解决吗 |
+1 |
1 similar comment
+1 |
抱歉各位,这个问题后面没有得到解决,但是我在官方的discrod群内看到了官方所推荐的付费框架中解决了这类的问题,如果你想免费使用这个框架,目前来看是需要接受这个缺陷的,如果你原意付费使用,那么官方有提供最新的,更为全面的api框架,大抵是通过一个pc版本的微信客户端+系统协议来对相关操作进行封装 |
ok,各位开发者们,我忽然想到了一个可能性,并且我认为这个可能性比较合理。 |
pad版就是这个思路,可惜作者联系不上,不维护了 |
你好 请问可以提供一下付费框架的链接吗 |
我修改了node_modules/wechat4u/lib/wechat.js:302的new Error的内容,所有的自动登出报错由此产生,并使用cron.js设置每10分钟主动往群里发送一条消息,但是几个小时后,依旧莫名被退出登录,报错信息如下:
测试自动登出 17:20:0
uncaughtException GError: 状态同步超过351.401s未响应,5s后尝试重启当前时间17:21:21
at Wechat.checkPolling (/www/nodeserver/wechatrobot/node_modules/wechat4u/lib/wechat.js:302:19)
at Timeout._onTimeout (/www/nodeserver/wechatrobot/node_modules/wechat4u/lib/wechat.js:323:25)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7) {
code: 2,
details: 'Error: 状态同步超过351.401s未响应,5s后尝试重启当前时间17:21:21\n' +
' at Wechat.checkPolling (/www/nodeserver/wechatrobot/node_modules/wechat4u/lib/wechat.js:302:19)\n' +
' at Timeout._onTimeout (/www/nodeserver/wechatrobot/node_modules/wechat4u/lib/wechat.js:323:25)\n' +
' at listOnTimeout (node:internal/timers:573:17)\n' +
' at process.processTimers (node:internal/timers:514:7)'
}
可以明显的看出,我主动发送消息的时间是17:20:0,但是17:21:21却提示状态同步超过351s未响应,请问该如何解决这个问题
The text was updated successfully, but these errors were encountered: