我的adapter-qq在运行成功链接后,可以正常链接qq服务器收发,但是在一段时间后(没有任何操作)就会报错关闭,求求大佬们帮我解答一下吧qwq
报错:
ConnectTimeoutError: Connect Timeout Error
at onConnectTimeout (C:\Users\ws675\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\undici\lib\core\connect.js:190:24)
at C:\Users\ws675\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\undici\lib\core\connect.js:133:46
at Immediate._onImmediate (C:\Users\ws675\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\undici\lib\core\connect.js:172:33)
at process.processImmediate (node:internal/timers:478:21)
TypeError: fetch failed
at node:internal/deps/undici/undici:12618:11
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async [cordis.invoke] (C:\Users\ws675\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@koishijs\plugin-http\node_modules@cordisjs\plugin-http\lib\index.cjs:327:19)
at async [as getGateway] (C:\Users\ws675\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@satorijs\adapter-qq\lib\index.cjs:588:32)
at async WsClient.prepare (C:\Users\ws675\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@satorijs\adapter-qq\lib\index.cjs:466:19)
at async reconnect (C:\Users\ws675\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@satorijs\core\lib\index.cjs:485:20)
Error: fetch https://sandbox.api.sgroup.qq.com/gateway failed
at C:\Users\ws675\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@koishijs\plugin-http\node_modules@cordisjs\plugin-http\lib\index.cjs:330:23
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async [cordis.invoke] (C:\Users\ws675\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@koishijs\plugin-http\node_modules@cordisjs\plugin-http\lib\index.cjs:327:19)
at async [as getGateway] (C:\Users\ws675\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@satorijs\adapter-qq\lib\index.cjs:588:32)
at async WsClient.prepare (C:\Users\ws675\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@satorijs\adapter-qq\lib\index.cjs:466:19)
at async reconnect (C:\Users\ws675\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@satorijs\core\lib\index.cjs:485:20)
球球了qwq,蟹蟹!