插件市场和依赖安装显示无法连接和版本获取失败问题

欧班图24 docker部署( 镜像名称:koishijs/koishi 标签:latest(最新稳定版)已经多次重启容器,重装容器,也配置了镜像地址

2025-10-18 20:21:55 [I] app Koishi/4.17.11

2025-10-18 20:21:56 [I] loader apply plugin group:entry

2025-10-18 20:21:56 [I] loader apply plugin group:server

2025-10-18 20:21:56 [I] loader apply plugin server:1girfi

2025-10-18 20:21:56 [I] loader apply plugin group:basic

2025-10-18 20:21:56 [I] loader apply plugin commands:v8p5nd

2025-10-18 20:21:56 [I] loader apply plugin help:ln6b0d

2025-10-18 20:21:56 [I] loader apply plugin http:ijdma1

2025-10-18 20:21:56 [I] loader apply plugin locales:qkfinz

2025-10-18 20:21:56 [I] loader apply plugin proxy-agent:644pii

2025-10-18 20:21:56 [I] loader apply plugin rate-limit:mo4led

2025-10-18 20:21:56 [I] loader apply plugin telemetry:6mi35k

2025-10-18 20:21:56 [I] loader apply plugin group:console

2025-10-18 20:21:56 [I] loader apply plugin actions:b29lb2

2025-10-18 20:21:56 [I] loader apply plugin analytics:lqepgq

2025-10-18 20:21:56 [I] loader apply plugin config:rfz4cy

2025-10-18 20:21:56 [I] loader apply plugin console:1sir81

2025-10-18 20:21:56 [I] loader apply plugin dataview:f8sj43

2025-10-18 20:21:56 [I] loader apply plugin explorer:sufdz2

2025-10-18 20:21:56 [I] loader apply plugin logger:akz1qh

2025-10-18 20:21:56 [I] loader apply plugin insight:h94bwn

2025-10-18 20:21:56 [I] loader apply plugin market:yvr2bq

2025-10-18 20:21:56 [I] loader apply plugin notifier:q72857

2025-10-18 20:21:56 [I] loader apply plugin oobe:v6opl5

2025-10-18 20:21:56 [I] loader apply plugin sandbox:q7phtg

2025-10-18 20:21:56 [I] loader apply plugin status:5z6weu

2025-10-18 20:21:57 [I] loader apply plugin theme-vanilla:1sdpfg

2025-10-18 20:21:57 [I] loader apply plugin group:storage

2025-10-18 20:21:57 [I] loader apply plugin database-sqlite:kivzzx

2025-10-18 20:21:57 [I] loader apply plugin assets-local:ngekup

2025-10-18 20:21:57 [I] loader apply plugin group:adapter

2025-10-18 20:21:57 [I] assets missing config "selfUrl", fallback to "file:" scheme

2025-10-18 20:21:57 [I] server server listening at http://0.0.0.0:5140

2025-10-18 20:21:57 [I] console webui is available at http://127.0.0.1:5140

2025-10-18 20:21:58 [I] sqlite auto creating table user

2025-10-18 20:21:58 [I] sqlite auto creating table binding

2025-10-18 20:21:58 [I] sqlite auto creating table channel

2025-10-18 20:21:58 [I] sqlite auto creating table analytics.message

2025-10-18 20:21:58 [I] sqlite auto creating table analytics.command

2025-10-18 20:21:58 [S] telemetry 欢迎使用 Koishi! telemetry 服务是一组可选的 Koishi 服务,旨在通过分析您的 Koishi 使用情况来改善 Koishi 的使用体验、提供精确的插件使用量数据,并仅在您需要时为您提供支持。 拒绝同意将影响我们提供的相关数据和功能,但不会影响 Koishi 的基础功能。 要了解更多信息,请打开 Koishi 控制台并参阅我们的隐私政策。在您点击「同意」前,telemetry 服务不会启动。

2025-10-18 20:22:02 [W] market fetch https://registry.npmmirror.com/@koishijs/plugin-actions failed

2025-10-18 20:22:02 [W] market fetch https://registry.npmmirror.com/@koishijs/plugin-adapter-discord failed

2025-10-18 20:22:02 [W] market fetch https://registry.npmmirror.com/@koishijs/plugin-adapter-qq failed

2025-10-18 20:22:02 [W] market fetch https://registry.npmmirror.com/@koishijs/plugin-adapter-kook failed

2025-10-18 20:22:02 [W] market fetch https://registry.npmmirror.com/@koishijs/plugin-adapter-telegram failed

2025-10-18 20:22:02 [W] market fetch https://registry.npmmirror.com/@koishijs/plugin-admin failed

2025-10-18 20:22:02 [W] market fetch https://registry.npmmirror.com/@koishijs/plugin-analytics failed

2025-10-18 20:22:02 [W] market fetch https://registry.npmmirror.com/@koishijs/plugin-adapter-satori failed

2025-10-18 20:22:02 [W] market fetch https://registry.npmmirror.com/@koishijs/plugin-auth failed

2025-10-18 20:22:02 [W] market fetch https://registry.npmmirror.com/@koishijs/plugin-bind failed

2025-10-18 20:22:30 [W] market Error: request timeout at Timeout.<anonymous> (/koishi/node_modules/@cordisjs/plugin-http/lib/index.cjs:290:26) at listOnTimeout (node:internal/timers:581:17) at process.processTimers (node:internal/timers:519:7)

2025-10-18 20:23:00 [W] market Error: request timeout at Timeout.<anonymous> (/koishi/node_modules/@cordisjs/plugin-http/lib/index.cjs:290:26) at listOnTimeout (node:internal/timers:581:17) at process.processTimers (node:internal/timers:519:7)

2025-10-18 20:23:03 [I] loader reload plugin market:yvr2bq

2025-10-18 20:23:03 [W] market InvalidArgumentError: invalid url at Object.parseOrigin (/koishi/node_modules/undici/lib/core/util.js:209:11) at new Pool (/koishi/node_modules/undici/lib/dispatcher/pool.js:70:23) at defaultFactory (/koishi/node_modules/undici/lib/dispatcher/proxy-agent.js:23:10) at new ProxyAgent (/koishi/node_modules/undici/lib/dispatcher/proxy-agent.js:63:21) at /koishi/node_modules/@cordisjs/plugin-proxy-agent/lib/index.cjs:94:14 at Object.apply (/koishi/node_modules/@cordisjs/core/lib/index.cjs:399:23) at Proxy.dispatch (/koishi/node_modules/@cordisjs/core/lib/index.cjs:496:27) at dispatch.next (<anonymous>) at Proxy.bail (/koishi/node_modules/@cordisjs/core/lib/index.cjs:511:16) at Proxy.<anonymous> (/koishi/node_modules/@cordisjs/plugin-proxy-agent/lib/index.cjs:87:23)

2025-10-18 20:23:03 [W] market InvalidArgumentError: invalid url at Object.parseOrigin (/koishi/node_modules/undici/lib/core/util.js:209:11) at new Pool (/koishi/node_modules/undici/lib/dispatcher/pool.js:70:23) at defaultFactory (/koishi/node_modules/undici/lib/dispatcher/proxy-agent.js:23:10) at new ProxyAgent (/koishi/node_modules/undici/lib/dispatcher/proxy-agent.js:63:21) at /koishi/node_modules/@cordisjs/plugin-proxy-agent/lib/index.cjs:94:14 at Object.apply (/koishi/node_modules/@cordisjs/core/lib/index.cjs:399:23) at Proxy.dispatch (/koishi/node_modules/@cordisjs/core/lib/index.cjs:496:27) at dispatch.next (<anonymous>) at Proxy.bail (/koishi/node_modules/@cordisjs/core/lib/index.cjs:511:16) at Proxy.<anonymous> (/koishi/node_modules/@cordisjs/plugin-proxy-agent/lib/index.cjs:87:23)

2025-10-18 20:23:04 [W] market fetch https://koi.nyan.zone/registry/index.json/@koishijs/plugin-adapter-discord failed

2025-10-18 20:23:06 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:06 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:06 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:07 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:07 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:07 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:07 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:07 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:07 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:07 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:07 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:08 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:08 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:08 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:08 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:08 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:08 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:09 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:09 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:09 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:09 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:09 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:09 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:10 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:10 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:10 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:10 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:10 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:10 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:10 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:10 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:11 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:11 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:11 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:11 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:11 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:12 [W] market Cannot convert undefined or null to object

2025-10-18 20:23:12 [W] market request timeout

1 个赞

这是因为你瞎写配置项导致的问题


这个插件有三处填空

第一个配置项必须是npm的镜像源

第二个必须是koishi的插件市场镜像源

第三处必须是你的代理地址

你可以参考 为什么我找不到downloads插件 - #4,来自 shangxue

1 个赞

感谢:pray:t2::pray:t2::pray:t2:

1 个赞

新问题

1 个赞

截图market插件的配置项

1 个赞

已解决

1 个赞