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

"Internal Server Error" from /api/taxon/{taxon}/models #94

Open
kimrutherford opened this issue May 24, 2024 · 8 comments · Fixed by #97
Open

"Internal Server Error" from /api/taxon/{taxon}/models #94

kimrutherford opened this issue May 24, 2024 · 8 comments · Fixed by #97
Assignees
Labels
bug Something isn't working

Comments

@kimrutherford
Copy link

Hi.

I'm getting an Internal Server Error from /api/taxon/{taxon}/models when looking up NCBITaxon:4896 (pombe).

I tried on the webpage and with curl:

curl -X 'GET' \
  'https://api.geneontology.org/api/taxon/NCBITaxon%3A4896/models' \
  -H 'accept: application/json'

The error is returned after 60 seconds.

@sierra-moxon
Copy link
Member

I replicated this locally today; looking into it.

@kltm kltm added the bug Something isn't working label May 28, 2024
@kimrutherford
Copy link
Author

Hi. Has there been any progress on this issue? We'd like to use this API to update PomBase with the pombe GO-CAM details.

Thanks!

@kltm
Copy link
Member

kltm commented Jun 14, 2024

@kimrutherford Unfortunately, there has not been much progress here with meetings and some other things that have come up. This is still in the queue though.

Also see geneontology/noctua#895 (comment)

@kimrutherford
Copy link
Author

Hi. I just tried this:

curl -X 'GET' \
  'https://api.geneontology.org/api/taxon/NCBITaxon%3A4896/models' \
  -H 'accept: application/json'

but got "Internal Server Error" after 60 seconds.

@sierra-moxon
Copy link
Member

Thanks for the report @kimrutherford - I still need to deploy the fix to the API server :)

@kltm kltm reopened this Jun 18, 2024
@kimrutherford
Copy link
Author

Hi @sierra-moxon

I'm still getting the "Internal Server Error". We'd like to use this endpoint for getting GO-CAMs details for PomBase.

@kimrutherford
Copy link
Author

Hi.

Sorry to bother you again about this. The API was working yesterday but today it's back to giving "Internal Server Error":

> time curl -X 'GET' \
  'https://api.geneontology.org/api/taxon/NCBITaxon%3A4896/models' \
  -H 'accept: application/json'

gives:

Internal Server Error
real    1:01.14
user    0.021
sys     0.007
maxmem  13 MB
faults  0

It always takes 60 seconds to fail.

Oddly, the API calls that succeeded yesterday also took 60 seconds.

@sierra-moxon
Copy link
Member

@kimrutherford - no bother at all - I am hacking away at getting the fixes for these deployed. will take a look here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

3 participants