Comments (10)
@laike9m
你用了自动重登的逻辑了不,在 travis/linux/terminal_bot里有示例。
synccheck 出现这种sel值的时候 如果不处理,会一直出现,收不到消息。
from wechat-go.
看到了,今天再试试
from wechat-go.
@laike9m
这个问题解决了不?
from wechat-go.
还在测试。明天告诉你结果
from wechat-go.
挂了一晚上,似乎正常
from wechat-go.
看了一下,从昨天晚上挂到今天上午10点之后出错,出错部分的log如下:
2017/07/13 10:02:28 ^[[1;34m[I] webpush.web.wechat.com 0 0^[[0m
2017/07/13 10:02:54 ^[[1;34m[I] webpush.web.wechat.com 0 0^[[0m
2017/07/13 10:02:54 ^[[1;34m[I] webpush.web.wechat.com 1102 0^[[0m
2017/07/13 10:02:54 ^[[1;31m[E] re-login error, unhandled exception ret 1102^[[0m
2017/07/13 10:02:57 ^[[1;34m[I] trying re-login with cache^[[0m
2017/07/13 10:02:57 ^[[1;34m[I] &{19824161 @972b6ca63b93aeb73a30cf15c5a55484af3e51fcb767d82e91f69c70ec78eb98 David /cgi-bin/mmwebwx-bin/webwxgeticon?seq=432787763&username=@972b6ca63b93aeb73a30cf15c5a55484af3e51fcb767d82e91f69c70ec78eb98&skey=@crypt_a0547333_2b22366cb459bf28ae34a1b1886ead99 0 0 [] 0 0 1 <span class="emoji emoji1f60a"></span> 0 0 0 0 0 0 1 0 0 0 0 0}^[[0m
2017/07/13 10:02:58 ^[[1;34m[I] entering synccheck loop^[[0m
2017/07/13 10:02:58 ^[[1;34m[I] webpush.web.wechat.com 1102 0^[[0m
2017/07/13 10:02:58 ^[[1;31m[E] re-login error, unhandled exception ret 1102^[[0m
2017/07/13 10:03:02 ^[[1;34m[I] QZY0MCzytg==^
from wechat-go.
我大概知道问题在哪了,如果 useCache = true 就会沿用之前的线路,但线路有可能变化,所以应该设置成 false
from wechat-go.
@laike9m
不完全对,当线路没变的时候没问题。设置为false就不能利用cache登陆了,可以把线路记录下来,沿用之前的线路。
目前登陆已经出了专门用于重登的api,我还没加上去。
from wechat-go.
不利用 cache 登陆会有什么问题么?毕竟第一次总是没有 cache 的
from wechat-go.
不用cache就要扫码
from wechat-go.
Related Issues (20)
- 请问支持添加好友吗? HOT 10
- 请问怎么获取群的成员列表 HOT 1
- 求助,如果用于微信自动回复 HOT 11
- no handlers for key HOT 1
- 接受好友请求后似乎就报错无法使用了
- 第三方平台支持 HOT 1
- 微信收款信息是乱码,需要解密吧 HOT 1
- 还更新吗? HOT 3
- 频繁掉线,自动重新登陆失败 HOT 3
- 请问怎么判断联系人是否是公众号呢? HOT 1
- 弱弱的问一下appid和发送消息的文档在哪里可以查看申请。。 HOT 1
- 如何主动给好友发消息 HOT 2
- go mod的问题
- 微控BUG反馈帖 HOT 3
- 微信网页版登陆接口增加了环境监测实在cookie中设置的
- 不好意思,想问下如何发送本地文件夹下图片 HOT 2
- 如何邀请自己好友进群? HOT 2
- 能否弄一些管理工具函数
- 还有维护吗 HOT 5
- 能获取小程序登陆的二维码码 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wechat-go.