Giter VIP home page Giter VIP logo

Comments (6)

dustine32 avatar dustine32 commented on September 24, 2024 1

Thanks @lpalbou! Yep, rather than the data required by the GO-CAM site, those cached JSON files currently contain the error message from the query timeout:

{"message": "Endpoint request timed out"}

I'm currently looking at re-triggering this lambda process to regenerate the JSON files for the current GO release.

BTW, noting here that @kltm attempted to bump from 30000 to 60000ms on internal and production RDF endpoints. Hopefully, once @lpalbou's PR to update the timeout on the GO-CAM API side the query problems will be solved.

from web-gocam.

tmushayahama avatar tmushayahama commented on September 24, 2024

@kltm Thanks, I just dug deeper and noticed the terms api is not working and returning Internal Server Error

https://s3.amazonaws.com/geneontology-public/gocam/gocam-goterms.json
Tagging @dustine32 @sierra-moxon

from web-gocam.

kltm avatar kltm commented on September 24, 2024

@tmushayahama Great--thank you for the detective work! It looks like that file literally cached the upstream server error.

from web-gocam.

lpalbou avatar lpalbou commented on September 24, 2024

Hello everyone. https://s3.amazonaws.com/geneontology-public/gocam/gocam-goterms.json is a file caching the SPARQL queries after a new release. The file is generated from AWS (cloudwatch alarm serving as a CRON to detect a new release and trigger a lambda function that compute and store the results of queries in this file). @dustine32 may remember a bit more - I think there is a recording on the topic made 1st week of September -.

I saw in other threads that some queries experienced timeout, a possible reason could be a timeout on that lambda while doing the queries. Let me know if you need further info.

Otherwise, happy holiday season 🎄🎅

from web-gocam.

lpalbou avatar lpalbou commented on September 24, 2024

You can use AWS/Cloud9 and this environment:
Screen Shot 2022-01-04 at 11 16 04 AM

Then, selecting the lambda_function from the GoUpdateGoCams package, you can click run (top green button). Be sure on the drop down to the right to select lamba/remote:
Screen Shot 2022-01-04 at 11 13 27 AM

That should run only the code for GO-CAMs cache. Btw, this code is also on GH in the go-stats repo, however you may want to push the code from Cloud9 to GH.. As there may have been some changes over time !

Hope that will work !

from web-gocam.

kltm avatar kltm commented on September 24, 2024

This is now fixed--thank you everybody!

from web-gocam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.