Comments (9)
能否提供前后更多一点的日志
from oicq.
from oicq.
[2020-12-29T14:46:13.697] [INFO] [BOT:1684250818] - connecting to msfwifi.3g.qq.
com:8080
[2020-12-29T14:46:13.742] [INFO] [BOT:1684250818] - 113.96.13.87:8080 connected
[2020-12-29T14:46:13.916] [INFO] [BOT:1684250818] - 113.96.13.87:8080 closed
[2020-12-29T14:46:18.643] [DEBUG] [BOT:1684250818] - getMsg发生错误。
[2020-12-29T14:46:18.648] [DEBUG] [BOT:1684250818] - TimeoutError
at Timeout._onTimeout (C:\Users\gaozhe\Desktop\SJ_onebot\node_modules\oicq\c
lient.js:221:28)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
[2020-12-29T14:46:18.767] [ERROR] [BOT:1684250818] - register失败。
[2020-12-29T14:46:18.771] [WARN] [BOT:1684250818] - 5秒后重新连接。
[2020-12-29T14:46:23.789] [INFO] [BOT:1684250818] - connecting to msfwifi.3g.qq.
com:8080
[2020-12-29T14:46:23.839] [INFO] [BOT:1684250818] - 113.96.13.87:8080 connected
[2020-12-29T14:46:24.464] [INFO] [BOT:1684250818] - Welcome, Olivia ! 开始初始化
资源...
[2020-12-29T14:46:24.529] [DEBUG] [BOT:1684250818] - Error: unknown jce type: 14
at readBody (C:\Users\gaozhe\Desktop\SJ_onebot\node_modules\jce\jce.js:112:1
- at readElement (C:\Users\gaozhe\Desktop\SJ_onebot\node_modules\jce\jce.js:20
2:17)
at Object.decode (C:\Users\gaozhe\Desktop\SJ_onebot\node_modules\jce\jce.js:
370:30)
at Object.decodeWrapper (C:\Users\gaozhe\Desktop\SJ_onebot\node_modules\oicq
\lib\jce.js:20:25)
at AndroidClient.onPushReq (C:\Users\gaozhe\Desktop\SJ_onebot\node_modules\o
icq\lib\core.js:19:24)
at AndroidClient.parseIncomingPacket (C:\Users\gaozhe\Desktop\SJ_onebot\node
modules\oicq\lib\core.js:293:25)
at AndroidClient. (C:\Users\gaozhe\Desktop\SJ_onebot\node_modules
\oicq\client.js:146:50)
at AndroidClient.emit (events.js:314:20)
at emitReadable (_stream_readable.js:558:12)
at processTicksAndRejections (internal/process/task_queues.js:83:21)
[2020-12-29T14:46:27.713] [INFO] [BOT:1684250818] - 加载了1832个好友,52个群。
[2020-12-29T14:46:27.718] [INFO] [BOT:1684250818] - 初始化完毕,开始处理消息。
from oicq.
这个日志看上去是第一次连接失败了,然后重连后没问题。
相比之下我更在意上面的连续3个getMsg超时之前发生了什么。。
from oicq.
cron_config_interval: 10000,
version: '1.12.3.1',
redis_config: { host: '192.168.0.4', port: '6379', index: 1 }
}
[2020-12-29T14:46:11.822] [INFO] [BOT:1684250818] - 开启http服务器成功,监听0.0.
0.0:5004
[2020-12-29T14:46:12.326] [INFO] [BOT:1684250818] - connecting to msfwifi.3g.qq.
com:8080
[2020-12-29T14:46:12.408] [INFO] [BOT:1684250818] - 113.96.13.87:8080 connected
[2020-12-29T14:46:13.354] [INFO] [BOT:1684250818] - Welcome, Olivia ! 开始初始化
资源...
[2020-12-29T14:46:13.635] [INFO] [BOT:1684250818] - 113.96.13.87:8080 closed
[2020-12-29T14:46:13.697] [INFO] [BOT:1684250818] - connecting to msfwifi.3g.qq.
com:8080
[2020-12-29T14:46:13.742] [INFO] [BOT:1684250818] - 113.96.13.87:8080 connected
[2020-12-29T14:46:13.916] [INFO] [BOT:1684250818] - 113.96.13.87:8080 closed
[2020-12-29T14:46:18.643] [DEBUG] [BOT:1684250818] - getMsg发生错误。
[2020-12-29T14:46:18.648] [DEBUG] [BOT:1684250818] - TimeoutError
from oicq.
最上面是已加载配置文件提示信息,然后依次connected两次closed之后就出现getMsg错误提示了
from oicq.
恩,是ip不稳定导致的
临时解决方法是手动设定hosts更换ip
https://site.ip138.com/msfwifi.3g.qq.com/ 这里面的ip都可以使用
(腾讯ip抽风这种情况可能会在某个特定的日子出现
from oicq.
另外,如果自动重试能连上,而不是一直连不上,就不用手动指定ip了
如果连接经常被close也可以考虑手动指定ip
from oicq.
好的,我先试试,谢谢
from oicq.
Related Issues (20)
- 有关日志等级"trace" | "debug" | "info" | "warn" | "error" | "fatal" | "mark" | "off" HOT 1
- [Must Fix] 所有设备登录所提供的版本全过期! HOT 23
- 发送的语音在pc无法播放
- 能不能发送文件 HOT 3
- 手表登录成功后重启需要重新扫码 HOT 1
- 无法登录,提示 当前QQ版本过低/环境异常 HOT 48
- 出现登陆保护,扫码后还是无法登陆,短信验证可以,但是每天有上限请问怎么解决 HOT 1
- 在获取ticket之后,没有给出扫码或者短信登录的选项就直接禁止登录了 HOT 8
- +1
- > "Cannot mkdir in a snapshot" 错误通常是由文件系统权限不足或磁盘空间不足等原因造成的, 当然我用了pkg . --target node14-linux-x64 --o ./dist/ --no-tmpdir --snapshot=false这种格式,禁用了快照机制。但还是不行,还是去报错
- 如何修改登录设备啊 HOT 1
- 调试报错 HOT 2
- 如何管理client.on的监听事件 HOT 4
- 有没有可能手机号登陆么 HOT 2
- ConfigPushSvc.PushReq toBuffer() 报错 HOT 1
- 无限token过期
- 登录不成功,总是提示token不存在
- 啥时候发新版 HOT 5
- 大佬们 默默的问一下 有没有获取群成员个性签名的~~
- 群文件的上传和转发操作不能在消息窗口显示
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 oicq.