← 输入框|github.com|刷新
Skip to content

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

Open

Description

@josemduarte

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).

Activity

  1. 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[/+] on Oct 29, 2021
  2. josemduarte commented on Sep 22, 2022

    @josemduarte
    ContributorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBugs and bugfixes

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions