Stefan1200's Forum

JTS3ServerMod Hosting Edition => JTS3ServerMod MySQL & WebInterface => Topic started by: Flofus on April 12, 2019, 08:37:44 PM

Title: Start Fehler
Post by: Flofus on April 12, 2019, 08:37:44 PM
Ich wollte wieder einen Bot system starten und jetzt bekomme ich die meldung

2019-04-12 20:36:28     LICENCE_CHECK   Error while validating licence key! Reason: javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: java.net.SocketException: Connection reset
2019-04-12 20:36:28     JTS3ServerMod 6.5.5 Hosting Edition (27.01.2019): EXCEPTION
javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: java.net.SocketException: Connection reset
        at sun.security.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1533)
        at sun.security.ssl.AppInputStream.read(AppInputStream.java:95)
        at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
        at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
        at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
        at java.io.InputStreamReader.read(InputStreamReader.java:184)
        at java.io.BufferedReader.fill(BufferedReader.java:161)
        at java.io.BufferedReader.readLine(BufferedReader.java:324)
        at java.io.BufferedReader.readLine(BufferedReader.java:389)
        at de.stefan1200.jts3servermod.f.f(Unknown Source)
        at de.stefan1200.jts3servermod.f.<init>(Unknown Source)
        at de.stefan1200.jts3servermod.JTS3ServerMod.main(Unknown Source)
Caused by: javax.net.ssl.SSLException: java.net.SocketException: Connection reset
        at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
        at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1946)
        at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1903)
        at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1867)
        at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1812)
        at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:128)
        at java.io.PrintStream.write(PrintStream.java:480)
        at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
        at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
        at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:104)
        at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:185)
        at java.io.PrintStream.write(PrintStream.java:527)
        at java.io.PrintStream.print(PrintStream.java:669)
        ... 3 more
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(SocketInputStream.java:210)
        at java.net.SocketInputStream.read(SocketInputStream.java:141)
        at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
        at sun.security.ssl.InputRecord.read(InputRecord.java:503)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975)
        at sun.security.ssl.SSLSocketImpl.waitForClose(SSLSocketImpl.java:1761)
        at sun.security.ssl.HandshakeOutStream.flush(HandshakeOutStream.java:124)
        at sun.security.ssl.Handshaker.kickstart(Handshaker.java:1079)
        at sun.security.ssl.SSLSocketImpl.kickstartHandshake(SSLSocketImpl.java:1479)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1346)
        at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:750)
        at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
        ... 10 more
2019-04-12 20:36:28     QUIT_MANAGER    JTS3ServerMod licence is not valid, quitting now...
Title: Re: Start Fehler
Post by: Stefan1200 on April 12, 2019, 08:39:35 PM
Irgendwas scheint die HTTPS Verbindung zu stören.
Title: Re: Start Fehler
Post by: Flofus on April 12, 2019, 08:42:28 PM
Ich habe gerade nichts geändert und es geht :/ Ich werde es mal weiter beobachten
Title: Re: Start Fehler
Post by: CG-Raziel on April 17, 2019, 05:57:39 PM
2019-04-17 17:55:44 LICENCE_CHECK Error while validating licence key! Reason: javax.net.ssl.SSLException: Connection has been shutdown: 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
2019-04-17 17:55:44 JTS3ServerMod 6.5.5 Hosting Edition (27.01.2019): EXCEPTION
javax.net.ssl.SSLException: Connection has been shutdown: 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
at sun.security.ssl.SSLSocketImpl.checkEOF(Unknown Source)
at sun.security.ssl.AppInputStream.read(Unknown Source)
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
at sun.nio.cs.StreamDecoder.read(Unknown Source)
at java.io.InputStreamReader.read(Unknown Source)
at java.io.BufferedReader.fill(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at de.stefan1200.jts3servermod.f.f(Unknown Source)
at de.stefan1200.jts3servermod.f.<init>(Unknown Source)
at de.stefan1200.jts3servermod.JTS3ServerMod.main(Unknown Source)
Caused by: 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
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source)
at sun.security.ssl.AppOutputStream.write(Unknown Source)
at java.io.PrintStream.write(Unknown Source)
at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source)
at sun.nio.cs.StreamEncoder.flushBuffer(Unknown Source)
at java.io.OutputStreamWriter.flushBuffer(Unknown Source)
at java.io.PrintStream.write(Unknown Source)
at java.io.PrintStream.print(Unknown Source)
... 3 more
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
... 18 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
at java.security.cert.CertPathBuilder.build(Unknown Source)
... 24 more
2019-04-17 17:55:44 QUIT_MANAGER JTS3ServerMod licence is not valid, quitting now...


Ich habe das gleiche Problem. Bis vorhin lief noch alles, aber nach einem Server Neustart dann das...
Title: Re: Start Fehler
Post by: Stefan1200 on April 17, 2019, 06:04:13 PM
Quote from: CG-Raziel on April 17, 2019, 05:57:39 PM
Ich habe das gleiche Problem. Bis vorhin lief noch alles, aber nach einem Server Neustart dann das...

Das ist nicht der gleiche Fehler. Bei dir steht "unable to find valid certification path to requested target". Sagt mir allerdings auch nichts.
Title: Re: Start Fehler
Post by: CG-Raziel on April 17, 2019, 06:19:47 PM
Das hat was mit dem ssl Zertifikat deines Servers zu tun: https://jfrog.com/knowledge-base/how-to-resolve-unable-to-find-valid-certification-path-to-requested-target-error/ (https://jfrog.com/knowledge-base/how-to-resolve-unable-to-find-valid-certification-path-to-requested-target-error/)
Title: Re: Start Fehler
Post by: Stefan1200 on April 17, 2019, 08:10:47 PM
Hmm, meine Webseite hat ein normales LetsEncrypt Zertifikat, das jeder Browser akzeptiert. Aber ich hatte beim ersten Start eben auch den Fehler von Flofus ("Connection reset"). Beim zweiten und dritten Start hatte ich aber keinen Fehler mehr. Keine Ahnung woher das kommt.
Title: Re: Start Fehler
Post by: CG-Raziel on April 17, 2019, 09:21:26 PM
Ok, der Fehler lag anscheinend bei mir. Habe ein Java Update gemacht und nun läuft es wieder. Trotzdem Danke   :D