Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

some unresolved purls don't give 404s #316

Open
alanruttenberg opened this issue Mar 24, 2017 · 4 comments
Open

some unresolved purls don't give 404s #316

alanruttenberg opened this issue Mar 24, 2017 · 4 comments

Comments

@alanruttenberg
Copy link
Member

For example I just tried purl.obolibrary.org/obo/2017-03-24/iao.owl which hasn't hit the server yet and was directed to http://ontologies.berkeleybop.org/ which has a page of XML starting with:

<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Name>bbop-ontologies</Name>
<Prefix/>
<Marker/>
<MaxKeys>1000</MaxKeys>
<IsTruncated>true</IsTruncated>
<Contents>
<Key>aeo.obo</Key>
<LastModified>2016-11-24T23:12:24.000Z</LastModified>
<ETag>"f7a6a0717bd7ede5af05c87c4640e8f3"</ETag>
@alanruttenberg
Copy link
Member Author

Typo - won't hit the server bc wrong PURL. But nonetheless illustrates a problem.
Should be purl.obolibrary.org/obo/iao/2017-03-24/iao.owl, which does work.

@jamesaoverton
Copy link
Member

I can confirm that the proper PURL is working, and that the incorrect one is going to http://ontologies.berkeleybop.org/ (which looks like an Amazon S3 bucket).

We know that we don't handle failures as well as we should. See #259 and #251.

@cmungall
Copy link
Contributor

$ wget purl.obolibrary.org/obo/2017-03-24/iao.owl
--2017-03-24 13:28:06--  http://purl.obolibrary.org/obo/2017-03-24/iao.owl
Resolving purl.obolibrary.org (purl.obolibrary.org)... 52.3.123.63
Connecting to purl.obolibrary.org (purl.obolibrary.org)|52.3.123.63|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://purl.oclc.org/obo/2017-03-24/iao.owl [following]
--2017-03-24 13:28:06--  http://purl.oclc.org/obo/2017-03-24/iao.owl
Resolving purl.oclc.org (purl.oclc.org)... 207.241.224.2
Connecting to purl.oclc.org (purl.oclc.org)|207.241.224.2|:80... connected.
HTTP request sent, awaiting response... 302 FOUND
Location: http://www.berkeleybop.org/ontologies/2017-03-24/iao.owl [following]
--2017-03-24 13:28:06--  http://www.berkeleybop.org/ontologies/2017-03-24/iao.owl
Resolving www.berkeleybop.org (www.berkeleybop.org)... 131.243.193.109
Connecting to www.berkeleybop.org (www.berkeleybop.org)|131.243.193.109|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://ontologies.berkeleybop.org [following]
--2017-03-24 13:28:06--  http://ontologies.berkeleybop.org/
Resolving ontologies.berkeleybop.org (ontologies.berkeleybop.org)... 54.192.117.77, 54.192.117.184, 54.192.117.251, ...
Connecting to ontologies.berkeleybop.org (ontologies.berkeleybop.org)|54.192.117.77|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/xml]
Saving to: ‘iao.owl’

looks like rather than falling back to OCLC it should just 404. I think we kept that fallback as we weren't sure we'd gotten everything across.

@cmungall
Copy link
Contributor

I think we can get rid of the OCLC fallback now, which should give the desired effect

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants