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

[THREDDS #DJM-145496]: WMS GetMap & GetCapabilities Requests Failing in THREDDS 5.3, 5.4-SNAPSHOT



Hi Mark,

Thanks! That's all good to know.

Cheers,

Ethan

Mark wrote:
> The fix is:
> 
> keytool -import -file certfile.crt -cacerts
> 
> Mark McKelvy
> ________________________________
> From: McKelvy, James (Mark)
> To: support-thredds
> 
> Hi Ethan,
> 
> Please see below:
> 
> 2022-03-03T18:38:45.150+0000 [      9383][        ] INFO  serverStartup: 
> TdsInit: org.springframework.context.event.ContextRefreshedEvent[source=Root 
> WebApplicationContext, started on Thu Mar 03 18:38:42 UTC 2022]
> 2022-03-03T18:38:45.151+0000 [      9384][        ] INFO  serverStartup: 
> TdsInit: getContentRootPathAbsolute= /usr/local/tomcat/content/
> 2022-03-03T18:38:45.201+0000 [      9434][        ] INFO  serverStartup: 
> ThreddsConfigReader reading xml file = 
> /usr/local/tomcat/content/thredds/threddsConfig.xml
> 2022-03-03T18:38:46.210+0000 [     10443][        ] WARN  serverStartup: 
> Cannot read wmsConfig.xml:
> 2022-03-03T18:38:46.210+0000 [     10443][        ] WARN  serverStartup: PKIX 
> path building failed: 
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
> valid certification path to requested target
> 
> Mark McKelvy
> ________________________________
> From: Unidata THREDDS Support
> To: McKelvy, James (Mark)
>  
> Hi Mark,
> 
> Glad you got things working.
> 
> Interesting. I haven't seen a PKIX error here before. Out of curiosity,
> can you send us the text of the WARN line?
> 
> Thanks,
> 
> Ethan
>
> Mark wrote: 
> > Hello Ethan,
> >
> > Your suggestion to investigate logs/serverStartup.log did not show any
> > ERROR messages, but upon investigating one of the WARN lines, I saw a
> > PKIX error indicating that my organization's certificate had not been
> > imported into the cacerts file. This caused the wmsConfig.xml not be
> > parsed properly.
> >
> > I've been able to resolve our issue. I appreciate yours and Hailey's
> > time & assistance.
> > 
> > Ethan wrote:
> > > Did you restart your TDS after updating the 2nd line of your wmsConfig.xml
> > > file? Also, please check your logs/serverStartup.log file to make sure 
> > > there
> > > are no ERROR messages.
> > >
> > > Mark wrote:
> > > > I've updated the 2nd line of my wmsConfig.xml to match your example,
> > > > but am still experiencing errors.
> > > > 
> > > > Hailey wrote:
> > > > > Can you verify that the second line of your wmsConfig.xml looks like:
> > > > > <!DOCTYPE wmsConfig SYSTEM 
> > > > > "https://schemas.unidata.ucar.edu/thredds/dtd/ncwms/wmsConfig.dtd";>
> > > > > And not:
> > > > > <!DOCTYPE wmsConfig SYSTEM 
> > > > > "https://www.unidata.ucar.edu/schemas/thredds/dtd/ncwms/wmsConfig.dtd";>
> > > > > 
> > > > > There may be a bug(s), but the URL changed recently and caused errors
> > > > > for a lot of users so I'd like to double check that before 
> > > > > investigating.
> > > > >
> > > > > Mark wrote:
> > > > > > I have a NetCDF dataset that I'm attempting to visualize using
> > > > > > WMS GetCapabilities and GetMap requests. I am using Docker images
> > > > > > unidata/thredds-docker:5.3 and unidata/thredds-docker:5.4-SNAPSHOT.

Ticket Details
===================
Ticket ID: DJM-145496
Department: Support THREDDS
Priority: Critical
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.