HMCL icon indicating copy to clipboard operation
HMCL copied to clipboard

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

Open chr431 opened this issue 3 years ago • 39 comments

启动器版本 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

chr431 avatar Jul 02 '23 05:07 chr431

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

hejiehao avatar Jul 02 '23 06:07 hejiehao

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

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

chr431 avatar Jul 02 '23 07:07 chr431

Same problem

orbitgw avatar Jul 13 '23 16:07 orbitgw

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

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

Glavo avatar Jul 13 '23 17:07 Glavo

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

orbitgw avatar Jul 13 '23 17:07 orbitgw

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

oracle jdk走的是系统证书库

hejiehao avatar Jul 15 '23 09:07 hejiehao

这边也遇到了同样的问题(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 [email protected]/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86) at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:232) at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:189) at [email protected]/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at [email protected]/com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49) at [email protected]/javafx.event.Event.fireEvent(Event.java:198) at [email protected]/javafx.scene.Node.fireEvent(Node.java:8944) at [email protected]/javafx.scene.control.Button.fire(Button.java:203) at [email protected]/com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:207) at [email protected]/com.sun.javafx.scene.control.inputmap.InputMap.handle(InputMap.java:274) at [email protected]/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:247) at [email protected]/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80) at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:232) at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:189) at [email protected]/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at [email protected]/com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54) at [email protected]/javafx.event.Event.fireEvent(Event.java:198) at [email protected]/javafx.scene.Scene$MouseHandler.process(Scene.java:3980) at [email protected]/javafx.scene.Scene.processMouseEvent(Scene.java:1890) at [email protected]/javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2704) at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:411) at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:301) at java.base/java.security.AccessController.doPrivileged(AccessController.java:400) at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:450) at [email protected]/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:424) at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:449) at [email protected]/com.sun.glass.ui.View.handleMouseEvent(View.java:551) at [email protected]/com.sun.glass.ui.View.notifyMouse(View.java:937) at [email protected]/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at [email protected]/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:316) at java.base/java.lang.Thread.run(Thread.java:1623)

Tangtangchannel avatar Jul 16 '23 05:07 Tangtangchannel

这边也遇到了同样的问题(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 [email protected]/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86) at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:232) at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:189) at [email protected]/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at [email protected]/com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49) at [email protected]/javafx.event.Event.fireEvent(Event.java:198) at [email protected]/javafx.scene.Node.fireEvent(Node.java:8944) at [email protected]/javafx.scene.control.Button.fire(Button.java:203) at [email protected]/com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:207) at [email protected]/com.sun.javafx.scene.control.inputmap.InputMap.handle(InputMap.java:274) at [email protected]/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:247) at [email protected]/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80) at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:232) at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:189) at [email protected]/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at [email protected]/com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54) at [email protected]/javafx.event.Event.fireEvent(Event.java:198) at [email protected]/javafx.scene.Scene$MouseHandler.process(Scene.java:3980) at [email protected]/javafx.scene.Scene.processMouseEvent(Scene.java:1890) at [email protected]/javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2704) at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:411) at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:301) at java.base/java.security.AccessController.doPrivileged(AccessController.java:400) at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:450) at [email protected]/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:424) at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:449) at [email protected]/com.sun.glass.ui.View.handleMouseEvent(View.java:551) at [email protected]/com.sun.glass.ui.View.notifyMouse(View.java:937) at [email protected]/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at [email protected]/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:316) at java.base/java.lang.Thread.run(Thread.java:1623)

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

hejiehao avatar Jul 16 '23 05:07 hejiehao

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

Tangtangchannel avatar Jul 16 '23 05:07 Tangtangchannel

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

burningtnt avatar Jul 16 '23 06:07 burningtnt

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

Tangtangchannel avatar Jul 16 '23 06:07 Tangtangchannel

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

burningtnt avatar Jul 16 '23 06:07 burningtnt

@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 [email protected]/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86) at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:232) at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:189) at [email protected]/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at [email protected]/com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49) at [email protected]/javafx.event.Event.fireEvent(Event.java:198) at [email protected]/javafx.scene.Node.fireEvent(Node.java:8944) at [email protected]/javafx.scene.control.Button.fire(Button.java:203) at [email protected]/com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:207) at [email protected]/com.sun.javafx.scene.control.inputmap.InputMap.handle(InputMap.java:274) at [email protected]/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:247) at [email protected]/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80) at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:232) at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:189) at [email protected]/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at [email protected]/com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at [email protected]/com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54) at [email protected]/javafx.event.Event.fireEvent(Event.java:198) at [email protected]/javafx.scene.Scene$MouseHandler.process(Scene.java:3980) at [email protected]/javafx.scene.Scene.processMouseEvent(Scene.java:1890) at [email protected]/javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2704) at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:411) at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:301) at java.base/java.security.AccessController.doPrivileged(AccessController.java:400) at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:450) at [email protected]/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:424) at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:449) at [email protected]/com.sun.glass.ui.View.handleMouseEvent(View.java:551) at [email protected]/com.sun.glass.ui.View.notifyMouse(View.java:937) at [email protected]/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at [email protected]/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.

Tangtangchannel avatar Jul 16 '23 06:07 Tangtangchannel

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

burningtnt avatar Jul 16 '23 06:07 burningtnt

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

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

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

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

burningtnt avatar Jul 16 '23 06:07 burningtnt

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

你也知道自己在胡扯啊

burningtnt avatar Jul 16 '23 07:07 burningtnt

我这边JRE和JDK都是OpenJDK20

启动器内也指定的OpenJDK

Tangtangchannel avatar Jul 16 '23 07:07 Tangtangchannel

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

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

hejiehao avatar Jul 16 '23 07:07 hejiehao

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

hejiehao avatar Jul 16 '23 07:07 hejiehao

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

Archlinux

Tangtangchannel avatar Jul 16 '23 07:07 Tangtangchannel