Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

oicq@2.3.1-MacOS存在QQ版本过低,请升级至最新版本后再登录。 #408

Open
AFanSKyQs opened this issue Aug 16, 2022 · 7 comments

Comments

@AFanSKyQs
Copy link

AFanSKyQs commented Aug 16, 2022

Node.js Version

v16.16.0

Package(oicq) Version

2.3.1

Login Protocol

iMac

Bug Description (最好截图说明,你的文字描述可能无法准确传达信息)

config配置:MacOS
platform:"4", //1:安卓手机、 2:aPad 、 3:安卓手表、 4:MacOS 、 5:iPad

今天不知道哪个时间就不行了,重启一下就不能进去了,提示版本低
至少在2022-8-15晚上23点左右MacOS还能启动上。

Log Details (控制台日志,请提供包含前后一段时间内的)

Administrator@10_0_0_11 MINGW64 /c/Bot/Yunzai-Bot (master)
$ node app
[2022-08-15T00:22:52.135] [MARK] [iMac:2565036359] - ----------
[2022-08-15T00:22:52.140] [MARK] [iMac:2565036359] - Package Version: oicq@2.3.1 (Released on 2022/6/21)
[2022-08-15T00:22:52.140] [MARK] [iMac:2565036359] - View Changelogs:https://github.com/takayama-lily/oicq/releases
[2022-08-15T00:22:52.141] [MARK] [iMac:2565036359] - ----------
[2022-08-15T00:22:52.318] [MARK] [iMac:2565036359] - 120.232.130.13:8080 connected
[2022-08-15T00:22:52.552] [MARK] [iMac:2565036359] - Welcome, ❣️是2233呀 ! 正在加载资源...
[2022-08-15T00:22:52.815] [MARK] [iMac:2565036359] - 加载了10个好友,6个群,0个陌生人
[2022-08-15T00:22:52.826] [MARK] [iMac:2565036359] - ----------

Administrator@10_0_0_11 MINGW64 /c/Bot/Yunzai-Bot (master)
$ node -v
v16.16.0

Administrator@10_0_0_11 MINGW64 /c/Bot/Yunzai-Bot (master)
$ node app
[2022-08-16T20:38:07.256] [MARK] [iMac:2565036359] - ----------
[2022-08-16T20:38:07.259] [MARK] [iMac:2565036359] - Package Version: oicq@2.3.1 (Released on 2022/6/21)
[2022-08-16T20:38:07.259] [MARK] [iMac:2565036359] - View Changelogs:https://github.com/takayama-lily/oicq/releases
[2022-08-16T20:38:07.260] [MARK] [iMac:2565036359] - ----------
[2022-08-16T20:38:07.384] [MARK] [iMac:2565036359] - 120.241.150.69:8080 connected
[2022-08-16T20:38:07.534] [ERROR] [iMac:2565036359] - [温馨提示]当前QQ版本过低,请升级至最新版本后再登录。点击进入下载页面

@liuzj288
Copy link

npm安装的还是旧版,怎么更新?

@goodspeed34
Copy link
Contributor

npm安装的还是旧版,怎么更新?

临时解决方法:sed -i 's/537064315/537128930/' node_modules/oicq/lib/core/device.js

@AnnAngela
Copy link

sed -i 's/537064315/537128930/' node_modules/oicq/lib/core/device.js

亲测有效,就是又需要验证一次

@wxj183589
Copy link

sed -i 's/537064315/537128930/' node_modules/oicq/lib/core/device.js

按照这个修改了,依旧提示[温馨提示]当前QQ版本过低,请升级至最新版本后再登录。
更改过机器人登录协议 oicq@2.3.1(1:安卓手机、 2:aPad 、 3:安卓手表、 4:MacOS 、 5:iPad)还是一样的结果无法登陆

@Arondight
Copy link

@takayama-lily 大佬有在关注这个问题吗

@raylua2566
Copy link

换成其他登录平台类型成功了

@goodspeed34
Copy link
Contributor

goodspeed34 commented Dec 14, 2022

如果任何平台都无法登陆那么就不是这个 issue。

有报告称手动生成设备文件能缓解全平台无法登陆的问题:
https://github.com/icqqjs/icqq/commit/567abb4223c8f51b85ba2072d319fb117badcef6

可以根据代码片段手动执行或 npm 安装 icqq 然后 createClient(uin, {random_device:true})

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants