HMCL icon indicating copy to clipboard operation
HMCL copied to clipboard

每次启动检查有无升级的时候会报一个错误

Open Tairraos opened this issue 2 years ago • 3 comments

启动器版本 Launcher Version

3.5.3

平台 Platform

win10/Mac

Java

No response

游戏版本 Game Version

No response

对游戏所做的修改 Modifications Made to the Game

No response

游戏崩溃报告 Game Crash Report

No response

启动器崩溃报告 Launcher Crash Report

No response

启动器日志文件 Launcher Log File

No response

问题描述 Problem Description

每次启动的时候, 会到这个网址检查,这个网页返回500然后java就抛错了 https://hmcl.huangyuhui.net/api/update_link?version=3.5.3&channel=stable

[20:34:19] [org.jackhuang.hmcl.upgrade.UpdateChecker.lambda$null$2/WARNING] Failed to check for update java.io.IOException: Server returned HTTP response code: 500 for URL: https://hmcl.huangyuhui.net/api/update_link?version=3.5.3&channel=stable at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:2048) at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:2043) at java.base/java.security.AccessController.doPrivileged(AccessController.java:569) at java.base/sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:2042) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1609) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224) at org.jackhuang.hmcl.util.io.NetworkUtils.doGet(NetworkUtils.java:179) at org.jackhuang.hmcl.upgrade.RemoteVersion.fetch(RemoteVersion.java:35) at org.jackhuang.hmcl.upgrade.UpdateChecker.checkUpdate(UpdateChecker.java:92) at org.jackhuang.hmcl.upgrade.UpdateChecker.lambda$null$2(UpdateChecker.java:109) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: https://hmcl.huangyuhui.net/api/update_link?version=3.5.3&channel=stable at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1997) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589) at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:529) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:308) at org.jackhuang.hmcl.util.io.NetworkUtils.resolveConnection(NetworkUtils.java:153) at org.jackhuang.hmcl.util.io.NetworkUtils.doGet(NetworkUtils.java:178) ... 4 more

Tairraos avatar Sep 06 '22 12:09 Tairraos

我没自动更新到 3.5.3.222 是这个原因吗……

Artoria2e5 avatar Sep 07 '22 07:09 Artoria2e5

要huanghongxun来回答才行。

Tairraos avatar Sep 07 '22 07:09 Tairraos

@huanghongxun https://github.com/huanghongxun/HMCL/issues/1693

zkitefly avatar Sep 09 '22 11:09 zkitefly

这个issue可以关闭了

zkitefly avatar Nov 25 '22 15:11 zkitefly