HMCL-dev / HMCL

A Minecraft Launcher which is multi-functional, cross-platform and popular
https://hmcl.huangyuhui.net
GNU General Public License v3.0
6.9k stars 675 forks source link

登陆微软账户时出现SSL错误,java版本为最新 #2328

Closed chr431 closed 9 months ago

chr431 commented 1 year ago

启动器版本 Launcher Version

3.5.5

平台 Platform

Win11

问题描述 Problem Description

如题,登陆微软账户时提示SSL错误,无法登陆。 我无法确定hmcl本体使用的是哪个java,但是我电脑上存在的版本应该都是最新的,不存在过时的问题 java:adoptium jre 17.0.7 hotspot adoptium jre 8u372 hotspot oracle java 8u371

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

hejiehao commented 1 year ago

请导出启动器日志并发到这里

chr431 commented 1 year ago

请导出启动器日志并发到这里

刚才又可以登陆了,之前大概一个月的时间都一直无法登陆 如果这个情况再次出现,我会连同日志再次反馈

orbitgw commented 1 year ago

Same problem

Glavo commented 1 year ago

请确保使用非 Oracle JDK 的 Java 17+ 启动 HMCL。

关于证书问题,HMCL 可以自身嵌入根证书来解决,但问题是怎么让游戏也加载证书,这个问题更麻烦,我们暂时难以解决,所以暂时不处理。

orbitgw commented 1 year ago

降级为Oracle JDK 16.0.2也不行,openjdk靠谱吗?@Glavo

hejiehao commented 1 year ago

降级为Oracle JDK 16.0.2也不行,openjdk靠谱吗?@Glavo

oracle jdk走的是系统证书库

Tangtangchannel commented 1 year ago

这边也遇到了同样的问题(linux环境)

使用OpenJDk和JDK都是一个结果

[13:15:16] [org.jackhuang.hmcl.task.AsyncTaskExecutor.lambda$executeNormalTask$31/FINE] Task failed: org.jackhuang.hmcl.ui.account.CreateAccountPane.onAccept(CreateAccountPane.java:228) org.jackhuang.hmcl.auth.ServerDisconnectException: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake at org.jackhuang.hmcl.auth.OAuth.authenticate(OAuth.java:64) at org.jackhuang.hmcl.auth.microsoft.MicrosoftService.authenticate(MicrosoftService.java:74) at org.jackhuang.hmcl.auth.microsoft.MicrosoftAccount.(MicrosoftAccount.java:53) at org.jackhuang.hmcl.auth.microsoft.MicrosoftAccountFactory.create(MicrosoftAccountFactory.java:44) at org.jackhuang.hmcl.auth.microsoft.MicrosoftAccountFactory.create(MicrosoftAccountFactory.java:27) at org.jackhuang.hmcl.ui.account.CreateAccountPane.lambda$onAccept$3(CreateAccountPane.java:228) at org.jackhuang.hmcl.task.Task$SimpleTask.execute(Task.java:1022) at org.jackhuang.hmcl.task.AsyncTaskExecutor.lambda$executeNormalTask$22(AsyncTaskExecutor.java:245) at org.jackhuang.hmcl.util.Lang.lambda$wrap$2(Lang.java:291) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) Caused by: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake at java.base/sun.security.ssl.SSLSocketImpl.handleEOF(SSLSocketImpl.java:1714) at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1514) at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1421) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426) at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:587) at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:187) at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1429) at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1400) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:220) at org.jackhuang.hmcl.util.io.HttpRequest$HttpPostRequest.lambda$getString$0(HttpRequest.java:187) at org.jackhuang.hmcl.util.io.HttpRequest.getStringWithRetry(HttpRequest.java:224) at org.jackhuang.hmcl.util.io.HttpRequest.access$100(HttpRequest.java:47) at org.jackhuang.hmcl.util.io.HttpRequest$HttpPostRequest.getString(HttpRequest.java:183) at org.jackhuang.hmcl.util.io.HttpRequest.getJson(HttpRequest.java:102) at org.jackhuang.hmcl.auth.OAuth.authenticateDevice(OAuth.java:103) at org.jackhuang.hmcl.auth.OAuth.authenticate(OAuth.java:59) ... 15 more Caused by: java.io.EOFException: SSL peer shut down incorrectly at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:488) at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:477) at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160) at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111) at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1506) ... 30 more [13:15:16] [org.jackhuang.hmcl.task.AsyncTaskExecutor.lambda$start$1/WARNING] An exception occurred in task execution org.jackhuang.hmcl.auth.ServerDisconnectException: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake at org.jackhuang.hmcl.auth.OAuth.authenticate(OAuth.java:64) at org.jackhuang.hmcl.auth.microsoft.MicrosoftService.authenticate(MicrosoftService.java:74) at org.jackhuang.hmcl.auth.microsoft.MicrosoftAccount.(MicrosoftAccount.java:53) at org.jackhuang.hmcl.auth.microsoft.MicrosoftAccountFactory.create(MicrosoftAccountFactory.java:44) at org.jackhuang.hmcl.auth.microsoft.MicrosoftAccountFactory.create(MicrosoftAccountFactory.java:27) at org.jackhuang.hmcl.ui.account.CreateAccountPane.lambda$onAccept$3(CreateAccountPane.java:228) at org.jackhuang.hmcl.task.Task$SimpleTask.execute(Task.java:1022) at org.jackhuang.hmcl.task.AsyncTaskExecutor.lambda$executeNormalTask$22(AsyncTaskExecutor.java:245) at org.jackhuang.hmcl.util.Lang.lambda$wrap$2(Lang.java:291) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) Caused by: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake at java.base/sun.security.ssl.SSLSocketImpl.handleEOF(SSLSocketImpl.java:1714) at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1514) at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1421) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426) at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:587) at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:187) at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1429) at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1400) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:220) at org.jackhuang.hmcl.util.io.HttpRequest$HttpPostRequest.lambda$getString$0(HttpRequest.java:187) at org.jackhuang.hmcl.util.io.HttpRequest.getStringWithRetry(HttpRequest.java:224) at org.jackhuang.hmcl.util.io.HttpRequest.access$100(HttpRequest.java:47) at org.jackhuang.hmcl.util.io.HttpRequest$HttpPostRequest.getString(HttpRequest.java:183) at org.jackhuang.hmcl.util.io.HttpRequest.getJson(HttpRequest.java:102) at org.jackhuang.hmcl.auth.OAuth.authenticateDevice(OAuth.java:103) at org.jackhuang.hmcl.auth.OAuth.authenticate(OAuth.java:59) ... 15 more Caused by: java.io.EOFException: SSL peer shut down incorrectly at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:488) at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:477) at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160) at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111) at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1506) ... 30 more [13:15:17] [org.jackhuang.hmcl.ui.construct.StackContainerPane.pop/INFO] StackContainerPane@2faab794 [], removed: true, object: CreateAccountPane@545fe447[styleClass=jfx-dialog-layout] [13:15:19] [org.jackhuang.hmcl.Launcher.stopApplication/INFO] Stopping application. at java.base/java.lang.Thread.getStackTrace(Thread.java:2514) at org.jackhuang.hmcl.Launcher.stopApplication(Launcher.java:250) at org.jackhuang.hmcl.ui.decorator.Decorator.close(Decorator.java:246) at org.jackhuang.hmcl.ui.decorator.DecoratorSkin.lambda$new$5(DecoratorSkin.java:207) at javafx.base@20.0.1-internal/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:232) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:189) at javafx.base@20.0.1-internal/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49) at javafx.base@20.0.1-internal/javafx.event.Event.fireEvent(Event.java:198) at javafx.graphics@20.0.1-internal/javafx.scene.Node.fireEvent(Node.java:8944) at javafx.controls@20.0.1-internal/javafx.scene.control.Button.fire(Button.java:203) at javafx.controls@20.0.1-internal/com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:207) at javafx.controls@20.0.1-internal/com.sun.javafx.scene.control.inputmap.InputMap.handle(InputMap.java:274) at javafx.base@20.0.1-internal/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:247) at javafx.base@20.0.1-internal/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:232) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:189) at javafx.base@20.0.1-internal/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54) at javafx.base@20.0.1-internal/javafx.event.Event.fireEvent(Event.java:198) at javafx.graphics@20.0.1-internal/javafx.scene.Scene$MouseHandler.process(Scene.java:3980) at javafx.graphics@20.0.1-internal/javafx.scene.Scene.processMouseEvent(Scene.java:1890) at javafx.graphics@20.0.1-internal/javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2704) at javafx.graphics@20.0.1-internal/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:411) at javafx.graphics@20.0.1-internal/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:301) at java.base/java.security.AccessController.doPrivileged(AccessController.java:400) at javafx.graphics@20.0.1-internal/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:450) at javafx.graphics@20.0.1-internal/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:424) at javafx.graphics@20.0.1-internal/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:449) at javafx.graphics@20.0.1-internal/com.sun.glass.ui.View.handleMouseEvent(View.java:551) at javafx.graphics@20.0.1-internal/com.sun.glass.ui.View.notifyMouse(View.java:937) at javafx.graphics@20.0.1-internal/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at javafx.graphics@20.0.1-internal/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:316) at java.base/java.lang.Thread.run(Thread.java:1623)

hejiehao commented 1 year ago

这边也遇到了同样的问题(linux环境)

使用OpenJDk和JDK都是一个结果

[13:15:16] [org.jackhuang.hmcl.task.AsyncTaskExecutor.lambda$executeNormalTask$31/FINE] Task failed: org.jackhuang.hmcl.ui.account.CreateAccountPane.onAccept(CreateAccountPane.java:228) org.jackhuang.hmcl.auth.ServerDisconnectException: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake at org.jackhuang.hmcl.auth.OAuth.authenticate(OAuth.java:64) at org.jackhuang.hmcl.auth.microsoft.MicrosoftService.authenticate(MicrosoftService.java:74) at org.jackhuang.hmcl.auth.microsoft.MicrosoftAccount.(MicrosoftAccount.java:53) at org.jackhuang.hmcl.auth.microsoft.MicrosoftAccountFactory.create(MicrosoftAccountFactory.java:44) at org.jackhuang.hmcl.auth.microsoft.MicrosoftAccountFactory.create(MicrosoftAccountFactory.java:27) at org.jackhuang.hmcl.ui.account.CreateAccountPane.lambda$onAccept$3(CreateAccountPane.java:228) at org.jackhuang.hmcl.task.Task$SimpleTask.execute(Task.java:1022) at org.jackhuang.hmcl.task.AsyncTaskExecutor.lambda$executeNormalTask$22(AsyncTaskExecutor.java:245) at org.jackhuang.hmcl.util.Lang.lambda$wrap$2(Lang.java:291) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) Caused by: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake at java.base/sun.security.ssl.SSLSocketImpl.handleEOF(SSLSocketImpl.java:1714) at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1514) at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1421) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426) at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:587) at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:187) at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1429) at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1400) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:220) at org.jackhuang.hmcl.util.io.HttpRequest$HttpPostRequest.lambda$getString$0(HttpRequest.java:187) at org.jackhuang.hmcl.util.io.HttpRequest.getStringWithRetry(HttpRequest.java:224) at org.jackhuang.hmcl.util.io.HttpRequest.access$100(HttpRequest.java:47) at org.jackhuang.hmcl.util.io.HttpRequest$HttpPostRequest.getString(HttpRequest.java:183) at org.jackhuang.hmcl.util.io.HttpRequest.getJson(HttpRequest.java:102) at org.jackhuang.hmcl.auth.OAuth.authenticateDevice(OAuth.java:103) at org.jackhuang.hmcl.auth.OAuth.authenticate(OAuth.java:59) ... 15 more Caused by: java.io.EOFException: SSL peer shut down incorrectly at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:488) at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:477) at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160) at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111) at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1506) ... 30 more [13:15:16] [org.jackhuang.hmcl.task.AsyncTaskExecutor.lambda$start$1/WARNING] An exception occurred in task execution org.jackhuang.hmcl.auth.ServerDisconnectException: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake at org.jackhuang.hmcl.auth.OAuth.authenticate(OAuth.java:64) at org.jackhuang.hmcl.auth.microsoft.MicrosoftService.authenticate(MicrosoftService.java:74) at org.jackhuang.hmcl.auth.microsoft.MicrosoftAccount.(MicrosoftAccount.java:53) at org.jackhuang.hmcl.auth.microsoft.MicrosoftAccountFactory.create(MicrosoftAccountFactory.java:44) at org.jackhuang.hmcl.auth.microsoft.MicrosoftAccountFactory.create(MicrosoftAccountFactory.java:27) at org.jackhuang.hmcl.ui.account.CreateAccountPane.lambda$onAccept$3(CreateAccountPane.java:228) at org.jackhuang.hmcl.task.Task$SimpleTask.execute(Task.java:1022) at org.jackhuang.hmcl.task.AsyncTaskExecutor.lambda$executeNormalTask$22(AsyncTaskExecutor.java:245) at org.jackhuang.hmcl.util.Lang.lambda$wrap$2(Lang.java:291) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) Caused by: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake at java.base/sun.security.ssl.SSLSocketImpl.handleEOF(SSLSocketImpl.java:1714) at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1514) at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1421) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426) at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:587) at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:187) at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1429) at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1400) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:220) at org.jackhuang.hmcl.util.io.HttpRequest$HttpPostRequest.lambda$getString$0(HttpRequest.java:187) at org.jackhuang.hmcl.util.io.HttpRequest.getStringWithRetry(HttpRequest.java:224) at org.jackhuang.hmcl.util.io.HttpRequest.access$100(HttpRequest.java:47) at org.jackhuang.hmcl.util.io.HttpRequest$HttpPostRequest.getString(HttpRequest.java:183) at org.jackhuang.hmcl.util.io.HttpRequest.getJson(HttpRequest.java:102) at org.jackhuang.hmcl.auth.OAuth.authenticateDevice(OAuth.java:103) at org.jackhuang.hmcl.auth.OAuth.authenticate(OAuth.java:59) ... 15 more Caused by: java.io.EOFException: SSL peer shut down incorrectly at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:488) at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:477) at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160) at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111) at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1506) ... 30 more [13:15:17] [org.jackhuang.hmcl.ui.construct.StackContainerPane.pop/INFO] StackContainerPane@2faab794 [], removed: true, object: CreateAccountPane@545fe447[styleClass=jfx-dialog-layout] [13:15:19] [org.jackhuang.hmcl.Launcher.stopApplication/INFO] Stopping application. at java.base/java.lang.Thread.getStackTrace(Thread.java:2514) at org.jackhuang.hmcl.Launcher.stopApplication(Launcher.java:250) at org.jackhuang.hmcl.ui.decorator.Decorator.close(Decorator.java:246) at org.jackhuang.hmcl.ui.decorator.DecoratorSkin.lambda$new$5(DecoratorSkin.java:207) at javafx.base@20.0.1-internal/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:232) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:189) at javafx.base@20.0.1-internal/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49) at javafx.base@20.0.1-internal/javafx.event.Event.fireEvent(Event.java:198) at javafx.graphics@20.0.1-internal/javafx.scene.Node.fireEvent(Node.java:8944) at javafx.controls@20.0.1-internal/javafx.scene.control.Button.fire(Button.java:203) at javafx.controls@20.0.1-internal/com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:207) at javafx.controls@20.0.1-internal/com.sun.javafx.scene.control.inputmap.InputMap.handle(InputMap.java:274) at javafx.base@20.0.1-internal/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:247) at javafx.base@20.0.1-internal/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:232) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:189) at javafx.base@20.0.1-internal/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54) at javafx.base@20.0.1-internal/javafx.event.Event.fireEvent(Event.java:198) at javafx.graphics@20.0.1-internal/javafx.scene.Scene$MouseHandler.process(Scene.java:3980) at javafx.graphics@20.0.1-internal/javafx.scene.Scene.processMouseEvent(Scene.java:1890) at javafx.graphics@20.0.1-internal/javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2704) at javafx.graphics@20.0.1-internal/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:411) at javafx.graphics@20.0.1-internal/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:301) at java.base/java.security.AccessController.doPrivileged(AccessController.java:400) at javafx.graphics@20.0.1-internal/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:450) at javafx.graphics@20.0.1-internal/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:424) at javafx.graphics@20.0.1-internal/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:449) at javafx.graphics@20.0.1-internal/com.sun.glass.ui.View.handleMouseEvent(View.java:551) at javafx.graphics@20.0.1-internal/com.sun.glass.ui.View.notifyMouse(View.java:937) at javafx.graphics@20.0.1-internal/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at javafx.graphics@20.0.1-internal/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:316) at java.base/java.lang.Thread.run(Thread.java:1623)

代理换个节点或者关闭试试

Tangtangchannel commented 1 year ago

@hejiehao 也一样的结果,大概不是代理的问题

burningtnt commented 1 year ago

屁,就是证书的问题。大概率是你的代理软件所带的证书不被 Java 信任

Tangtangchannel commented 1 year ago

@burningtnt 有没有可能我测了一遍裸连也一样

burningtnt commented 1 year ago

请直接将启动器日志拖到这里,上传完整的启动器日志

Tangtangchannel commented 1 year ago

@burningtnt

[14:55:03] [org.jackhuang.hmcl.Launcher.main/INFO] HMCL 3.5.4.234 [14:55:03] [org.jackhuang.hmcl.Launcher.main/INFO] Operating System: Linux 6.4.3-arch1-1 [14:55:03] [org.jackhuang.hmcl.Launcher.main/INFO] System Architecture: x86_64 [14:55:03] [org.jackhuang.hmcl.Launcher.main/INFO] Java Architecture: amd64 [14:55:03] [org.jackhuang.hmcl.Launcher.main/INFO] Java Version: 20.0.1, N/A [14:55:03] [org.jackhuang.hmcl.Launcher.main/INFO] Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Oracle Corporation [14:55:03] [org.jackhuang.hmcl.Launcher.main/INFO] Java Home: /usr/lib/jvm/java-20-openjdk [14:55:03] [org.jackhuang.hmcl.Launcher.main/INFO] Current Directory: /home/tangtang/.config/hmcl [14:55:03] [org.jackhuang.hmcl.Launcher.main/INFO] HMCL Directory: /home/tangtang/.local/share/hmcl [14:55:03] [org.jackhuang.hmcl.Launcher.main/INFO] HMCL Jar Path: /usr/share/java/hmcl-bin/hmcl-bin.jar [14:55:03] [org.jackhuang.hmcl.Launcher.main/INFO] Memory: 3936MB [14:55:03] [org.jackhuang.hmcl.Launcher.main/INFO] Metaspace: 3MB [14:55:03] [org.jackhuang.hmcl.Launcher.main/INFO] XDG Session Type: wayland [14:55:04] [org.jackhuang.hmcl.Launcher.start/INFO] JavaFX Version: 20.0.1-internal+0-2023-04-20-185628 [14:55:04] [org.jackhuang.hmcl.Launcher.start/INFO] Prism pipeline: com.sun.prism.es2.ES2Pipeline [14:55:04] [org.jackhuang.hmcl.setting.ConfigHolder.init/INFO] Config location: hmcl.json [14:55:04] [org.jackhuang.hmcl.auth.authlibinjector.AuthlibInjectorDownloader.checkUpdate/INFO] Checking update of authlib-injector [14:55:04] [org.jackhuang.hmcl.task.AsyncTaskExecutor.lambda$executeNormalTask$19/FINE] Executing task: org.jackhuang.hmcl.game.GameRepository.refreshVersionsAsync(GameRepository.java:90) [14:55:04] [org.jackhuang.hmcl.task.AsyncTaskExecutor.lambda$executeNormalTask$19/FINE] Executing task: org.jackhuang.hmcl.game.GameRepository.refreshVersionsAsync(GameRepository.java:90) [14:55:04] [org.jackhuang.hmcl.event.EventBus.fireEvent/INFO] RefreshingVersionsEvent [source=HMCLGameRepository [versions=null, baseDirectory=/home/tangtang/.minecraft]] gets fired [14:55:04] [org.jackhuang.hmcl.event.EventBus.fireEvent/INFO] RefreshingVersionsEvent [source=HMCLGameRepository [versions=null, baseDirectory=/home/tangtang/.minecraft]] gets fired [14:55:04] [org.jackhuang.hmcl.ui.Controllers.initialize/INFO] Start initializing application [14:55:04] [org.jackhuang.hmcl.event.EventBus.fireEvent/INFO] LoadedOneVersionEvent [source=HMCLGameRepository [versions=null, baseDirectory=/home/tangtang/.minecraft], version=Version [id=1.20.1]] gets fired [14:55:04] [org.jackhuang.hmcl.event.EventBus.fireEvent/INFO] LoadedOneVersionEvent [source=HMCLGameRepository [versions=null, baseDirectory=/home/tangtang/.minecraft], version=Version [id=1.20.1]] gets fired [14:55:04] [org.jackhuang.hmcl.event.EventBus.fireEvent/INFO] RefreshedVersionsEvent [source=HMCLGameRepository [versions=[1.20.1], baseDirectory=/home/tangtang/.minecraft]] gets fired [14:55:04] [org.jackhuang.hmcl.event.EventBus.fireEvent/INFO] RefreshedVersionsEvent [source=HMCLGameRepository [versions=[1.20.1], baseDirectory=/home/tangtang/.minecraft]] gets fired [14:55:04] [org.jackhuang.hmcl.task.AsyncTaskExecutor.lambda$executeNormalTask$29/FINER] Task finished: org.jackhuang.hmcl.game.GameRepository.refreshVersionsAsync(GameRepository.java:90) [14:55:04] [org.jackhuang.hmcl.task.AsyncTaskExecutor.lambda$executeNormalTask$29/FINER] Task finished: org.jackhuang.hmcl.game.GameRepository.refreshVersionsAsync(GameRepository.java:90) [14:55:04] [org.jackhuang.hmcl.auth.authlibinjector.AuthlibInjectorServer.refreshMetadata/INFO] authlib-injector server metadata refreshed: https://littleskin.cn/api/yggdrasil/ [14:55:05] [org.jackhuang.hmcl.task.AsyncTaskExecutor.lambda$executeNormalTask$19/FINE] Executing task: org.jackhuang.hmcl.ui.Controllers.initialize(Controllers.java:197) [14:55:05] [org.jackhuang.hmcl.util.platform.JavaVersion.lambda$lookupJavas$2/FINER] Looking for Java:/usr/lib/jvm/java-11-openjdk/bin/java [14:55:05] [org.jackhuang.hmcl.util.platform.JavaVersion.lambda$lookupJavas$2/FINER] Looking for Java:/usr/lib/jvm/java-20-jdk/bin/java [14:55:05] [org.jackhuang.hmcl.util.platform.JavaVersion.lambda$lookupJavas$2/FINER] Looking for Java:/usr/lib/jvm/java-17-openjdk/bin/java [14:55:05] [org.jackhuang.hmcl.util.platform.JavaVersion.lambda$lookupJavas$2/FINE] Found Java (20.0.1) /usr/lib/jvm/java-20-jdk/bin/java [14:55:05] [org.jackhuang.hmcl.util.platform.JavaVersion.lambda$lookupJavas$2/FINE] Found Java (11.0.19) /usr/lib/jvm/java-11-openjdk/bin/java [14:55:05] [org.jackhuang.hmcl.util.platform.JavaVersion.lambda$lookupJavas$2/FINE] Found Java (17.0.7) /usr/lib/jvm/java-17-openjdk/bin/java [14:55:05] [org.jackhuang.hmcl.util.platform.JavaVersion.initialize/FINE] Finished Java installation lookup, found 4 [14:55:05] [org.jackhuang.hmcl.task.AsyncTaskExecutor.lambda$executeNormalTask$29/FINER] Task finished: org.jackhuang.hmcl.ui.Controllers.initialize(Controllers.java:197) [14:55:05] [org.jackhuang.hmcl.setting.ConfigHolder.writeToConfig/INFO] Saving config [14:55:05] [org.jackhuang.hmcl.upgrade.IntegrityChecker.isSelfVerified/INFO] Successfully verified current JAR [14:55:05] [org.jackhuang.hmcl.util.Pack200Utils./WARNING] Pack200 not found [14:55:05] [org.jackhuang.hmcl.upgrade.UpdateChecker.lambda$requestCheckUpdate$2/INFO] Latest version (DEVELOPMENT) is [3.5.4.234 from http://mirrors.cloud.tencent.com/nexus/repository/maven-public/org/glavo/hmcl/hmcl-dev/3.5.4.234/hmcl-dev-3.5.4.234.jar] [14:55:09] [org.jackhuang.hmcl.ui.construct.Navigator.navigate/INFO] Navigate to AccountListPage@425fa16b[styleClass=gray-background] [14:55:11] [org.jackhuang.hmcl.ui.construct.StackContainerPane.push/INFO] StackContainerPane@622c33f3 [CreateAccountPane@7c854a05[styleClass=jfx-dialog-layout]] [14:55:12] [org.jackhuang.hmcl.task.AsyncTaskExecutor.lambda$executeNormalTask$19/FINE] Executing task: org.jackhuang.hmcl.ui.account.CreateAccountPane.onAccept(CreateAccountPane.java:229) [14:55:12] [org.jackhuang.hmcl.task.AsyncTaskExecutor.lambda$executeNormalTask$19/FINE] Executing task: org.jackhuang.hmcl.ui.account.CreateAccountPane.onAccept(CreateAccountPane.java:228) [14:55:12] [org.jackhuang.hmcl.task.AsyncTaskExecutor.lambda$executeNormalTask$31/FINE] Task failed: org.jackhuang.hmcl.ui.account.CreateAccountPane.onAccept(CreateAccountPane.java:228) org.jackhuang.hmcl.auth.ServerDisconnectException: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake at org.jackhuang.hmcl.auth.OAuth.authenticate(OAuth.java:64) at org.jackhuang.hmcl.auth.microsoft.MicrosoftService.authenticate(MicrosoftService.java:74) at org.jackhuang.hmcl.auth.microsoft.MicrosoftAccount.(MicrosoftAccount.java:53) at org.jackhuang.hmcl.auth.microsoft.MicrosoftAccountFactory.create(MicrosoftAccountFactory.java:44) at org.jackhuang.hmcl.auth.microsoft.MicrosoftAccountFactory.create(MicrosoftAccountFactory.java:27) at org.jackhuang.hmcl.ui.account.CreateAccountPane.lambda$onAccept$3(CreateAccountPane.java:228) at org.jackhuang.hmcl.task.Task$SimpleTask.execute(Task.java:1022) at org.jackhuang.hmcl.task.AsyncTaskExecutor.lambda$executeNormalTask$22(AsyncTaskExecutor.java:245) at org.jackhuang.hmcl.util.Lang.lambda$wrap$2(Lang.java:291) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) Caused by: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake at java.base/sun.security.ssl.SSLSocketImpl.handleEOF(SSLSocketImpl.java:1714) at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1514) at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1421) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426) at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:587) at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:187) at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1429) at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1400) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:220) at org.jackhuang.hmcl.util.io.HttpRequest$HttpPostRequest.lambda$getString$0(HttpRequest.java:187) at org.jackhuang.hmcl.util.io.HttpRequest.getStringWithRetry(HttpRequest.java:224) at org.jackhuang.hmcl.util.io.HttpRequest.access$100(HttpRequest.java:47) at org.jackhuang.hmcl.util.io.HttpRequest$HttpPostRequest.getString(HttpRequest.java:183) at org.jackhuang.hmcl.util.io.HttpRequest.getJson(HttpRequest.java:102) at org.jackhuang.hmcl.auth.OAuth.authenticateDevice(OAuth.java:103) at org.jackhuang.hmcl.auth.OAuth.authenticate(OAuth.java:59) ... 15 more Caused by: java.io.EOFException: SSL peer shut down incorrectly at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:488) at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:477) at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160) at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111) at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1506) ... 30 more [14:55:12] [org.jackhuang.hmcl.task.AsyncTaskExecutor.lambda$start$1/WARNING] An exception occurred in task execution org.jackhuang.hmcl.auth.ServerDisconnectException: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake at org.jackhuang.hmcl.auth.OAuth.authenticate(OAuth.java:64) at org.jackhuang.hmcl.auth.microsoft.MicrosoftService.authenticate(MicrosoftService.java:74) at org.jackhuang.hmcl.auth.microsoft.MicrosoftAccount.(MicrosoftAccount.java:53) at org.jackhuang.hmcl.auth.microsoft.MicrosoftAccountFactory.create(MicrosoftAccountFactory.java:44) at org.jackhuang.hmcl.auth.microsoft.MicrosoftAccountFactory.create(MicrosoftAccountFactory.java:27) at org.jackhuang.hmcl.ui.account.CreateAccountPane.lambda$onAccept$3(CreateAccountPane.java:228) at org.jackhuang.hmcl.task.Task$SimpleTask.execute(Task.java:1022) at org.jackhuang.hmcl.task.AsyncTaskExecutor.lambda$executeNormalTask$22(AsyncTaskExecutor.java:245) at org.jackhuang.hmcl.util.Lang.lambda$wrap$2(Lang.java:291) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) Caused by: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake at java.base/sun.security.ssl.SSLSocketImpl.handleEOF(SSLSocketImpl.java:1714) at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1514) at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1421) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426) at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:587) at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:187) at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1429) at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1400) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:220) at org.jackhuang.hmcl.util.io.HttpRequest$HttpPostRequest.lambda$getString$0(HttpRequest.java:187) at org.jackhuang.hmcl.util.io.HttpRequest.getStringWithRetry(HttpRequest.java:224) at org.jackhuang.hmcl.util.io.HttpRequest.access$100(HttpRequest.java:47) at org.jackhuang.hmcl.util.io.HttpRequest$HttpPostRequest.getString(HttpRequest.java:183) at org.jackhuang.hmcl.util.io.HttpRequest.getJson(HttpRequest.java:102) at org.jackhuang.hmcl.auth.OAuth.authenticateDevice(OAuth.java:103) at org.jackhuang.hmcl.auth.OAuth.authenticate(OAuth.java:59) ... 15 more Caused by: java.io.EOFException: SSL peer shut down incorrectly at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:488) at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:477) at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160) at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111) at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1506) ... 30 more [14:55:16] [org.jackhuang.hmcl.ui.construct.StackContainerPane.pop/INFO] StackContainerPane@622c33f3 [], removed: true, object: CreateAccountPane@7c854a05[styleClass=jfx-dialog-layout] [14:55:19] [org.jackhuang.hmcl.ui.construct.StackContainerPane.push/INFO] StackContainerPane@1172abc [CreateAccountPane@31a08b8e[styleClass=jfx-dialog-layout]] [14:55:25] [org.jackhuang.hmcl.ui.construct.StackContainerPane.pop/INFO] StackContainerPane@1172abc [], removed: true, object: CreateAccountPane@31a08b8e[styleClass=jfx-dialog-layout] [14:55:27] [org.jackhuang.hmcl.ui.construct.StackContainerPane.push/INFO] StackContainerPane@5da1f194 [CreateAccountPane@77f06d79[styleClass=jfx-dialog-layout]] [14:55:28] [org.jackhuang.hmcl.ui.construct.StackContainerPane.pop/INFO] StackContainerPane@5da1f194 [], removed: true, object: CreateAccountPane@77f06d79[styleClass=jfx-dialog-layout] [14:55:32] [org.jackhuang.hmcl.ui.construct.Navigator.close/INFO] Closed page AccountListPage@425fa16b[styleClass=gray-background] [14:55:34] [org.jackhuang.hmcl.Launcher.stopApplication/INFO] Stopping application. at java.base/java.lang.Thread.getStackTrace(Thread.java:2514) at org.jackhuang.hmcl.Launcher.stopApplication(Launcher.java:250) at org.jackhuang.hmcl.ui.decorator.Decorator.close(Decorator.java:246) at org.jackhuang.hmcl.ui.decorator.DecoratorSkin.lambda$new$5(DecoratorSkin.java:207) at javafx.base@20.0.1-internal/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:232) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:189) at javafx.base@20.0.1-internal/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49) at javafx.base@20.0.1-internal/javafx.event.Event.fireEvent(Event.java:198) at javafx.graphics@20.0.1-internal/javafx.scene.Node.fireEvent(Node.java:8944) at javafx.controls@20.0.1-internal/javafx.scene.control.Button.fire(Button.java:203) at javafx.controls@20.0.1-internal/com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:207) at javafx.controls@20.0.1-internal/com.sun.javafx.scene.control.inputmap.InputMap.handle(InputMap.java:274) at javafx.base@20.0.1-internal/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:247) at javafx.base@20.0.1-internal/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:232) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:189) at javafx.base@20.0.1-internal/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at javafx.base@20.0.1-internal/com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54) at javafx.base@20.0.1-internal/javafx.event.Event.fireEvent(Event.java:198) at javafx.graphics@20.0.1-internal/javafx.scene.Scene$MouseHandler.process(Scene.java:3980) at javafx.graphics@20.0.1-internal/javafx.scene.Scene.processMouseEvent(Scene.java:1890) at javafx.graphics@20.0.1-internal/javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2704) at javafx.graphics@20.0.1-internal/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:411) at javafx.graphics@20.0.1-internal/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:301) at java.base/java.security.AccessController.doPrivileged(AccessController.java:400) at javafx.graphics@20.0.1-internal/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:450) at javafx.graphics@20.0.1-internal/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:424) at javafx.graphics@20.0.1-internal/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:449) at javafx.graphics@20.0.1-internal/com.sun.glass.ui.View.handleMouseEvent(View.java:551) at javafx.graphics@20.0.1-internal/com.sun.glass.ui.View.notifyMouse(View.java:937) at javafx.graphics@20.0.1-internal/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at javafx.graphics@20.0.1-internal/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:316) at java.base/java.lang.Thread.run(Thread.java:1623)

[14:55:34] [org.jackhuang.hmcl.task.Schedulers.shutdown/INFO] Shutting down executor services.

burningtnt commented 1 year ago

…… 不要复制粘贴,直接把文件拖进来不好吗?刷了个大屏

burningtnt commented 1 year ago

你的 Java 是 OpenJDK 64-Bit Server VM (mixed mode, sharing), Oracle Corporation 20.0.1, N/A

但你还记得 Glavo 说过什么吗?

请确保使用非 Oracle JDK 的 Java 17+ 启动 HMCL。

关于证书问题,HMCL 可以自身嵌入根证书来解决,但问题是怎么让游戏也加载证书,这个问题更麻烦,我们暂时难以解决,所以暂时不处理。

burningtnt commented 1 year ago

然后呢,我用的是OpenJDK而不是JDK,软件包里压根没这个

你也知道自己在胡扯啊

Tangtangchannel commented 1 year ago

我这边JRE和JDK都是OpenJDK20

启动器内也指定的OpenJDK

hejiehao commented 1 year ago

…… 不要复制粘贴,直接把文件拖进来不好吗?刷了个大屏

sb github我传了半天都不能把日志传上去

hejiehao commented 1 year ago

@Tangtangchannel 你的GNU/Linux发行版是什么?

Tangtangchannel commented 1 year ago

@Tangtangchannel 你的GNU/Linux发行版是什么?

Archlinux

hejiehao commented 1 year ago

@Tangtangchannel 你的GNU/Linux发行版是什么?

Archlinux

在aur中安装liberica java试试

hejiehao commented 1 year ago

https://aur.archlinux.org/packages/liberica-jre-8-full-bin

Tangtangchannel commented 1 year ago

https://aur.archlinux.org/packages/liberica-jre-8-full-bin

不胜感激。

(另外,这里有人需要看一下GitHub Community Guidelines了)

burningtnt commented 1 year ago

因此,

https://aur.archlinux.org/packages/liberica-jre-8-full-bin

不胜感激。

(另外,这里有人需要看一下GitHub Community Guidelines了)

所以你登录成功了吗?

burningtnt commented 1 year ago

@zkitefly 让启动器自动检测当前 Java 是否为 Oracle JDK并给出提示,是否是一个好主意?

hejiehao commented 1 year ago

@zkitefly 让启动器自动检测当前 Java 是否为 Oracle JDK并给出提示,是否是一个好主意?

好像以前的HMCL用非Oracle Java启动时会发出警告

Tangtangchannel commented 1 year ago

因此,

https://aur.archlinux.org/packages/liberica-jre-8-full-bin

不胜感激。 (另外,这里有人需要看一下GitHub Community Guidelines了)

所以你登录成功了吗?

当然

orbitgw commented 1 year ago

换了openjdk 20,还是时不时的存在SSL错误的问题,搞得我都转手Labymod了

hejiehao commented 1 year ago

换了openjdk 20,还是时不时的存在SSL错误的问题,搞得我都转手Labymod了

出现问题后不要退出启动器,在启动器的 设置 -- 通用 中导出启动器日志,然后把导出的文件发出来 image

ricardoypeng commented 1 year ago

换了openjdk 20,还是时不时的存在SSL错误的问题,搞得我都转手Labymod了

出现问题后不要退出启动器,在启动器的 设置 -- 通用 中导出启动器日志,然后把导出的文件发出来 image

hmcl-exported-logs-2023-08-05T13-35-54.log

burningtnt commented 1 year ago

换了openjdk 20,还是时不时的存在SSL错误的问题,搞得我都转手Labymod了

出现问题后不要退出启动器,在启动器的 设置 -- 通用 中导出启动器日志,然后把导出的文件发出来 image

hmcl-exported-logs-2023-08-05T13-35-54.log

你仔细看 Glavo 写的内容了吗?

请确保使用非 Oracle JDK 的 Java 17+ 启动 HMCL。

关于证书问题,HMCL 可以自身嵌入根证书来解决,但问题是怎么让游戏也加载证书,这个问题更麻烦,我们暂时难以解决,所以暂时不处理。

burningtnt commented 1 year ago

@zkitefly -javaagent 能让 Minecraft 加载证书吗?

zkitefly commented 1 year ago

@zkitefly -javaagent 能让 Minecraft 加载证书吗?

好像不行

jinshastudios commented 1 year ago

发现了,使用SteamCommunity 302会导致登陆失败 关掉就可以了

zkitefly commented 1 year ago

@Glavo 可以关闭该 issue 了

RoyZ-iwnl commented 1 year ago

发现了,使用SteamCommunity 302会导致登陆失败 关掉就可以了

原来是这个问题:D

Kirisoup commented 10 months ago

jdk要用哪儿的呢?不是用的 oracle,代理也关闭了,也没有用上面那个什么steamcommunity,还是报错...

日志: hmcl-exported-logs-2024-01-01T02-00-30.log

burningtnt commented 9 months ago

jdk要用哪儿的呢?不是用的 oracle,代理也关闭了,也没有用上面那个什么steamcommunity,还是报错...

日志: hmcl-exported-logs-2024-01-01T02-00-30.log

把你的 Java 卸了,换 Bellsoft 的 https://bell-sw.com/pages/downloads/