-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't load SWEET, getting 403 error #127
Comments
In particular, this comment about the diagnosis of the problem: ESIPFed/sweet#150 (comment) EDIT: I'd add here that this is not strictly speaking a bioportal/protege/owlapi issue -- the 403 is indeed reported from the SWEET server - the issue is that a certain "middleware" there (cloudflare) doesn't like the |
As a temporary workaround to make SWEET 3.3.0 accessible in BioPortal, I performed the following steps:
The classes tab now displays a class hierarchy. |
I modified my local dev environment to use Open JDK 12 (production BioPortal uses Java 8). With this newer version of Java, the following test case for loading SWEET:
... doesn't result in the 403 responses. All unit tests pass in the owlapi_wrapper project against Java 12. I don't see any reason why we couldn't upgrade that portion of the codebase to the latest Java. @alexskr - are you aware of any roadblocks with our production machines that would prevent us from upgrading to Open JDK 12? |
It would be better to use Open JDK 11 because it is LTS. |
Cloudflare has updated their settings and Protege doesn't have any more trouble with the SWEET ontology. Just need to confirm BioPortal works now and fix the auto-download setting. |
I modified SWEET in BioPortal to use the load from URL functionality again (http://sweetontology.net/sweetALL). Processing completed successfully. |
There's a ticket for this at ESIPFed/sweet#150, this is to reference that ticket as it affects BioPortal loading of SWEET.
The text was updated successfully, but these errors were encountered: