Replies: 1 comment
-
在ISSUES中看到另一个人也存在这个问题,但他的issue无回复被关闭了未得到解答,所以想问问,打扰了,感谢大佬 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
环境信息
go-cqhttp版本: v1.00 beta7 fix2
运行环境: Windows Server 2013
连接方式: 反向WS
使用协议: iPad
Bot框架:nonebot + HoshinoBot
bug内容
在发送较长文本或者内容比较数据化的文本时出现,命令可以正常相应。对应消息可以正常回复发送
但是gocqhttp的控制台则会报错
开启debug日志 如下
[2021-11-05 14:58:29] [DEBUG]: WS接收到API调用: send_msg 参数: {"group_id":,"message_type":"group","user_id":****,"message":[{"type":"text","data":{"text":"[\u516c\u5386]2021-11-05 \u661f\u671f\u4e94 \u5929\u874e\u5ea7\n[\u519c\u5386]\u4e8c\u96f6\u4e8c\u4e00 \u8f9b\u4e11[\u725b]\u5e74 \u5b63\u79cb \u5341\u6708\u5c0f\u521d\u4e00\n[\u8282\u65e5]\u5bd2\u8863\u8282\n[\u516b\u5b57]\u8f9b\u4e11 \u620a\u620c \u4e01\u5df3 \u4e01\u672a\n[\u8282\u6c14]2021-11-7 \u7acb\u51ac\n[\u65f6\u8fb0]\u4e01\u672a(14\u65f6) \u5409 \u7ecf\u7edc(\u5c0f\u80a0)\n[\u661f\u6b21]\u5927\u706b\n[\u4e09\u5408]\u9e21 \u725b [\u516d\u5408]\u7334\n[\u4e94\u884c]\u5929\u5e72(\u4e01)\u5c5e\u706b \u5730\u652f(\u5df3)\u5c5e\u706b \u7eb3\u97f3(\u7802\u4e2d\u571f)\u5c5e\u571f \u5eff\u516b\u5bbf(\u5a04\u91d1\u72d7) \u5efa\u9664\u5341\u4e8c\u795e('\u5371', '\u660e\u5802', '\u9ec4\u9053\u65e5')\n[\u4e5d\u5bab\u98de\u661f]168924573\n[\u5409\u795e\u65b9\u4f4d]['\u559c\u795e\u6b63\u5357', '\u8d22\u795e\u897f\u5357', '\u798f\u795e\u4e1c\u5357', '\u9633\u8d35\u897f\u5317', '\u9634\u8d35\u6b63\u897f']\n[\u5409\u795e]['\u6708\u8d22', '\u5409\u5e86', '\u9634\u5fb7', '\u7eed\u4e16', '\u5175\u5409']\n[\u51f6\u715e]['\u5929\u761f', '\u5929\u8d3c', '\u8840\u5fcc', '\u571f\u738b\u7528\u4e8b', '\u6e38\u7978', '\u9634\u9633\u4ea4\u7834', '\u4e13\u65e5', '\u91cd\u65e5']\n[\u5b9c]['\u796d\u7940', '\u5b89\u5e8a', '\u6064\u5b64\u8315', '\u96ea\u51a4']\n[\u5fcc]['\u51fa\u884c', '\u5243\u5934', '\u4fee\u9020', '\u6c42\u533b\u7597\u75c5', '\u4fee\u7f6e\u4ea7\u5ba4', '\u5f00\u6e20', '\u7a7f\u4e95', '\u5b89\u7893\u7859', '\u5e73\u6cbb\u9053\u6d82', '\u7834\u5c4b\u574f\u57a3', '\u683d\u79cd', '\u7834\u571f', '\u5b89\u846c', '\u542f\u6512', '\u5f00\u4ed3', '\u7b51\u5824\u9632', '\u4fee\u4ed3\u5e93', '\u89e3\u9664', '\u7eb3\u755c', '\u9488\u523a', '\u8865\u57a3', '\u7f2e\u57ce\u90ed', '\u4fee\u5bab\u5ba4', '\u6574\u5bb9', '\u6574\u624b\u8db3\u7532', '\u4fee\u9970\u57a3\u5899', '\u8425\u5efa']\n[\u751f\u8096\u51b2\u715e]\u86c7\u65e5\u51b2\u732a\n[\u5f6d\u7956\u767e\u5fcc]\u4e01\u4e0d\u5243\u5934 \u5934\u5fc5\u751f\u75ae,\u5df3\u4e0d\u8fdc\u884c \u8d22\u7269\u4f0f\u85cf\n\u4e3b\u8981\u5185\u5bb9\u6765\u81ea\u4e8e\u300a\u94a6\u5b9a\u534f\u7eaa\u8fa8\u65b9\u4e66\u300b"}}]}
[2021-11-05 14:58:29] [DEBUG]: Protocol -> rev pkt: MultiMsg.ApplyUp seq: 13919
[2021-11-05 14:58:29] [DEBUG]: Protocol -> rev pkt: MessageSvc.PbSendMsg seq: 13920
[2021-11-05 14:58:30] [DEBUG]: Protocol -> rev pkt: OnlinePush.PbPushGroupMsg seq: 11375
[2021-11-05 14:58:30] [DEBUG]: Protocol -> rev pkt: MultiMsg.ApplyDown seq: 13921
[2021-11-05 14:58:30] [ERROR]: Protocol -> panic on decoder MultiMsg.ApplyDown : runtime error: invalid memory address or nil pointer dereference
goroutine 207 [running]:
runtime/debug.Stack(0xc000077b00, 0xda5c20, 0x15a5a30)
runtime/debug/stack.go:24 +0xa5
github.com/Mrs4s/MiraiGo/client.(*QQClient).netLoop.func1.1(0xc0002f6000, 0xc000511180)
github.com/Mrs4s/[email protected]/client/network.go:204 +0x78
panic(0xda5c20, 0x15a5a30)
runtime/panic.go:965 +0x1c7
github.com/Mrs4s/MiraiGo/utils.HttpGetBytes.func1(0x0, 0x0)
github.com/Mrs4s/[email protected]/utils/http.go:23 +0x29
github.com/Mrs4s/MiraiGo/utils.HttpGetBytes(0xc00055e480, 0x17a, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff6ec0, 0xc00055c810)
github.com/Mrs4s/[email protected]/utils/http.go:25 +0x106
github.com/Mrs4s/MiraiGo/client.decodeMultiApplyDownResponse(0xc0002f6000, 0xc0002485c0, 0xc000552d80, 0x226, 0x226, 0x1, 0x0, 0x0, 0x0)
github.com/Mrs4s/[email protected]/client/multimsg.go:103 +0x271
github.com/Mrs4s/MiraiGo/client.(*QQClient).netLoop.func1(0xc0002f6000, 0xc000511180)
github.com/Mrs4s/[email protected]/client/network.go:211 +0x198
created by github.com/Mrs4s/MiraiGo/client.(*QQClient).netLoop
github.com/Mrs4s/[email protected]/client/network.go:201 +0x3d7
Beta Was this translation helpful? Give feedback.
All reactions