[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #OUW-309680]: Error accessing catalog

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [IDV #OUW-309680]: Error accessing catalog
  • Date: Thu, 07 Dec 2017 10:12:22 -0700

> I'm trying to access this catalog in the IDV:
> https://thredds.ucar.edu/thredds/idd/forecastModels.xml
> 
> and am getting the below error. I'm assuming Java is checking the ssl
> certificate on the server but I'm not sure why there is an error as the
> hostname in the URL is the one that is expected according to the error
> message
> 
> -Jeff

Very interesting, if I entered 
"http://thredds.ucar.edu/thredds/idd/forecastModels.xml";, I didn't see
the redirect, and it worked. But https works in the browser, I need to check 
with Jen to find out
what is the configuration behind the apache.

Yuan
> 
> java.io.IOException: HTTPS hostname wrong:  should be <thredds.ucar.edu>
> at
> sun.net.www.protocol.https.HttpsClient.checkURLSpoofing(HttpsClient.java:649)
> at
> sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:573)
> at
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1546)
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
> at
> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
> at
> com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.getResponseCode(HttpsURLConnectionOldImpl.java:308)
> at ucar.unidata.util.IOUtil.getInputStream(IOUtil.java:1265)
> 
> 


Ticket Details
===================
Ticket ID: OUW-309680
Department: Support IDV
Priority: Normal
Status: Open
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.