mirai-api-http icon indicating copy to clipboard operation
mirai-api-http copied to clipboard

`ws` `singleMode:true` 连接上5秒钟会断开, `singleMode: false`则不会

Open sxd1140 opened this issue 1 year ago • 0 comments

2.9.1

adapters:
  - http
  - ws
debug: true
enableVerify: false
singleMode: true
cacheSize: 4096
adapterSettings:
  http:
    host: 0.0.0.0
    port: 8888
    cors: ["*"]
  ws:
    host: 0.0.0.0
    port: 9999

在断开之前发送消息也正常. 收到

{"syncId": "", "data": {"code": 0, "session": "SINGLE_SESSION"}}

后5秒钟断开连接.

sxd1140 avatar Nov 03 '23 03:11 sxd1140