-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
请确保您已阅读以上注意事项,并勾选下方的确认框。
- 我已经仔细阅读上述教程和 "提问前需知"
- 我已经使用 dev分支版本 测试过,问题依旧存在。
- 我已经在 Issue Tracker 中找过我要提出的问题,没有找到相同问题的ISSUE。
- 我已知晓并同意,此处仅用于汇报程序中存在的问题。若这个 Issue 是关于其他非程序本身问题,则我的 Issue 可能会被无条件自动关闭或/并锁定。(这些问题应当在 Discussion 板块提出。)
go-cqhttp 版本
v1.3.1-pre-8
运行环境
Windows (64)
运行架构
x86
连接方式
WebSocket (反向)
使用协议
6 | aPad
重现步骤
AstralGocq_windows_386.exe
反向 Websocket 通信
有账号,有密码
期望的结果是什么?
正常运行
实际的结果是什么?
运行崩溃
panic: runtime error: invalid memory address or nil pointer dereference
简单的复现代码/链接(可选)
日志记录(可选)
D:\AstralGocq>AstralGocq_windows_386.exe
[2025-07-12 14:17:43] [INFO]: 当前版本:v1.3.1-pre-8
[2025-07-12 14:17:43] [INFO]: 将使用 device.json 内的设备信息运行Bot.
[2025-07-12 14:17:43] [INFO]: Bot将在5秒后登录并开始信息处理, 按 Ctrl+C 取消.
[2025-07-12 14:17:48] [INFO]: 开始尝试登录并同步消息...
[2025-07-12 14:17:48] [INFO]: 使用协议: Android Pad 9.1.35.22670
[2025-07-12 14:17:48] [WARNING]: WebSocket check failed for wss://qsign.chahuyun.cn/ws, error: dial tcp: lookup qsign.chahuyun.cn: no such host
[2025-07-12 14:17:48] [WARNING]: HTTP check failed for https://qsign.chahuyun.cn, error: Get "https://qsign.chahuyun.cn": dial tcp: lookup qsign.chahuyun.cn: no such host
[2025-07-12 14:17:48] [WARNING]: Checking server: https://qsign.chahuyun.cn (7/7) failed!
[2025-07-12 14:17:48] [WARNING]: Checking server: wss://qsign.chahuyun.cn/ws (6/7) failed!
[2025-07-12 14:17:48] [WARNING]: HTTP check failed for https://qsign-v3.trpgbot.com, error: Get "https://qsign-v3.trpgbot.com": dial tcp: lookup qsign-v3.trpgbot.com: no such host
[2025-07-12 14:17:48] [WARNING]: WebSocket check failed for wss://qsign-v3.trpgbot.com/ws, error: dial tcp: lookup qsign-v3.trpgbot.com: no such host
[2025-07-12 14:17:48] [WARNING]: Checking server: https://qsign-v3.trpgbot.com (3/7) failed!
[2025-07-12 14:17:48] [WARNING]: Checking server: wss://qsign-v3.trpgbot.com/ws (4/7) failed!
[2025-07-12 14:17:50] [WARNING]: Checking server: https://qsign.trpgbot.com (2/7) failed!
[2025-07-12 14:17:50] [WARNING]: WebSocket check failed for wss://qsign.trpgbot.com/ws, error: websocket: bad handshake
[2025-07-12 14:17:50] [WARNING]: Checking server: wss://qsign.trpgbot.com/ws (1/7) failed!
[2025-07-12 14:17:51] [WARNING]: HTTP check failed for https://zyr15r-astralqsign.hf.space, error: Get "https://zyr15r-astralqsign.hf.space": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
[2025-07-12 14:17:51] [WARNING]: Checking server: https://zyr15r-astralqsign.hf.space (5/7) failed!
[2025-07-12 14:17:51] [WARNING]: no usable sign server
[2025-07-12 14:17:51] [WARNING]: 警告: 未配置签名服务器或签名服务器不可用, 这可能会导致登录 45 错误码或发送消息被风控
[2025-07-12 14:17:54] [INFO]: Protocol -> connect to server: 39.156.144.113:8080
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x1068252]
goroutine 1 [running]:
github.com/ProtocolScience/AstralGo/client/internal/network.(*Transport).packBody(0xa4ae000, 0xa761b50, 0xa5ac690)
github.com/ProtocolScience/AstralGo@v0.0.0-20250302221358-8a89e713a95b/client/internal/network/transport.go:158 +0x4e2
github.com/ProtocolScience/AstralGo/client/internal/network.(*Transport).PackPacket(0xa4ae000, 0xa761b50)
github.com/ProtocolScience/AstralGo@v0.0.0-20250302221358-8a89e713a95b/client/internal/network/transport.go:260 +0x33a
github.com/ProtocolScience/AstralGo/client.(*QQClient).buildLoginPacket(0xa4a8000)
github.com/ProtocolScience/AstralGo@v0.0.0-20250302221358-8a89e713a95b/client/builders.go:160 +0x1a45
github.com/ProtocolScience/AstralGo/client.(*QQClient).PasswordLogin(0xa4a8000)
github.com/ProtocolScience/AstralGo@v0.0.0-20250302221358-8a89e713a95b/client/client.go:284 +0x28
github.com/ProtocolScience/AstralGo/client.(*QQClient).Login(0xa4a8000)
github.com/ProtocolScience/AstralGo@v0.0.0-20250302221358-8a89e713a95b/client/client.go:275 +0x5e
github.com/ProtocolScience/AstralGocq/cmd/gocq.commonLogin()
github.com/ProtocolScience/AstralGocq/cmd/gocq/login.go:59 +0x23
github.com/ProtocolScience/AstralGocq/cmd/gocq.LoginInteract()
github.com/ProtocolScience/AstralGocq/cmd/gocq/main.go:358 +0x1eca
main.main()
github.com/ProtocolScience/AstralGocq/main.go:20 +0x29
D:\AstralGocq>补充说明(可选)
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels