Giter Site home page Giter Site logo

Comments (8)

amottier avatar amottier commented on August 17, 2024 1

@mir-am this is not actually related to the documentation because when requesting curl https://api.fasten-project.eu/api/mvn/packages/com.google.guava:guava/24.1-jre/rcg I got an HTTP status code 201.

from fasten.

mir-am avatar mir-am commented on August 17, 2024

@amottier
Thanks for reporting an issue.
I would assume that the behavior might have changed in recent major changes to the REST API and the documentation is not updated accordingly.
The issue should be investigated further.

from fasten.

tmortagne avatar tmortagne commented on August 17, 2024

I would assume that the behavior might have changed in recent major changes

Returning an error 500 for such an API is always the sign of a bug for me.

It feels like some packages are badly analyzed or inserted in the DB and would cause a crash of the generation of the call graph.
I remember a long time ago (It's possible I only reported this on gitter) having the following cases for some packages: the very first call was returning a 201 and any following call would return an error 500.

from fasten.

amottier avatar amottier commented on August 17, 2024

@mir-am now I'm also getting an error 500 with curl https://api.fasten-project.eu/api/mvn/packages/com.google.guava:guava/24.1-jre/rcg Can you take a look on the server side to see if any logs are available?

from fasten.

mir-am avatar mir-am commented on August 17, 2024

@amottier
I will investigate the issue ASAP.

from fasten.

mir-am avatar mir-am commented on August 17, 2024

@amottier
Using the provided example above, I could NOT reproduce the issue locally while debugging the REST API in my IDE, i.e., http://localhost:8080/packages/org.jgroups:jgroups/5.1.9.Final/.
The possible explanation for this issue is related to #461. The REST was down because of PSQLException at the time of sending the above request to our production cluster.

from fasten.

mir-am avatar mir-am commented on August 17, 2024

The issue is addressed in #465.

from fasten.

amottier avatar amottier commented on August 17, 2024

@mir-am I did again a test with: curl https://api.fasten-project.eu/api/mvn/packages/org.jgroups:jgroups/5.1.9.Final/rcg and I'm getting a 500 error code.

Let me know if I can help with the investigation.

from fasten.

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.