mcl启动失败,无法验证插件
-
02:47:03 [INFO] iTX Technologies Mirai Console Loader version 2.1.2-61c8bd8 02:47:03 [INFO] Runtime: OpenJDK 64-Bit Server VM 17.0.6 (arch: 64) 02:47:03 [INFO] https://github.com/iTXTech/mirai-console-loader 02:47:03 [INFO] This program is licensed under GNU AGPL v3 02:47:06 [INFO] Mirai Console Loader Announcement: Mirai Console Loader 公告栏 如果在图片上传的时候遇到问题请与我们联系 (需要提供图片文件源本) `- 如 Unsupported image type for ExternalResource * ` considering use gif/png/bmp/jpg format. `- Tracker: https://github.com/mamoe/mirai/issues/new/choose 常用资源整合 `- https://mirai.mamoe.net/topic/653 MCL 已推出 2.1.0,更好的支持 Mirai 2.11 的插件系统,建议更新。 02:47:06 [INFO] Verifying "net.mamoe:mirai-console" v2.13.4 02:47:37 [ERROR] java.io.IOException: fixed content-length: 6034, bytes received: 931 at java.net.http/jdk.internal.net.http.HttpClientImpl.send(Unknown Source) at java.net.http/jdk.internal.net.http.HttpClientFacade.send(Unknown Source) at org.itxtech.mcl.component.Repository.httpGet(Repository.java:211) at org.itxtech.mcl.component.Repository.fetchMavenMetadata(Repository.java:91) at org.itxtech.mcl.component.Repository.getLatestVersionFromMaven(Repository.java:103) at org.itxtech.mcl.module.builtin.Updater.check(Updater.java:99) at org.itxtech.mcl.module.builtin.Updater.load(Updater.java:60) at org.itxtech.mcl.module.ModuleManager.phaseLoad(ModuleManager.java:117) at org.itxtech.mcl.Loader.lambda$start$3(Loader.java:190) at org.itxtech.mcl.Loader.tryCatching(Loader.java:151) at org.itxtech.mcl.Loader.start(Loader.java:190) at org.itxtech.mcl.Loader.main(Loader.java:84) Caused by: java.io.IOException: fixed content-length: 6034, bytes received: 931 at java.net.http/jdk.internal.net.http.common.Utils.wrapWithExtraDetail(Unknown Source) at java.net.http/jdk.internal.net.http.Http1Response$BodyReader.onReadError(Unknown Source) at java.net.http/jdk.internal.net.http.Http1AsyncReceiver.checkForErrors(Unknown Source) at java.net.http/jdk.internal.net.http.Http1AsyncReceiver.flush(Unknown Source) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$LockingRestartableTask.run(Unknown Source) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask.run(Unknown Source) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: connection closed locally at java.net.http/jdk.internal.net.http.SocketTube.signalClosed(Unknown Source) at java.net.http/jdk.internal.net.http.PlainHttpConnection.close(Unknown Source) at java.net.http/jdk.internal.net.http.AsyncSSLConnection.close(Unknown Source) at java.net.http/jdk.internal.net.http.Http1Exchange.cancelImpl(Unknown Source) at java.net.http/jdk.internal.net.http.Http1Exchange.cancel(Unknown Source) at java.net.http/jdk.internal.net.http.Exchange.cancel(Unknown Source) at java.net.http/jdk.internal.net.http.MultiExchange.cancel(Unknown Source) at java.net.http/jdk.internal.net.http.ResponseTimerEvent.handle(Unknown Source) at java.net.http/jdk.internal.net.http.HttpClientImpl.purgeTimeoutsAndReturnNextDeadline(Unknown Source) at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.run(Unknown Source) 02:47:37 [ERROR] Failed to verify package "net.mamoe:mirai-console" 02:47:37 [ERROR] java.lang.Exception: Cannot find valid maven metadata at org.itxtech.mcl.component.Repository.fetchMavenMetadata(Repository.java:99) at org.itxtech.mcl.component.Repository.getLatestVersionFromMaven(Repository.java:103) at org.itxtech.mcl.module.builtin.Updater.check(Updater.java:99) at org.itxtech.mcl.module.builtin.Updater.load(Updater.java:60) at org.itxtech.mcl.module.ModuleManager.phaseLoad(ModuleManager.java:117) at org.itxtech.mcl.Loader.lambda$start$3(Loader.java:190) at org.itxtech.mcl.Loader.tryCatching(Loader.java:151) at org.itxtech.mcl.Loader.start(Loader.java:190) at org.itxtech.mcl.Loader.main(Loader.java:84) 02:47:37 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.13.4
尝试重新安装mcl也失败,卡在这里
ping maven.aliyun.com
正常 -
图好像没加载出来,这是内容
The latest stable version of iTXTech MCL is 2.1.2 Would you like to download it? (Y/N, default: Y) Start Downloading: https://maven.aliyun.com/repository/public/org/itxtech/mcl/2.1.2/mcl-2.1.2.zip
-
暂时解决了
解决方式:什么也没干,等了几个小时就好了
有没有大佬说说可能是什么原因导致的(应该可以排除阿里云服务器原因,因为出问题时另一台电脑可以正常启动mcl) -
正常运行了几次之后,这个问题又出现了
-
@konjacer 这次虽然报了这些错,但启动成功了
-
检查 mcl 配置 config.json 中 的 maven_repo 配置