VisualDataWeb / WebVOWL

Visualizing ontologies on the Web
http://vowl.visualdataweb.org/webvowl.html
MIT License
712 stars 208 forks source link

Cannot load ontology - redirects not being followed? #133

Open cblakeley opened 6 years ago

cblakeley commented 6 years ago

Hello,

I've encountered a problem trying to visualize an ontology.

http://www.visualdataweb.de/webvowl/#iri=http://www.openlinksw.com/ontology/faq# fails with:

Retrieving ontology from IRI: http://www.openlinksw.com/ontology/faq#
Parsing ontology with OWL API ... failed

Loading process failed: 
OWLOntologyCreationIOException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Reading ontology graph ... failed
Error: Received empty graph
Failed to load ontology

Yet curl -L -H "Accept: text/turtle" http://www.openlinksw.com/ontology/faq# > faq.ttl, then uploading of faq.ttl to webvowl works.

curl -IL http://www.openlinksw.com/ontology/faq# returns a 301/303/200. I'm wondering if webvowl is failing to follow redirects. Also puzzled by the error 'unable to find valid certification path to requested target'.

With thanks, Carl Blakeley OpenLink Software

vitalis-wiens commented 6 years ago

Hello,

unfortunately this is more related to the certification, which is most likely required to get the ontology from the server side.

More details could be found in this Issue : https://github.com/VisualDataWeb/WebVOWL/issues/95

More precisely, the comment from Steffen:

"Yes, looks like we would have to add the certificate to our Java installation on the server hosting the public WebVOWL instance. Not sure if we want and would be able to do this."

"It might thus be easier to remove the CA requirement on your side in this case. Or is it really needed?"

Also, with Protégé it is not possible to load the ontology directly from this URL.

I hope this helps you. All the best, Vitalis