Skip to content
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

biojava-modfinder requires external resources that are no longer freely available #975

Open
josemduarte opened this issue Sep 30, 2021 · 1 comment
Labels
bug Bugs and bugfixes

Comments

@josemduarte
Copy link
Contributor

josemduarte commented Sep 30, 2021

All files needed are from phosphosite resource, e.g.:

https://www.phosphosite.org/downloads/Acetylation_site_dataset.gz ,

They give a 403 error code on download (forbidden). The only way to download it now seems to be by going to the website and logging in.

I contacted the phosphosite resource a few weeks ago when I first saw this issue, but they never got back. So I guess their plan is to keep it as a private resource that is not usable for automatic downloads (at least without a login).

@josemduarte josemduarte added the bug Bugs and bugfixes label Sep 30, 2021
@josemduarte josemduarte changed the title biojava-protmod requires external resources that are no longer freely available biojava-modfinder requires external resources that are no longer freely available Oct 29, 2021
@josemduarte
Copy link
Contributor Author

Update: it looks like this is some sort of security feature (apparently provided by CloudFlare, at least that's what the error message says).

It would seem that the server detects the user-agent and responds differently depending on what it is. I get a 403 with:

  • curl
  • wget
  • Java URL.openConnection() (the one actually used in BioJava code)

But I get a 200 with:

  • Chrome browser
  • Firefox browser
  • Java jersey client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs and bugfixes
Projects
None yet
Development

No branches or pull requests

1 participant