[Esip-cor] COR server returning 403's

Mcgibbney, Lewis J (398M) lewis.j.mcgibbney at jpl.nasa.gov
Wed Jul 17 16:53:57 EDT 2019


Hi Folks,
I’m thinking that the COR HTTPD server is not processing particular client requests correctly.
We recently ran into the ‘load SWEET from URL’ issue in Protégé.
Now I’m trying to use the sweet-alignment-manager to do an alignment between SWEET and OWL TIME. I’m getting the following

java -jar AML_v3.1/AgreementMakerLight.jar -s sweet/src/sweetAll.ttl -t target/time.ttl -o alignments/align-sweet-time.rdf -a
Loading source ontology
Error: Could not open ontologies
org.semanticweb.owlapi.model.OWLRuntimeException: org.coode.owlapi.rdfxml.parser.TranslatedUnloadedImportException: Could not load imported ontology: <http://sweetontology.net/human> Cause: Server returned HTTP response code: 403 for URL: http://sweetontology.net/human
org.semanticweb.owlapi.model.UnloadableImportException: Could not load imported ontology: <http://sweetontology.net/human> Cause: Server returned HTTP response code: 403 for URL: http://sweetontology.net/human
                at uk.ac.manchester.cs.owl.owlapi.turtle.parser.OWLRDFConsumerAdapter.handleTriple(OWLRDFConsumerAdapter.java:104)
                at uk.ac.manchester.cs.owl.owlapi.turtle.parser.TurtleParser.parseObject(TurtleParser.java:463)
                at uk.ac.manchester.cs.owl.owlapi.turtle.parser.TurtleParser.parseObjectList(TurtleParser.java:431)
                at uk.ac.manchester.cs.owl.owlapi.turtle.parser.TurtleParser.parsePredicateObjectList(TurtleParser.java:364)
                at uk.ac.manchester.cs.owl.owlapi.turtle.parser.TurtleParser.parseTriples(TurtleParser.java:247)
                at uk.ac.manchester.cs.owl.owlapi.turtle.parser.TurtleParser.parseStatement(TurtleParser.java:236)
                at uk.ac.manchester.cs.owl.owlapi.turtle.parser.TurtleParser.parseDocument(TurtleParser.java:174)
                at uk.ac.manchester.cs.owl.owlapi.turtle.parser.TurtleOntologyParser.parse(TurtleOntologyParser.java:98)
                at uk.ac.manchester.cs.owl.owlapi.ParsableOWLOntologyFactory.loadOWLOntology(ParsableOWLOntologyFactory.java:204)
                at uk.ac.manchester.cs.owl.owlapi.OWLOntologyManagerImpl.loadOntology(OWLOntologyManagerImpl.java:827)
                at uk.ac.manchester.cs.owl.owlapi.OWLOntologyManagerImpl.loadOntologyFromOntologyDocument(OWLOntologyManagerImpl.java:771)
                at uk.ac.manchester.cs.owl.owlapi.OWLOntologyManagerImpl.loadOntologyFromOntologyDocument(OWLOntologyManagerImpl.java:784)
                at aml.ontology.Ontology.<init>(Ontology.java:155)
                at aml.AML.openOntologies(AML.java:876)
                at aml.Main.main(Main.java:179)
Caused by: org.coode.owlapi.rdfxml.parser.TranslatedUnloadedImportException: Could not load imported ontology: <http://sweetontology.net/human> Cause: Server returned HTTP response code: 403 for URL: http://sweetontology.net/human
org.semanticweb.owlapi.model.UnloadableImportException: Could not load imported ontology: <http://sweetontology.net/human> Cause: Server returned HTTP response code: 403 for URL: http://sweetontology.net/human
                at org.coode.owlapi.rdfxml.parser.OWLRDFConsumer.statementWithResourceValue(OWLRDFConsumer.java:2105)
                at uk.ac.manchester.cs.owl.owlapi.turtle.parser.OWLRDFConsumerAdapter.handleTriple(OWLRDFConsumerAdapter.java:101)
                ... 14 more
Caused by: org.semanticweb.owlapi.model.UnloadableImportException: Could not load imported ontology: <http://sweetontology.net/human> Cause: Server returned HTTP response code: 403 for URL: http://sweetontology.net/human
                at uk.ac.manchester.cs.owl.owlapi.OWLOntologyManagerImpl.makeLoadImportRequest(OWLOntologyManagerImpl.java:1260)
                at org.coode.owlapi.rdfxml.parser.TPImportsHandler.handleTriple(TPImportsHandler.java:81)
                at org.coode.owlapi.rdfxml.parser.OWLRDFConsumer.handleStreaming(OWLRDFConsumer.java:2146)
                at org.coode.owlapi.rdfxml.parser.OWLRDFConsumer.statementWithResourceValue(OWLRDFConsumer.java:2103)
                ... 15 more
Caused by: org.semanticweb.owlapi.io.OWLOntologyCreationIOException: Server returned HTTP response code: 403 for URL: http://sweetontology.net/human
                at uk.ac.manchester.cs.owl.owlapi.ParsableOWLOntologyFactory.loadOWLOntology(ParsableOWLOntologyFactory.java:212)
                at uk.ac.manchester.cs.owl.owlapi.OWLOntologyManagerImpl.loadOntology(OWLOntologyManagerImpl.java:827)
                at uk.ac.manchester.cs.owl.owlapi.OWLOntologyManagerImpl.loadOntology(OWLOntologyManagerImpl.java:745)
                at uk.ac.manchester.cs.owl.owlapi.OWLOntologyManagerImpl.loadImports(OWLOntologyManagerImpl.java:1221)
                at uk.ac.manchester.cs.owl.owlapi.OWLOntologyManagerImpl.makeLoadImportRequest(OWLOntologyManagerImpl.java:1254)
                ... 18 more
Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: http://sweetontology.net/human
                at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
                at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
                at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
                at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1944)
                at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1939)
                at java.security.AccessController.doPrivileged(Native Method)
                at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1938)
                at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1508)
                at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
                at org.semanticweb.owlapi.io.AbstractOWLParser.getInputStreamFromContentEncoding(AbstractOWLParser.java:181)
                at org.semanticweb.owlapi.io.AbstractOWLParser.getInputStream(AbstractOWLParser.java:153)
                at org.semanticweb.owlapi.io.AbstractOWLParser.getInputSource(AbstractOWLParser.java:226)
                at org.coode.owlapi.rdfxml.parser.RDFXMLParser.parse(RDFXMLParser.java:116)
                at uk.ac.manchester.cs.owl.owlapi.ParsableOWLOntologyFactory.loadOWLOntology(ParsableOWLOntologyFactory.java:204)
                ... 22 more
Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: http://sweetontology.net/human
                at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894)
                at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
                at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
                at org.semanticweb.owlapi.io.AbstractOWLParser.getInputStream(AbstractOWLParser.java:131)
                ... 25 more
make: *** [time] Error 1

We need to check what is going on with HTTPD running on the COR server.
@Carlos, I’ll reach out to you and we can flesh out the details here afterwards.
Lewis

Dr. Lewis John McGibbney Ph.D., B.Sc.(Hons)
Data Scientist III
Computer Science for Data Intensive Applications Group (398M)
Instrument Software and Science Data Systems Section (398)
Jet Propulsion Laboratory
California Institute of Technology
4800 Oak Grove Drive
Pasadena, California 91109-8099
Mail Stop : 158-256C
Tel:  (+1) (818)-393-7402
Cell: (+1) (626)-487-3476
Fax:  (+1) (818)-393-1190
Email: lewis.j.mcgibbney at jpl.nasa.gov<mailto:lewis.j.mcgibbney at jpl.nasa.gov>
ORCID: orcid.org/0000-0003-2185-928X

           [signature_561831171]

 Dare Mighty Things
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.esipfed.org/pipermail/esip-cor/attachments/20190717/0744b715/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 3432 bytes
Desc: image001.png
URL: <http://lists.esipfed.org/pipermail/esip-cor/attachments/20190717/0744b715/attachment-0001.png>


More information about the Esip-cor mailing list