Skip to content

Error while trying to find a remote version javax.net.ssl.SSLException: readHandshakeRecord #115

@Amina1-Doc

Description

@Amina1-Doc

Hello everyone,
I have a strange problem and this didn't want to solve it. Let me first tell you my situation. I am on the local Windows machine, while Linux normally uses a shell like Bash as a command line interface. In Linux I installed docker and downloaded the docker image from qf-test. By using Docker file I installed java and openwebstart Within the container i installed file .jnlp and I want to run it. Unfortunately it doesn't work at all. I get this error:

javaws /root/startpasx.jnlp
[ITW-CORE][2024-06-19 11:43:48.451 UTC][INFO ][com.openwebstart.launcher.OpenWebStartLauncher] OWS main args [/root/startpasx.jnlp].
[ITW-CORE][2024-06-19 11:43:48.525 UTC][INFO ][com.openwebstart.launcher.PhaseTwoWebStartLauncher] Starting OpenWebStart 1.9.1
[ITW-CORE][2024-06-19 11:43:48.565 UTC][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] Ico provider registered correctly.
[ITW-CORE][2024-06-19 11:43:48.605 UTC][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] Ico provider registered correctly.
[ITW-CORE][2024-06-19 11:43:48.608 UTC][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] Loading USER level properties from: file:/root/.config/icedtea-web/deployment.properties
[ITW-CORE][2024-06-19 11:43:48.615 UTC][WARN ][net.sourceforge.jnlp.config.DeploymentConfiguration] Property 'deployment.javaws.jre.0.product' is unknown.
[ITW-CORE][2024-06-19 11:43:48.615 UTC][WARN ][net.sourceforge.jnlp.config.DeploymentConfiguration] Property 'deployment.javaws.jre.0.product' is unknown.
[ITW-CORE][2024-06-19 11:43:48.615 UTC][WARN ][net.sourceforge.jnlp.config.DeploymentConfiguration] Property 'deployment.javaws.jre.0.platform' is unknown.
[ITW-CORE][2024-06-19 11:43:48.615 UTC][WARN ][net.sourceforge.jnlp.config.DeploymentConfiguration] Property 'deployment.javaws.jre.0.platform' is unknown.
[ITW-CORE][2024-06-19 11:43:48.675 UTC][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] Loading USER level properties from: file:/root/.config/icedtea-web/deployment.properties
[ITW-CORE][2024-06-19 11:43:48.683 UTC][WARN ][net.sourceforge.jnlp.config.DeploymentConfiguration] Property 'deployment.javaws.jre.0.product' is unknown.
[ITW-CORE][2024-06-19 11:43:48.683 UTC][WARN ][net.sourceforge.jnlp.config.DeploymentConfiguration] Property 'deployment.javaws.jre.0.product' is unknown.
[ITW-CORE][2024-06-19 11:43:48.684 UTC][WARN ][net.sourceforge.jnlp.config.DeploymentConfiguration] Property 'deployment.javaws.jre.0.platform' is unknown.
[ITW-CORE][2024-06-19 11:43:48.684 UTC][WARN ][net.sourceforge.jnlp.config.DeploymentConfiguration] Property 'deployment.javaws.jre.0.platform' is unknown.
[ITW-CORE][2024-06-19 11:43:48.719 UTC][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] Saving properties into /root/.config/icedtea-web/deployment.properties
[ITW-CORE][2024-06-19 11:43:48.765 UTC][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] Loading USER level properties from: file:/root/.config/icedtea-web/deployment.properties
[ITW-CORE][2024-06-19 11:43:48.766 UTC][WARN ][net.sourceforge.jnlp.config.DeploymentConfiguration] Property 'deployment.javaws.jre.0.product' is unknown.
[ITW-CORE][2024-06-19 11:43:48.766 UTC][WARN ][net.sourceforge.jnlp.config.DeploymentConfiguration] Property 'deployment.javaws.jre.0.product' is unknown.
[ITW-CORE][2024-06-19 11:43:48.766 UTC][WARN ][net.sourceforge.jnlp.config.DeploymentConfiguration] Property 'deployment.javaws.jre.0.platform' is unknown.
[ITW-CORE][2024-06-19 11:43:48.766 UTC][WARN ][net.sourceforge.jnlp.config.DeploymentConfiguration] Property 'deployment.javaws.jre.0.platform' is unknown.
[ITW-CORE][2024-06-19 11:43:48.855 UTC][INFO ][com.openwebstart.launcher.PhaseTwoWebStartLauncher] Calling ITW Boot with args [/root/startpasx.jnlp].
[ITW-CORE][2024-06-19 11:43:48.858 UTC][INFO ][net.sourceforge.jnlp.runtime.EnvironmentPrinter] OpenWebStartLauncher called with args: [/root/startpasx.jnlp].
[ITW-CORE][2024-06-19 11:43:48.859 UTC][INFO ][net.sourceforge.jnlp.runtime.EnvironmentPrinter] OS: Linux
[ITW-CORE][2024-06-19 11:43:48.859 UTC][INFO ][net.sourceforge.jnlp.runtime.EnvironmentPrinter] Java Runtime Temurin-1.8.0_392
[ITW-CORE][2024-06-19 11:43:49.154 UTC][INFO ][net.sourceforge.jnlp.runtime.Boot] Proceeding with jnlp
[ITW-CORE][2024-06-19 11:43:49.157 UTC][INFO ][net.sourceforge.jnlp.runtime.Boot] JNLP file location: /root/startpasx.jnlp
[ITW-CORE][2024-06-19 11:43:49.179 UTC][INFO ][net.adoptopenjdk.icedteaweb.xmlparser.MalformedXMLParser] Using MalformedXMLParser
.
.
.

[ITW-CORE][2024-06-19 11:43:49.794 UTC][INFO ][net.sourceforge.jnlp.Parser] Description: PAS-X Client
[ITW-CORE][2024-06-19 11:43:49.795 UTC][INFO ][net.sourceforge.jnlp.JNLPFile] Acceptable vendor tag found, contains: Werum
[ITW-CORE][2024-06-19 11:43:49.795 UTC][WARN ][net.sourceforge.jnlp.Parser] Warning - your JRE - 1.8.0_392 - does not match requested JRE - 1.8
[ITW-CORE][2024-06-19 11:43:49.795 UTC][WARN ][net.sourceforge.jnlp.Parser] Warning - your JRE - 1.8.0_392 - does not match requested JRE - 1.8
[ITW-CORE][2024-06-19 11:43:49.948 UTC][ERROR][com.openwebstart.jvm.RemoteRuntimeManager]
Error while trying to find a remote version
javax.net.ssl.SSLException: readHandshakeRecord

at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1318)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:440)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:197)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1572)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1500)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
at com.openwebstart.http.ConnectionUtils.getContentStream(ConnectionUtils.java:47)
at com.openwebstart.http.HttpResponse.getContentStream(HttpResponse.java:55)
at com.openwebstart.jvm.RemoteRuntimeManager.lambda$loadListOfRemoteRuntimes$3(RemoteRuntimeManager.java:81)
at com.openwebstart.func.Result.lambda$of$1(Result.java:97)
at java.util.Optional.orElseGet(Optional.java:267)
at com.openwebstart.jvm.RemoteRuntimeManager.loadListOfRemoteRuntimes(RemoteRuntimeManager.java:78)
at com.openwebstart.jvm.RemoteRuntimeManager.getBestRuntime(RemoteRuntimeManager.java:60)
at com.openwebstart.jvm.JavaRuntimeSelector.getJavaRuntime(JavaRuntimeSelector.java:65)
at com.openwebstart.launcher.OwsJvmLauncher.getJavaRuntime(OwsJvmLauncher.java:103)
at com.openwebstart.launcher.OwsJvmLauncher.getLocalJavaRuntimeOrExit(OwsJvmLauncher.java:83)
at com.openwebstart.launcher.OwsJvmLauncher.launchExternal(OwsJvmLauncher.java:136)
at com.openwebstart.launcher.OwsJvmLauncher.launchExternal(OwsJvmLauncher.java:79)
at net.sourceforge.jnlp.Launcher.launchExternal(Launcher.java:287)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:368)
at net.sourceforge.jnlp.Launcher.access$300(Launcher.java:72)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:661)
Suppressed: java.net.SocketException: Broken pipe (Write failed)
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
at sun.security.ssl.SSLSocketOutputRecord.encodeAlert(SSLSocketOutputRecord.java:81)
at sun.security.ssl.TransportContext.fatal(TransportContext.java:362)
at sun.security.ssl.TransportContext.fatal(TransportContext.java:274)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:443)
... 21 more
Caused by: java.net.SocketException: Connection reset
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:115)
at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
at sun.security.ssl.SSLSocketOutputRecord.flush(SSLSocketOutputRecord.java:251)
at sun.security.ssl.HandshakeOutStream.flush(HandshakeOutStream.java:89)
at sun.security.ssl.Finished$T13FinishedProducer.onProduceFinished(Finished.java:658)
at sun.security.ssl.Finished$T13FinishedProducer.produce(Finished.java:637)
at sun.security.ssl.SSLHandshake.produce(SSLHandshake.java:421)
at sun.security.ssl.Finished$T13FinishedConsumer.onConsumeFinished(Finished.java:989)
at sun.security.ssl.Finished$T13FinishedConsumer.consume(Finished.java:852)
at sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:377)
at sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:444)
at sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:422)
at sun.security.ssl.TransportContext.dispatch(TransportContext.java:182)
at sun.security.ssl.SSLTransport.decode(SSLTransport.java:152)
at sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1401)
at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1309)
... 22 more

I added the certificate from root and server to solve this Problem but I always get the same error. This is the version Java on odenwebstart:

java -verion
openjdk version "1.8.0_412"
OpenJDK Runtime Environment (build 1.8.0_412-8u412-ga-1~22.04.1-b08)
OpenJDK 64-Bit Server VM (build 25.412-b08, mixed mode)

javaws -version
Temurin-1.8.0_392
OpenWebStart 1.9.1

Can someone help me? I've been here two weeks now and I still haven't found a solution.
Thank you in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions