处置WS命令时发生无法恢复的异常 #1206
Unanswered
lindongbin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
机器人发送消息的时候偶尔会出现,已经出现多次,不是每次都能出现
消息没什么特别的,正常的三四个中文字
版本v1.0.0-beta8-fix1,ipad协议
[2021-11-29 07:47:28] [INFO]: 收到群 内 的消息: 消息 (-1991958431)
[2021-11-29 07:47:28] [INFO]: 发送群 的消息: 消息 (-1991958431)
[2021-11-29 07:47:28] [INFO]: 处置WS命令时发生无法恢复的异常:concurrent write to websocket connection
goroutine 224753 [running]:
runtime/debug.Stack()
runtime/debug/stack.go:24 +0x88
github.com/Mrs4s/go-cqhttp/server.(*wsConn).handleRequest.func1(0x40007ba750)
github.com/Mrs4s/go-cqhttp/server/websocket.go:338 +0x48
panic({0x772220, 0x9dc6e0})
runtime/panic.go:1038 +0x224
github.com/gorilla/websocket.(*messageWriter).flushFrame(0x40006aeba0, 0x1, {0x0, 0x0, 0x0})
github.com/gorilla/[email protected]/conn.go:610 +0x508
github.com/gorilla/websocket.(*messageWriter).Close(0x40006aeba0)
github.com/gorilla/[email protected]/conn.go:724 +0x58
github.com/Mrs4s/go-cqhttp/server.(*wsConn).handleRequest(0x40007ba750, 0x400046ebd0, {0x4000011900, 0x64, 0x4ae})
github.com/Mrs4s/go-cqhttp/server/websocket.go:351 +0x4d4
github.com/Mrs4s/go-cqhttp/server.(*webSocketServer).listenAPI.func2(0x40007ba750, 0x4000586120, 0x40006ae060)
github.com/Mrs4s/go-cqhttp/server/websocket.go:327 +0x94
created by github.com/Mrs4s/go-cqhttp/server.(*webSocketServer).listenAPI
github.com/Mrs4s/go-cqhttp/server/websocket.go:325 +0xf4
Beta Was this translation helpful? Give feedback.
All reactions