ols4 icon indicating copy to clipboard operation
ols4 copied to clipboard

Fideo and Dicom ontology failing to load

Open haideriqbal opened this issue 5 months ago • 0 comments

For dicom we have following error:

12:27:13.917 [main] INFO  uk.ac.ebi.rdf2json.RDF2JSON - --- Loading ontology: dicom
12:27:13.917 [main] DEBUG uk.ac.ebi.rdf2json.OntologyGraph - load ontology from: ftp://medical.nema.org/MEDICAL/Dicom/Resources/Ontology/DCM/dcm.owl
12:27:13.917 [main] DEBUG uk.ac.ebi.rdf2json.OntologyGraph - parseRDF: unable to use predownloaded file for ftp://medical.nema.org/MEDICAL/Dicom/Resources/Ontology/DCM/dcm.owl
12:27:13.917 [main] ERROR uk.ac.ebi.rdf2json.OntologyGraph - parseRDF: Downloading (not predownloaded) ftp://medical.nema.org/MEDICAL/Dicom/Resources/Ontology/DCM/dcm.owl
12:27:13.924 [main] INFO  uk.ac.ebi.rdf2json.RDF2JSON - --- Loading ontology: sdgio
12:27:13.924 [main] DEBUG uk.ac.ebi.rdf2json.OntologyGraph - load ontology from: http://purl.unep.org/sdg/sdgio.owl
org.apache.http.client.ClientProtocolException
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
	at uk.ac.ebi.rdf2json.OntologyGraph.getURL(OntologyGraph.java:151)
	at uk.ac.ebi.rdf2json.OntologyGraph.parseRDF(OntologyGraph.java:132)
	at uk.ac.ebi.rdf2json.OntologyGraph.<init>(OntologyGraph.java:204)
	at uk.ac.ebi.rdf2json.RDF2JSON.main(RDF2JSON.java:162)
Caused by: org.apache.http.HttpException: ftp protocol is not supported
	at org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:89)
	at org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:125)
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
	... 6 more

and for fideo we have following error:

11:58:50.042 [main] INFO  uk.ac.ebi.rdf2json.RDF2JSON - --- Loading ontology: fideo
11:58:50.042 [main] DEBUG uk.ac.ebi.rdf2json.OntologyGraph - load ontology from: http://purl.obolibrary.org/obo/fideo.owl
11:58:50.043 [main] DEBUG uk.ac.ebi.rdf2json.OntologyGraph - parseRDF: unable to use predownloaded file for http://purl.obolibrary.org/obo/fideo.owl
11:58:50.043 [main] ERROR uk.ac.ebi.rdf2json.OntologyGraph - parseRDF: Downloading (not predownloaded) http://purl.obolibrary.org/obo/fideo.owl
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:130)
	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:383)
	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:326)
	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:321)
	at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1318)
	at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(CertificateMessage.java:1195)
	at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(CertificateMessage.java:1138)
	at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:393)
	at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:476)
	at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:447)
	at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:206)
	at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:172)
	at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1506)
	at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1421)
	at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455)
	at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426)
	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:436)
	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:384)
	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376)
	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)
	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
	at uk.ac.ebi.rdf2json.OntologyGraph.getURL(OntologyGraph.java:151)
	at uk.ac.ebi.rdf2json.OntologyGraph.parseRDF(OntologyGraph.java:132)
	at uk.ac.ebi.rdf2json.OntologyGraph.<init>(OntologyGraph.java:204)
	at uk.ac.ebi.rdf2json.RDF2JSON.main(RDF2JSON.java:162)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:388)
	at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:271)
	at java.base/sun.security.validator.Validator.validate(Validator.java:256)
	at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:230)
	at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:132)
	at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1302)
	... 27 more

haideriqbal avatar Jun 18 '25 14:06 haideriqbal