koishi无法连接到平台适配器

云服务器:雨云香港节点标配服务器
系统:centos 8
环境:nodejs 20
koishi及依赖版本:截止12月14日全部最新
代理:未设置代理
目前问题:koishi 无法连接到 discord 与 onebot (shamrock) 适配器,在12月13日时任然可用吗,期间除去 12月14日 尝试更新解决问题外未对 koishi 配置做出任何更改。
日志里的 ETIMEOUT 是否是阻止适配器正常工作的原因?如果不是,我是否需要为解决这个问题提供更多信息?
日志如下

2023-12-14 14:35:04 [I] app Koishi/4.16.0
2023-12-14 14:35:04 [I] loader apply plugin group:entry
2023-12-14 14:35:04 [I] loader apply plugin server:5qa2u4
2023-12-14 14:35:04 [I] loader apply plugin group:basic
2023-12-14 14:35:04 [I] loader apply plugin admin:a0vbvp
2023-12-14 14:35:04 [I] loader apply plugin bind:h5ftcg
2023-12-14 14:35:04 [I] loader apply plugin commands:e46jp0
2023-12-14 14:35:04 [I] loader apply plugin help:tv064e
2023-12-14 14:35:04 [I] loader apply plugin inspect:kpptv3
2023-12-14 14:35:04 [I] loader apply plugin locales:qu9nm7
2023-12-14 14:35:04 [I] loader apply plugin rate-limit:ycdzmu
2023-12-14 14:35:04 [I] loader apply plugin telemetry:ib7nch
2023-12-14 14:35:04 [I] loader apply plugin group:console
2023-12-14 14:35:04 [I] loader apply plugin actions:nnmh7t
2023-12-14 14:35:04 [I] loader apply plugin analytics:3n4qbh
2023-12-14 14:35:04 [I] loader apply plugin auth:4s473l
2023-12-14 14:35:04 [I] loader apply plugin config:e52zta
2023-12-14 14:35:04 [I] loader apply plugin console:dje19d
2023-12-14 14:35:04 [I] loader apply plugin dataview:h2qg9u
2023-12-14 14:35:04 [I] loader apply plugin explorer:89mpa0
2023-12-14 14:35:04 [I] loader apply plugin logger:onyf3x
2023-12-14 14:35:04 [I] loader apply plugin insight:dzb1ov
2023-12-14 14:35:04 [I] loader apply plugin market:6hri2q
2023-12-14 14:35:04 [I] loader apply plugin oobe:j5hn79
2023-12-14 14:35:04 [I] loader apply plugin sandbox:5a7nqp
2023-12-14 14:35:04 [I] loader apply plugin theme-vanilla:9lfr7j
2023-12-14 14:35:04 [I] loader apply plugin group:storage
2023-12-14 14:35:04 [I] loader apply plugin database-sqlite:cweyh6
2023-12-14 14:35:04 [I] loader apply plugin assets-local:v255iq
2023-12-14 14:35:04 [I] loader apply plugin cache-database:n0mf55
2023-12-14 14:35:04 [I] loader apply plugin group:adapter
2023-12-14 14:35:04 [I] loader apply plugin adapter-onebot:7q103a
2023-12-14 14:35:04 [I] loader apply plugin markdown:duzfnh
2023-12-14 14:35:04 [I] loader apply plugin market-info:srxw32
2023-12-14 14:35:04 [I] loader apply plugin puppeteer:p87gr2
2023-12-14 14:35:04 [I] loader apply plugin rr-image-censor:zcrxyw
2023-12-14 14:35:04 [I] loader apply plugin open-vits:0bop3d
2023-12-14 14:35:04 [I] loader apply plugin blockly:n3lxmn
2023-12-14 14:35:04 [I] loader apply plugin base64:roycud
2023-12-14 14:35:04 [I] loader apply plugin translator-deepl:x8dha1
2023-12-14 14:35:04 [I] loader apply plugin verifier:6xf72n
2023-12-14 14:35:04 [I] loader apply plugin mediawiki:591vxn
2023-12-14 14:35:04 [I] loader apply plugin schema-guide:skz3qa
2023-12-14 14:35:04 [I] loader apply plugin material-you-theme:ajecbf
2023-12-14 14:35:04 [I] loader apply plugin switch:7dxwhm
2023-12-14 14:35:04 [I] loader apply plugin @myrtus/forward:gc6qck
2023-12-14 14:35:04 [I] loader apply plugin group:2l7z0b
2023-12-14 14:35:04 [I] loader apply plugin chatluna-plugin-common:w6mlqq
2023-12-14 14:35:05 [I] loader apply plugin chatluna-bard-adapter:odfdt1
2023-12-14 14:35:05 [I] loader apply plugin chatluna-poe-adapter:xymihq
2023-12-14 14:35:05 [I] loader apply plugin chatluna-newbing-adapter:t8wuqy
2023-12-14 14:35:05 [I] loader apply plugin chatluna-vector-store-service:su43d7
2023-12-14 14:35:05 [I] loader apply plugin chatluna-search-service:0lajsq
2023-12-14 14:35:05 [I] loader apply plugin chatluna-openai-adapter:8n6ts9
2023-12-14 14:35:05 [I] loader apply plugin dialogue:v0ue7n
2023-12-14 14:35:05 [I] loader apply plugin dialogue-time:8v155n
2023-12-14 14:35:05 [I] loader apply plugin dialogue-flow:k7exux
2023-12-14 14:35:05 [I] loader apply plugin dialogue-context:i3vqlp
2023-12-14 14:35:05 [I] loader apply plugin respondent:rpmgdr
2023-12-14 14:35:05 [I] loader apply plugin cron:tflxe7
2023-12-14 14:35:05 [I] loader apply plugin schedule:pcm1g1
2023-12-14 14:35:05 [W] app Error: property censor is not registered, declare it as `inject` to suppress this warning
                            at checkInject (/usr/koishi-app/node_modules/cordis/lib/index.cjs:838:36)
                            at Object.get (/usr/koishi-app/node_modules/cordis/lib/index.cjs:849:9)
                            at Object.apply (/usr/koishi-app/node_modules/koishi-plugin-rr-image-censor/lib/index.js:38:26)
                            at _MainScope.apply (/usr/koishi-app/node_modules/cordis/lib/index.cjs:502:26)
                            at /usr/koishi-app/node_modules/cordis/lib/index.cjs:526:36
                            at _MainScope.ensure (/usr/koishi-app/node_modules/cordis/lib/index.cjs:281:18)
                            at _MainScope.start (/usr/koishi-app/node_modules/cordis/lib/index.cjs:526:12)
                            at _MainScope.init (/usr/koishi-app/node_modules/cordis/lib/index.cjs:328:12)
                            at new MainScope (/usr/koishi-app/node_modules/cordis/lib/index.cjs:454:12)
                            at Proxy.plugin (/usr/koishi-app/node_modules/cordis/lib/index.cjs:641:15)
2023-12-14 14:35:05 [I] puppeteer chrome executable found at /usr/bin/chromium-browser
2023-12-14 14:35:05 [I] server server listening at http://127.0.0.1:5140
2023-12-14 14:35:05 [I] console webui is available at http://127.0.0.1:5140
2023-12-14 14:35:05 [I] auth creating admin account
2023-12-14 14:35:06 [W] app Error: property blockly is not registered, declare it as `inject` to suppress this warning
                            at checkInject (/usr/koishi-app/node_modules/cordis/lib/index.cjs:838:36)
                            at Object.get (/usr/koishi-app/node_modules/cordis/lib/index.cjs:849:9)
                            at BlocklyVendorDataService.get (/usr/koishi-app/node_modules/koishi-plugin-blockly/lib/vendor.js:10:25)
                            at BlocklyVendorDataService.refresh (/usr/koishi-app/node_modules/@koishijs/console/lib/index.js:56:25)
                            at BlocklyVendorDataService.start (/usr/koishi-app/node_modules/@koishijs/console/lib/index.js:50:10)
                            at /usr/koishi-app/node_modules/cordis/lib/index.cjs:904:18
2023-12-14 14:35:06 [W] app Error: property server is not registered, declare it as `inject` to suppress this warning
                            at checkInject (/usr/koishi-app/node_modules/cordis/lib/index.cjs:838:36)
                            at Object.get (/usr/koishi-app/node_modules/cordis/lib/index.cjs:849:9)
                            at registerStaticFileRoute (/usr/koishi-app/node_modules/koishi-plugin-blockly/lib/static.js:10:9)
                            at Object.apply (/usr/koishi-app/node_modules/koishi-plugin-blockly/lib/index.js:41:42)
2023-12-14 14:35:06 [I] blockly Loading 3 plugin(s)
2023-12-14 14:35:06 [I] blockly Loaded 3 plugin(s)
2023-12-14 14:35:06 [W] app Error: property console.blockly is not registered, declare it as `inject` to suppress this warning
                            at checkInject (/usr/koishi-app/node_modules/cordis/lib/index.cjs:838:36)
                            at Object.get (/usr/koishi-app/node_modules/cordis/lib/index.cjs:849:9)
                            at Proxy.reload (/usr/koishi-app/node_modules/koishi-plugin-blockly/lib/service.js:18:21)
2023-12-14 14:35:06 [W] app Error: property console.blockly is not registered, declare it as `inject` to suppress this warning
                            at checkInject (/usr/koishi-app/node_modules/cordis/lib/index.cjs:838:36)
                            at Object.get (/usr/koishi-app/node_modules/cordis/lib/index.cjs:849:9)
                            at Proxy.reload (/usr/koishi-app/node_modules/koishi-plugin-blockly/lib/service.js:19:27)
2023-12-14 14:35:06 [W] app Error: property blockly is not registered, declare it as `inject` to suppress this warning
                            at checkInject (/usr/koishi-app/node_modules/cordis/lib/index.cjs:838:36)
                            at Object.get (/usr/koishi-app/node_modules/cordis/lib/index.cjs:849:9)
                            at Proxy.get (/usr/koishi-app/node_modules/koishi-plugin-blockly/lib/vendor.js:10:25)
                            at /usr/koishi-app/node_modules/@koishijs/console/lib/index.js:147:37
                            at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-12-14 14:35:06 [W] config failed to resolve koishi-plugin-koimarket
2023-12-14 14:35:06 [W] config Error: Cannot find module '/usr/koishi-app/node_modules/koishi-plugin-koimarket/lib/index.js'. Please verify that the package.json has a valid "main" entry
                            at tryPackage (node:internal/modules/cjs/loader:444:19)
                            at Module._findPath (node:internal/modules/cjs/loader:715:18)
                            at Module._resolveFilename (node:internal/modules/cjs/loader:1130:27)
                            at Function.resolve (node:internal/modules/helpers:187:19)
                            at _PackageScanner.loadPackage (/usr/koishi-app/node_modules/@koishijs/registry/lib/index.js:165:29)
                            at _PackageScanner.loadDirectory (/usr/koishi-app/node_modules/@koishijs/registry/lib/index.js:151:14)
                            at async Promise.all (index 0)
                            at async _PackageScanner._collect (/usr/koishi-app/node_modules/@koishijs/registry/lib/index.js:138:5)
                            at async _PackageScanner.collect (/usr/koishi-app/node_modules/@koishijs/registry/lib/index.js:143:5)
                            at async _PackageProvider.collect (/usr/koishi-app/node_modules/@koishijs/plugin-config/lib/node/index.js:71:5)
2023-12-14 14:35:06 [W] config failed to resolve koishi-plugin-welcome
2023-12-14 14:35:06 [W] config Error: Cannot find module '/usr/koishi-app/node_modules/koishi-plugin-welcome/lib/index.js'. Please verify that the package.json has a valid "main" entry
                            at tryPackage (node:internal/modules/cjs/loader:444:19)
                            at Module._findPath (node:internal/modules/cjs/loader:715:18)
                            at Module._resolveFilename (node:internal/modules/cjs/loader:1130:27)
                            at Function.resolve (node:internal/modules/helpers:187:19)
                            at _PackageScanner.loadPackage (/usr/koishi-app/node_modules/@koishijs/registry/lib/index.js:165:29)
                            at _PackageScanner.loadDirectory (/usr/koishi-app/node_modules/@koishijs/registry/lib/index.js:151:14)
                            at async Promise.all (index 0)
                            at async _PackageScanner._collect (/usr/koishi-app/node_modules/@koishijs/registry/lib/index.js:138:5)
                            at async _PackageScanner.collect (/usr/koishi-app/node_modules/@koishijs/registry/lib/index.js:143:5)
                            at async _PackageProvider.collect (/usr/koishi-app/node_modules/@koishijs/plugin-config/lib/node/index.js:71:5)
2023-12-14 14:35:29 [I] loader apply plugin adapter-discord:flzzy1
2023-12-14 14:35:30 [I] adapter connect to server: wss://gateway.discord.gg/
2023-12-14 14:35:31 [W] app Error: [400] {"message":"Invalid Form Body","code":50035,"errors":{"16":{"options":{"_errors":[{"code":"BASE_TYPE_MAX_LENGTH","message":"Must be 25 or fewer in length."}]}}}}
                            at _Internal.<computed> [as bulkOverwriteGlobalApplicationCommands] (/usr/koishi-app/node_modules/@satorijs/adapter-discord/lib/index.js:138:21)
                            at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
                            at async _DiscordBot.updateCommands (/usr/koishi-app/node_modules/@satorijs/adapter-discord/lib/index.js:2220:7)
2023-12-14 14:35:43 [I] loader unload plugin adapter-onebot:7q103a
2023-12-14 14:35:55 [I] loader apply plugin adapter-onebot:7q103a
2023-12-14 14:37:15 [E] app Error: connect ETIMEDOUT 1.15.53.233:443
                            at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
2023-12-14 14:37:15 [E] app Error: connect ETIMEDOUT 1.15.53.233:443
                            at AxiosError.from (/usr/koishi-app/node_modules/axios/dist/node/axios.cjs:837:14)
                            at RedirectableRequest.handleRequestError (/usr/koishi-app/node_modules/axios/dist/node/axios.cjs:3083:25)
                            at RedirectableRequest.emit (node:events:514:28)
                            at eventHandlers.<computed> (/usr/koishi-app/node_modules/follow-redirects/index.js:14:24)
                            at ClientRequest.emit (node:events:514:28)
                            at TLSSocket.socketErrorListener (node:_http_client:495:9)
                            at TLSSocket.emit (node:events:514:28)
                            at emitErrorNT (node:internal/streams/destroy:151:8)
                            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
                            at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
2023-12-14 14:37:15 [E] app Error: connect ETIMEDOUT 1.15.53.233:443
                            at request (/usr/koishi-app/node_modules/cordis-axios/lib/index.js:153:21)
                            at http (/usr/koishi-app/node_modules/cordis-axios/lib/index.js:172:30)
                            at _Quester.get (/usr/koishi-app/node_modules/cordis-axios/lib/index.js:214:16)
                            at /usr/koishi-app/node_modules/koishi-plugin-open-vits/lib/index.js:22:54
                            at /usr/koishi-app/node_modules/cordis/lib/index.cjs:169:40
                            at _MainScope.ensure (/usr/koishi-app/node_modules/cordis/lib/index.cjs:281:18)
                            at Proxy.start (/usr/koishi-app/node_modules/cordis/lib/index.cjs:169:21)
                            at start (/usr/koishi-app/node_modules/koishi/lib/worker/index.js:150:13)
2 个赞

网不好导致的

2 个赞