Hello Guys!
I'm getting a strange behaviour:
network: Cache entry not found [url: https://hallo-mscotton.rhcloud.com/res/XXXXXXXXXXX.png, version: null]
network: Connecting https://hallo-mscotton.rhcloud.com/res/XXXXXXXXXXX.png with proxy=DIRECT
network: Connecting http://hallo-mscotton.rhcloud.com:443/ with proxy=DIRECT
javax.imageio.IIOException: Can't get input stream from URL!
at javax.imageio.ImageIO.read(Unknown Source)
at halloween.Functions.loadImg(Functions.java:69)
at halloween.BatchLoader.<init>(BatchLoader.java:51)
at halloween.Program.startup(Program.java:45)
at halloween.Program.start(Program.java:41)
at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.start(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name
at sun.security.ssl.ClientHandshaker.handshakeAlert(Unknown Source)
at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
... 8 more
Java Applet loader on html embedded do some redirection when a package or something is needed to get.
I don't know why, but in thesis when you request a https, the server redirects yout to correct port right?
My server doesn't handle the port 443, but 8443 is on,and i don't want to change all links to https://hallo......:8443/
And i cant configure apache ports because is running on a limited cloud.
Another thing is that if you run on a IcedTea - OpenJDK, all content are loaded without any problem.
The error happens on this socket redirection:
network: Connecting https://hallo-mscotton.rhcloud.com/res/XXXXXXXXXXX.png with proxy=DIRECT
network: Connecting http://hallo-mscotton.rhcloud.com:443/ with proxy=DIRECT
Thanks!