whitechi73 / OpenShamrock

A Bot Framework based on Lsposed with OneBot11(停止维护/禁用于违法用途)
https://whitechi73.github.io/OpenShamrock
GNU General Public License v3.0
1.41k stars 190 forks source link

bug: 使用反向ws连接onebot v12接口一直报Missing connect meta event #52

Closed REllllll closed 1 year ago

REllllll commented 1 year ago

警告: 在进一步操作之前,请检查下列选项。如果您忽视此模板或者没有提供关键信息,您的 Issue 将直接被关闭

描述 Bug

连接到局域网内的nonebot就会报missing connect meta event
[14:49:06] INFO 强制协议类型 (PAD)
[14:49:06] INFO LoadLibrary(name = shamrock)
[14:49:07] INFO LoadLibrary(name = shamrock)
[14:49:07] WARN 尝试链接WebSocketClient(url = ws://192.168.1.178:4500/onebot/v12/ws/)
[14:49:07] INFO QIMEI获取: 73ba18bd04a1fcab6899093f10001cf17b0f
[14:49:07] INFO WebSocketClient onOpen: 101, Switching Protocols
[14:49:08] WARN WebSocketClientService: 初始化服务
[14:49:08] INFO WebSocketClient onClose: 1008, Missing connect meta event, true
[14:49:08] WARN WebSocketClientService: 释放服务
[14:49:08] WARN 未配置Token,将不进行鉴权。
[14:49:08] INFO MSF Packet Receiver running!
[14:49:08] INFO Fetch kernel service successfully: 0,292667675,true
[14:49:08] INFO Register MSG listener successfully.
[14:49:09] WARN testAction is enabled.
[14:49:11] INFO Start HTTP Server: http://0.0.0.0:5700/
[14:49:13] INFO WebSocketClient onOpen: 101, Switching Protocols
[14:49:13] WARN WebSocketClientService: 初始化服务
[14:49:13] INFO WebSocketClient onClose: 1008, Missing connect meta event, true
[14:49:13] WARN WebSocketClientService: 释放服务
[14:49:18] INFO WebSocketClient onOpen: 101, Switching Protocols
[14:49:18] WARN WebSocketClientService: 初始化服务
[14:49:18] INFO WebSocketClient onClose: 1008, Missing connect meta event, true
[14:49:18] WARN WebSocketClientService: 释放服务

复现 Bug

用被动ws连接nonebot就会出现这个问题

系统信息

whitechi73 commented 1 year ago

本项目不支持onebot12链接!