Skip to content
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

[Bug]: 加载好友列表遇到错误 #2500

Open
4 tasks done
xxyy3130 opened this issue Dec 7, 2023 · 3 comments
Open
4 tasks done

[Bug]: 加载好友列表遇到错误 #2500

xxyy3130 opened this issue Dec 7, 2023 · 3 comments
Labels
bug? The issue author think this is a bug

Comments

@xxyy3130
Copy link

xxyy3130 commented Dec 7, 2023

请确保您已阅读以上注意事项,并勾选下方的确认框。

  • 我已经仔细阅读上述教程和 "提问前需知"
  • 我已经使用 dev分支版本 测试过,问题依旧存在。
  • 我已经在 Issue Tracker 中找过我要提出的问题,没有找到相同问题的ISSUE。
  • 我已知晓并同意,此处仅用于汇报程序中存在的问题。若这个 Issue 是关于其他非程序本身问题,则我的 Issue 可能会被无条件自动关闭或/并锁定。(这些问题应当在 Discussion 板块提出。)

go-cqhttp 版本

1.2.0

运行环境

Windows (64)

运行架构

None

连接方式

WebSocket (正向)

使用协议

4 | 企点

重现步骤

登录到加载好友列表时出错,然后go-cqhttp自动结束

期望的结果是什么?

成功登录运行

实际的结果是什么?

登录过程出错

简单的复现代码/链接(可选)

No response

日志记录(可选)

[2023-12-07 12:42:43] [INFO]: 开始尝试登录并同步消息...
[2023-12-07 12:42:43] [INFO]: 使用协议: 企点 5.0.0
[2023-12-07 12:42:44] [INFO]: 从文件 data/versions/4.json 读取协议版本 企点 5.7.1.
[2023-12-07 12:42:44] [INFO]: Protocol -> connect to server: 117.62.242.155:8080
[2023-12-07 12:42:44] [WARNING]: Protocol -> device lock is disable. http api may fail.
[2023-12-07 12:42:47] [INFO]: 收到服务器地址更新通知, 将在下一次重连时应用.
[2023-12-07 12:42:48] [INFO]: 登录成功 欢迎使用: 
[2023-12-07 12:42:48] [INFO]: 开始加载好友列表...
[2023-12-07 12:42:49] [FATAL]: 遇到错误: rsp body is nil

补充说明(可选)

重试多次仍然不行,更换网络后重试也不行

@xxyy3130 xxyy3130 added the bug? The issue author think this is a bug label Dec 7, 2023
@YuLiu-lab
Copy link

同这个问题,好像是好友信息结构变了。但我看源码,是根据getFriendList这个函数获取的,但这个函数具体的代码我没找到。

@shuaidaodehongshaorou
Copy link

在 源码中 删掉 获取好友列表的 代码逻辑即可 【不使用好友列表的情况下】

@98gay
Copy link

98gay commented Jan 4, 2024

在 源码中 删掉 获取好友列表的 代码逻辑即可 【不使用好友列表的情况下】

怎么搞得老哥 能救一下吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug? The issue author think this is a bug
Projects
None yet
Development

No branches or pull requests

4 participants