We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.2.0
Windows (64)
AMD64
WebSocket (反向)
2 | Android Watch
启动go-cqhttp,等待生成二维码,随后立即报错
程序正常运行
报出错误:panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x8 pc=0x78a84f]并无法继续运行
No response
[2025-01-15 18:23:10] [WARNING]: 账号密码未配置, 将使用二维码登录. [2025-01-15 18:23:10] [WARNING]: 将在 5秒 后继续. [2025-01-15 18:23:15] [INFO]: 当前版本:v1.2.0 [2025-01-15 18:23:15] [INFO]: 将使用 device.json 内的设备信息运行Bot. [2025-01-15 18:23:15] [INFO]: 检查签名服务器:- (2/2) [2025-01-15 18:23:15] [INFO]: 检查签名服务器:http://127.0.0.1:1024 (1/2) [2025-01-15 18:23:15] [INFO]: 使用签名服务器 url=http://127.0.0.1:1024, key=114514, auth=- [2025-01-15 18:23:18] [INFO]: 注册QQ实例 成功: Instance loaded successfully. [2025-01-15 18:23:18] [INFO]: 使用签名服务器:http://127.0.0.1:1024 [2025-01-15 18:23:18] [INFO]: 自动刷新 token 已关闭,token 过期后获取签名时将不会立即尝试刷新获取新 token [2025-01-15 18:23:18] [INFO]: Bot将在5秒后登录并开始信息处理, 按 Ctrl+C 取消. [2025-01-15 18:23:18] [WARNING]: 定时刷新 token 已关闭 [2025-01-15 18:23:23] [INFO]: 开始尝试登录并同步消息... [2025-01-15 18:23:23] [INFO]: 使用协议: Android Watch 2.0.8 [2025-01-15 18:23:23] [INFO]: 正在检查协议更新... [2025-01-15 18:23:23] [INFO]: Protocol -> connect to server: 36.155.187.71:8080 [2025-01-15 18:23:27] [WARNING]: nil sign-server [2025-01-15 18:23:27] [INFO]: 请使用手机QQ扫描二维码 (qrcode.png) : [2025-01-15 18:23:28] [INFO]: 检查签名服务器:- (2/2) [2025-01-15 18:23:28] [INFO]: 检查签名服务器:http://127.0.0.1:1024 (1/2) [2025-01-15 18:23:31] [WARNING]: 签名服务器 http://127.0.0.1:1024 可能不可用,请求出现错误:Get "http://127.0.0.1:1024": dial tcp 127.0.0.1:1024: connectex: No connection could be made because the target machine actively refused it. panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x8 pc=0x78a84f] goroutine 1 [running]: github.com/Mrs4s/go-cqhttp/cmd/gocq.requestSignServer({0x91f507, 0x4}, {0x91f9a7, 0x4}, 0xc0001c03c0, {0xa23600, 0xc0001c03f0}) github.com/Mrs4s/go-cqhttp/cmd/gocq/qsign.go:134 +0x6f github.com/Mrs4s/go-cqhttp/cmd/gocq.signRequset(0x1?, {0x93d99b, 0x1}, {0x92c278, 0x11}, {0x0, 0x0}, {0xc0001ce000, 0xf6, 0xf6}) github.com/Mrs4s/go-cqhttp/cmd/gocq/qsign.go:234 +0x489 github.com/Mrs4s/go-cqhttp/cmd/gocq.sign(0xe3b7a0?, {0x93d99b, 0x1}, {0x92c278, 0x11}, {0x0, 0x0}, {0xc0001ce000, 0xf6, 0xf6}) github.com/Mrs4s/go-cqhttp/cmd/gocq/qsign.go:303 +0x125 github.com/Mrs4s/MiraiGo/client/internal/network.(*Transport).PackSecSign(0xc000008cd8, 0xc0004a1838) github.com/Mrs4s/MiraiGo@v0.0.0-20230823050531-a8213e127b2b/client/internal/network/transport.go:159 +0xbf github.com/Mrs4s/MiraiGo/client/internal/network.(*Transport).packBody(0xc000008cd8, 0xc0004a1838, 0xc00030a300) github.com/Mrs4s/MiraiGo@v0.0.0-20230823050531-a8213e127b2b/client/internal/network/transport.go:141 +0x390 github.com/Mrs4s/MiraiGo/client/internal/network.(*Transport).PackPacket(0xc000008cd8, 0xc0004a1838) github.com/Mrs4s/MiraiGo@v0.0.0-20230823050531-a8213e127b2b/client/internal/network/transport.go:217 +0x28f github.com/Mrs4s/MiraiGo/client.(*QQClient).buildQRCodeResultQueryRequestPacket(0xc0003d2000, {0xc0004860c0, 0x18, 0x18}) github.com/Mrs4s/MiraiGo@v0.0.0-20230823050531-a8213e127b2b/client/builders.go:231 +0x188 github.com/Mrs4s/MiraiGo/client.(*QQClient).QueryQRCodeStatus(0xc0004c2004?, {0xc0004860c0?, 0x125?, 0x30?}) github.com/Mrs4s/MiraiGo@v0.0.0-20230823050531-a8213e127b2b/client/client.go:310 +0x27 github.com/Mrs4s/go-cqhttp/cmd/gocq.qrcodeLogin() github.com/Mrs4s/go-cqhttp/cmd/gocq/login.go:110 +0x165 github.com/Mrs4s/go-cqhttp/cmd/gocq.LoginInteract() github.com/Mrs4s/go-cqhttp/cmd/gocq/main.go:334 +0x19f6 main.main() github.com/Mrs4s/go-cqhttp/main.go:20 +0x2a
因为密码登录会报错,故尝试二维码登录(协议无法更新)
The text was updated successfully, but these errors were encountered:
这个框架已经停止维护了😓
建议换其他的机器人框架,现在gocq快变成上个世纪的产物了
Sorry, something went wrong.
这个框架已经停止维护了😓 建议换其他的机器人框架,现在gocq快变成上个世纪的产物了
我接手了gocq,优化了登录,改NT协议,然后内置签名地址(Apad/Android 9.1.35,手表9.0.3),还能用 https://github.com/ProtocolScience/AstralGocq
No branches or pull requests
请确保您已阅读以上注意事项,并勾选下方的确认框。
go-cqhttp 版本
1.2.0
运行环境
Windows (64)
运行架构
AMD64
连接方式
WebSocket (反向)
使用协议
2 | Android Watch
重现步骤
启动go-cqhttp,等待生成二维码,随后立即报错
期望的结果是什么?
程序正常运行
实际的结果是什么?
报出错误:panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x8 pc=0x78a84f]并无法继续运行
简单的复现代码/链接(可选)
No response
日志记录(可选)
补充说明(可选)
因为密码登录会报错,故尝试二维码登录(协议无法更新)
The text was updated successfully, but these errors were encountered: