Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error reading from connection to https://data.worldwind.arc.nasa.gov/elev #238

Open
Bio7 opened this issue Jan 30, 2022 · 1 comment
Open

Comments

@Bio7
Copy link

Bio7 commented Jan 30, 2022

Description

I've embedded WorldWind in a Eclipse Rich Client Application. However the error I get seems to be a general SSL connection problem (server down?).

Since a few days I get the following connection exception using the default layers:

gov.nasa.worldwind.retrieve.URLRetriever read
...: Error reading from connection to https://data.worldwind.arc.nasa.gov/elev?service=WMS&request=GetMap&version=1.3.0&crs=CRS:84&layers=mergedAsterElevations&styles=&format=application/bil16&width=150&height=150&bbox=-100.0,50.0,-80.0,70.0&
javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
at java.base/sun.security.ssl.SSLSocketInputRecord.handleUnknownRecord(SSLSocketInputRecord.java:451)
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:175)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111)
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1500)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1415)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:450)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:421)
at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:580)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:183)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1665)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:529)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:308)
at gov.nasa.worldwind.retrieve.HTTPRetriever.doRead(HTTPRetriever.java:48)
at gov.nasa.worldwind.retrieve.URLRetriever.read(URLRetriever.java:368)
at gov.nasa.worldwind.retrieve.URLRetriever.call(URLRetriever.java:244)
at gov.nasa.worldwind.retrieve.URLRetriever.call(URLRetriever.java:1)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at gov.nasa.worldwind.retrieve.BasicRetrievalService$RetrievalTask.run(BasicRetrievalService.java:71)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)

The application however runs fine.

Steps to Reproduce

  1. Start WorldWind with some default layers and the error will be thrown when a server for the maps is contacted.

Operating System and Version

Can be reproduced, e.g., on Mac.

@Bio7
Copy link
Author

Bio7 commented Feb 5, 2022

Is this error related to refreshed certificates as described here?

#236

Is there a common way to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant