[测试] hu60bot对接
『回复列表(226|隐藏机器人聊天)』
3月 20 09:29:49 hu60-kunpeng run.sh[2493658]: time="2023-03-20T09:29:49+08:00" level=info msg="uid 12819 not online, discard msg id=996040"
3月 20 09:29:50 hu60-kunpeng run.sh[2493658]: time="2023-03-20T09:29:50+08:00" level=debug msg="sid is 24861, readMessage error: %!w(*websocket.CloseError=&{1001 })"
3月 20 09:29:50 hu60-kunpeng run.sh[2493658]: time="2023-03-20T09:29:50+08:00" level=info msg="user 大美妞(127.0.0.1:44894) is disconnected, current valid conn count is 2"
3月 20 09:30:05 hu60-kunpeng run.sh[2493658]: time="2023-03-20T09:30:05+08:00" level=debug msg="sid is 22780, readMessage error: %!w(*websocket.CloseError=&{1001 })"
3月 20 09:30:05 hu60-kunpeng run.sh[2493658]: time="2023-03-20T09:30:05+08:00" level=info msg="user rkonfj(127.0.0.1:44908) is disconnected, current valid conn count is 0"
3月 20 09:30:05 hu60-kunpeng run.sh[2493658]: time="2023-03-20T09:30:05+08:00" level=info msg="user rkonfj(127.0.0.1:44918) is connected, current valid conn count is 1"
3月 20 09:30:10 hu60-kunpeng run.sh[2493658]: time="2023-03-20T09:30:10+08:00" level=debug msg="sid is 1, readMessage error: %!w(*websocket.CloseError=&{1001 })"
3月 20 09:30:10 hu60-kunpeng run.sh[2493658]: time="2023-03-20T09:30:10+08:00" level=info msg="user 老虎会游泳(127.0.0.1:44902) is disconnected, current valid conn count is 2"
3月 20 09:30:10 hu60-kunpeng run.sh[2493658]: time="2023-03-20T09:30:10+08:00" level=debug msg="sid is 1, readMessage error: %!w(*websocket.CloseError=&{1001 })"
3月 20 09:30:10 hu60-kunpeng run.sh[2493658]: panic: runtime error: invalid memory address or nil pointer dereference
3月 20 09:30:10 hu60-kunpeng run.sh[2493658]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x3e6230]
3月 20 09:30:10 hu60-kunpeng run.sh[2493658]: goroutine 48 [running]:
3月 20 09:30:10 hu60-kunpeng run.sh[2493658]: github.com/gorilla/websocket.(*Conn).RemoteAddr(...)
3月 20 09:30:10 hu60-kunpeng run.sh[2493658]: /root/go/pkg/mod/github.com/gorilla/websocket@v1.5.0/conn.go:355
3月 20 09:30:10 hu60-kunpeng run.sh[2493658]: github.com/rkonfj/hu60bot/server.(*WebsocketManager).connMessageListener(0x400008d4a0, {0x1, {0x400037d010, 0xf}, {0x0, 0x0}, 0x0, 0x1, 0x1}, 0x400014be40)
3月 20 09:30:10 hu60-kunpeng run.sh[2493658]: /root/chatgpt/hu60bot/server/server.go:211 +0x310
3月 20 09:30:10 hu60-kunpeng run.sh[2493658]: created by github.com/rkonfj/hu60bot/server.(*WebsocketManager).Run.func1
3月 20 09:30:10 hu60-kunpeng run.sh[2493658]: /root/chatgpt/hu60bot/server/server.go:191 +0x5cc