OAuth

OAuth

9M Downloads

SSLHandshakeException upon Microsoft login

qwertie64982 opened this issue ยท 8 comments

commented

image

I've had my client running for probably about a week, with computer sleeping/waking periodically. This mod has worked flawlessly for months prior to this event, including in this current session. Now, even after closing/relaunching MC, I repro 100% of the time. I'll report back if a browser or computer restart fixes it, seems like maybe there's just a way outdated cert or something?

  • Microsoft login
  • MC 1.12.2, Forge, Technic Launcher
  • OAuth 1.06.2
  • Windows 10 21H1 build 19043.1526
  • Oracle Java 1.8.1_181 x64, 4G allocated to MC
  • Args -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1497)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:275)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:254)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:117)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:314)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at com.sintinium.oauth.login.MicrosoftLogin.getXblToken(MicrosoftLogin.java:202)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at com.sintinium.oauth.login.MicrosoftLogin$$Lambda$3125/1712699689.apply(Unknown Source)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at com.sintinium.oauth.login.MicrosoftLogin.callIfNotCancelled(MicrosoftLogin.java:115)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at com.sintinium.oauth.login.MicrosoftLogin.login(MicrosoftLogin.java:72)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at com.sintinium.oauth.gui.LoginTypeScreen.lambda$null$2(LoginTypeScreen.java:32)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at com.sintinium.oauth.gui.LoginTypeScreen$$Lambda$3111/1703665054.run(Unknown Source)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.LoginTypeScreen:lambda$null$2:37]: 	at java.lang.Thread.run(Thread.java:745)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:634]: Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.validator.Validator.validate(Validator.java:260)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1479)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:634]: 	... 26 more
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:643]: Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:643]: 	at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:145)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:643]: 	at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:643]: 	at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:643]: 	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:643]: 	... 32 more
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1497)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:275)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:254)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:117)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:314)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at com.sintinium.oauth.login.MicrosoftLogin.getXblToken(MicrosoftLogin.java:202)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at com.sintinium.oauth.login.MicrosoftLogin$$Lambda$3125/1712699689.apply(Unknown Source)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at com.sintinium.oauth.login.MicrosoftLogin.callIfNotCancelled(MicrosoftLogin.java:115)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at com.sintinium.oauth.login.MicrosoftLogin.login(MicrosoftLogin.java:72)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at com.sintinium.oauth.gui.LoginTypeScreen.lambda$null$2(LoginTypeScreen.java:32)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at com.sintinium.oauth.gui.LoginTypeScreen$$Lambda$3111/1703665054.run(Unknown Source)
[21:48:46] [Thread-21/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:27]: 	at java.lang.Thread.run(Thread.java:745)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:634]: Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.validator.Validator.validate(Validator.java:260)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1479)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:634]: 	... 26 more
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:643]: Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:643]: 	at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:145)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:643]: 	at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:643]: 	at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:643]: 	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
[21:48:46] [Thread-21/INFO]: [java.lang.Throwable:printStackTrace:643]: 	... 32 more
commented

Restarting browser and computer did not resolve, and my time/date is accurate. I can poke around a bit more later.

commented

Got the same issue on my side 1.16.5 running oauth-1.1.12.

[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1497)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:275)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:254)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:117)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:314)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at com.sintinium.oauth.login.MicrosoftLogin.getXblToken(MicrosoftLogin.java:360)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at com.sintinium.oauth.login.MicrosoftLogin$$Lambda$37998/663062951.apply(Unknown Source)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at com.sintinium.oauth.login.MicrosoftLogin.callIfNotCancelled(MicrosoftLogin.java:220)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at com.sintinium.oauth.login.MicrosoftLogin.loginWithToken(MicrosoftLogin.java:112)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at com.sintinium.oauth.login.MicrosoftLogin.login(MicrosoftLogin.java:99)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at com.sintinium.oauth.gui.profile.ProfileSelectionScreen.lambda$onMicrosoftType$10(ProfileSelectionScreen.java:229)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at com.sintinium.oauth.gui.profile.ProfileSelectionScreen$$Lambda$38015/1387238628.run(Unknown Source)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.ErrorScreen:<init>:33]: 	at java.lang.Thread.run(Thread.java:745)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:634]: Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.validator.Validator.validate(Validator.java:260)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1479)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:634]: 	... 27 more
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:643]: Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:643]: 	at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:145)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:643]: 	at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:643]: 	at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:643]: 	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:643]: 	... 33 more
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1497)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:275)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:254)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:117)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:314)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at com.sintinium.oauth.login.MicrosoftLogin.getXblToken(MicrosoftLogin.java:360)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at com.sintinium.oauth.login.MicrosoftLogin$$Lambda$37998/663062951.apply(Unknown Source)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at com.sintinium.oauth.login.MicrosoftLogin.callIfNotCancelled(MicrosoftLogin.java:220)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at com.sintinium.oauth.login.MicrosoftLogin.loginWithToken(MicrosoftLogin.java:112)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at com.sintinium.oauth.login.MicrosoftLogin.login(MicrosoftLogin.java:99)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at com.sintinium.oauth.gui.profile.ProfileSelectionScreen.lambda$onMicrosoftType$10(ProfileSelectionScreen.java:229)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at com.sintinium.oauth.gui.profile.ProfileSelectionScreen$$Lambda$38015/1387238628.run(Unknown Source)
[13:46:37] [Oauth microsoft/INFO]: [com.sintinium.oauth.gui.profile.ProfileSelectionScreen:lambda$onMicrosoftType$10:237]: 	at java.lang.Thread.run(Thread.java:745)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:634]: Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.validator.Validator.validate(Validator.java:260)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:634]: 	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1479)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:634]: 	... 27 more
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:643]: Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:643]: 	at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:145)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:643]: 	at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:643]: 	at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:643]: 	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
[13:46:37] [Oauth microsoft/INFO]: [java.lang.Throwable:printStackTrace:643]: 	... 33 more
[13:46:37] [Oauth microsoft/ERROR]: 1: {"token_type":"bearer","expires_in":3600,"scope":"XboxLive.signin","access_token":"???????????...+1078","refresh_token":"???????????...+324","user_id":"AAAAAAAAAAAAAAAAAAAAANZTDKx-_[REDACTED]"}```
commented

@Sintinium Currently still receiving the error;
Steps taken to try an rectify the issue:

  • Removing the account via remove account button and re-adding
    I wasn't able to find out how to manually revoke an oauth token, otherwise I'd have attempted that as well.
commented

Could one of you try again now and let me know if this is still an issue? I feel like it might've been a server bug. If it's still an issue I'll look into it

commented

the same error occured when i try to relogin my account.
the error occured during the "Getting Xbox Live token" step

-- System Details --
Details:
	Minecraft Version: 1.16.5
	Minecraft Version ID: 1.16.5
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_60, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 3731473944 bytes (3558 MB) / 6442450944 bytes (6144 MB) up to 6442450944 bytes (6144 MB)
	CPUs: 8
	JVM Flags: 7 total; -XX:+UseG1GC -XX:-UseAdaptiveSizePolicy -XX:-OmitStackTraceInFastThrow -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -XX:+IgnoreUnrecognizedVMOptions -Xmn256m -Xmx6144m
	ModLauncher: 8.0.9+86+master.3cf110c
	ModLauncher launch target: fmlclient
	ModLauncher naming: srg
	ModLauncher services: 
		/mixin-0.8.4.jar mixin PLUGINSERVICE 
		/eventbus-4.0.0.jar eventbus PLUGINSERVICE 
		/forge-1.16.5-36.2.20.jar object_holder_definalize PLUGINSERVICE 
		/forge-1.16.5-36.2.20.jar runtime_enum_extender PLUGINSERVICE 
		/accesstransformers-3.0.1.jar accesstransformer PLUGINSERVICE 
		/forge-1.16.5-36.2.20.jar capability_inject_definalize PLUGINSERVICE 
		/forge-1.16.5-36.2.20.jar runtimedistcleaner PLUGINSERVICE 
		/mixin-0.8.4.jar mixin TRANSFORMATIONSERVICE 
		/OptiFine_1.16.5_HD_U_G8.jar OptiFine TRANSFORMATIONSERVICE 
		/forge-1.16.5-36.2.20.jar fml TRANSFORMATIONSERVICE 
	FML: 36.2
	Forge: net.minecraftforge:36.2.20
	FML Language Providers: 
		[email protected]
		minecraft@1
		[email protected]

(i used Create: Above and Beyond pack,so the modlist is long and probably not concerned. if it's useful i will provide it)

log:

[15Mar2022 06:43:42.209] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[15Mar2022 06:43:42.235] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at sun.security.ssl.Alerts.getSSLException(Unknown Source)
[15Mar2022 06:43:42.236] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
[15Mar2022 06:43:42.236] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
[15Mar2022 06:43:42.236] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
[15Mar2022 06:43:42.236] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
[15Mar2022 06:43:42.236] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
[15Mar2022 06:43:42.236] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at sun.security.ssl.Handshaker.processLoop(Unknown Source)
[15Mar2022 06:43:42.236] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at sun.security.ssl.Handshaker.process_record(Unknown Source)
[15Mar2022 06:43:42.237] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
[15Mar2022 06:43:42.237] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
[15Mar2022 06:43:42.237] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
[15Mar2022 06:43:42.237] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
[15Mar2022 06:43:42.237] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:275)
[15Mar2022 06:43:42.237] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:254)
[15Mar2022 06:43:42.238] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:117)
[15Mar2022 06:43:42.238] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:314)
[15Mar2022 06:43:42.238] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
[15Mar2022 06:43:42.238] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
[15Mar2022 06:43:42.238] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
[15Mar2022 06:43:42.238] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
[15Mar2022 06:43:42.238] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
[15Mar2022 06:43:42.238] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)
[15Mar2022 06:43:42.238] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
[15Mar2022 06:43:42.239] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
[15Mar2022 06:43:42.239] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at com.sintinium.oauth.login.MicrosoftLogin.getXblToken(MicrosoftLogin.java:263)
[15Mar2022 06:43:42.239] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at com.sintinium.oauth.login.MicrosoftLogin.callIfNotCancelled(MicrosoftLogin.java:155)
[15Mar2022 06:43:42.239] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at com.sintinium.oauth.login.MicrosoftLogin.loginWithToken(MicrosoftLogin.java:116)
[15Mar2022 06:43:42.239] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at com.sintinium.oauth.login.MicrosoftLogin.loginFromRefresh(MicrosoftLogin.java:74)
[15Mar2022 06:43:42.239] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at com.sintinium.oauth.profile.MicrosoftProfile.login(MicrosoftProfile.java:50)
[15Mar2022 06:43:42.239] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at com.sintinium.oauth.gui.profile.ProfileSelectionScreen.lambda$onLoginButton$9(ProfileSelectionScreen.java:168)
[15Mar2022 06:43:42.239] [LoginThread/INFO] [STDERR/]: [com.sintinium.oauth.login.MicrosoftLogin:loginFromRefresh:76]: 	at java.lang.Thread.run(Unknown Source)
[15Mar2022 06:43:42.241] [LoginThread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[15Mar2022 06:43:42.241] [LoginThread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: 	at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
[15Mar2022 06:43:42.242] [LoginThread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: 	at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
[15Mar2022 06:43:42.242] [LoginThread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: 	at sun.security.validator.Validator.validate(Unknown Source)
[15Mar2022 06:43:42.242] [LoginThread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: 	at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
[15Mar2022 06:43:42.242] [LoginThread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: 	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
[15Mar2022 06:43:42.242] [LoginThread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: 	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
[15Mar2022 06:43:42.242] [LoginThread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: 	... 27 more
[15Mar2022 06:43:42.243] [LoginThread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[15Mar2022 06:43:42.243] [LoginThread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: 	at sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)
[15Mar2022 06:43:42.244] [LoginThread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: 	at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
[15Mar2022 06:43:42.244] [LoginThread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: 	at java.security.cert.CertPathBuilder.build(Unknown Source)
[15Mar2022 06:43:42.244] [LoginThread/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: 	... 33 more
commented

Thank you all for the information. I finally am able to replicate the issue. It seems mojang has changed something about it's java runtime. I'm working on a fix

commented

Issue should be fixed in latest versions for 1.12, 1.16, and 1.18.2. If it's not fixed feel free to re-open this issue

commented

Verified no more issue on my end either! Thank you for your quick work on the bug and for maintaining older MC versions, this is awesome. ๐Ÿ˜โ›