ifrvn / cecilia

A Koishi bot and his plugins.
1 stars 0 forks source link

JsDelivr在国内访问太慢导致加载超时 #8

Closed TTsdzb closed 1 year ago

TTsdzb commented 1 year ago

如题

2023-09-11 20:27:46 [W] command 悲报 中文文字                        TimeoutError: Navigation timeout of 30000 ms exceeded
                            at LifecycleWatcher._LifecycleWatcher_createTimeoutPromise (/home/pi/koishi/node_modules/.pnpm/puppeteer-core@19.11.1_typescript@5.2.2/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.js:162:12)
                            at async IsolatedWorld.setContent (/home/pi/koishi/node_modules/.pnpm/puppeteer-core@19.11.1_typescript@5.2.2/node_modules/puppeteer-core/lib/cjs/puppeteer/common/IsolatedWorld.js:173:23)
                            at async CDPPage.setContent (/home/pi/koishi/node_modules/.pnpm/puppeteer-core@19.11.1_typescript@5.2.2/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js:435:9)
                            at async Puppeteer.render (/home/pi/koishi/node_modules/.pnpm/koishi-plugin-puppeteer@3.5.0_koishi@4.14.5_typescript@5.2.2/node_modules/koishi-plugin-puppeteer/lib/index.js:37:17)
                            at async _Command.<anonymous> (/home/pi/koishi/node_modules/.pnpm/@ifrank+koishi-plugin-xibao@1.2.1_koishi-plugin-puppeteer@3.5.0_koishi@4.14.5/node_modules/@ifrank/koishi-plugin-xibao/lib/index.js:63:16)
                            at async Array.<anonymous> (/home/pi/koishi/node_modules/.pnpm/@koishijs+core@4.14.5/node_modules/@koishijs/core/lib/index.cjs:1656:14)
                            at async _Command.execute (/home/pi/koishi/node_modules/.pnpm/@koishijs+core@4.14.5/node_modules/@koishijs/core/lib/index.cjs:1671:22)
                            at async /home/pi/koishi/node_modules/.pnpm/@koishijs+core@4.14.5/node_modules/@koishijs/core/lib/index.cjs:2320:22
                            at async _Session.withScope (/home/pi/koishi/node_modules/.pnpm/@koishijs+core@4.14.5/node_modules/@koishijs/core/lib/index.cjs:2188:22)
                            at async next (/home/pi/koishi/node_modules/.pnpm/@koishijs+core@4.14.5/node_modules/@koishijs/core/lib/index.cjs:844:16)

Github 文件请使用 GhProxy

- https://cdn.jsdelivr.net/gh/ifrvn/harmonyos-fonts/css/harmonyos_sans_sc.css
+ https://ghproxy.com/https://raw.githubusercontent.com/ifrvn/harmonyos-fonts/main/css/harmonyos_sans_sc.css