Git Product home page Git Product logo

Comments (20)

gedge avatar gedge commented on August 28, 2024 18

this has happened again - I'm getting 500s

Error: An error occurred: [500 Internal Server Error] error accessing OSS Index

from nancy.

ken-duck avatar ken-duck commented on August 28, 2024 12

It is almost certainly related. We have reportedly reproduced the problem and are looking into it internally. Sorry for the interruption; we will get this fixed ASAP.

from nancy.

sethlivingston avatar sethlivingston commented on August 28, 2024 5

Looks like this could be related to some changes made yesterday, May 23:

Some ecosystems will no longer be supported.As part of this change we will be dropping support for Drupal, Debian, Chocolatey, Alpine, Bower and Go Dep. Note: Go Mod will continue to be supported and we encourage all OSS Index users to upgrade to newer Go Mod modules.

Source: https://ossindex.sonatype.org/updates-notice

from nancy.

bhamail avatar bhamail commented on August 28, 2024 4

We found and fixed the problem. It was an edge case bug in a recent update to OSSIndex, and only certain components would have been affected.

Sorry for the disturbance, and special thanks to @JohnStarich for the helpful report - made it much easier to find the root cause.

from nancy.

ken-duck avatar ken-duck commented on August 28, 2024 3

A fix has been deployed. You should see Nancy working correctly now.

from nancy.

JohnStarich avatar JohnStarich commented on August 28, 2024 2

I can reliably reproduce with this API request:

curl -X 'POST' \
  'https://ossindex.sonatype.org/api/v3/component-report' \
  -H 'accept: application/vnd.ossindex.component-report.v1+json' \
  -H 'Content-Type: application/vnd.ossindex.component-report-request.v1+json' \
  -d '{
  "coordinates": [
    "pkg:golang/github.com/IBM-Cloud/[email protected]"
  ]
}'

{"code":500,"message":"There was an error processing your request. It has been logged (ID 0c64132875b54062)."}

The version doesn't appear to matter. Any other public golang dependency I try appears to work.

from nancy.

bhamail avatar bhamail commented on August 28, 2024 2

We're looking into the recent 500 errors from OSSIndex. So far, the errors appear to be component coordinate specific (e.g. not universal). Still digging.

from nancy.

harshavardhana avatar harshavardhana commented on August 28, 2024 1

We moved away from this index to vulncheck by Go community, works like a charm.

from nancy.

bhamail avatar bhamail commented on August 28, 2024

@JasonQuinn Thanks for the report! I'm asking around on my end to see what's happening.

from nancy.

harshavardhana avatar harshavardhana commented on August 28, 2024

Looks like now it's broken in different ways, with expired cert.

Error: Post "https://ossindex.sonatype.org/api/v3/component-report": x509: certificate has expired or is not yet valid: current time 2022-05-26T01:34:29Z is after 2022-05-25T23:59:59Z

from nancy.

ken-duck avatar ken-duck commented on August 28, 2024

Sorry for the problem. It should be resolved now.

Thanks for the heads up!

from nancy.

akiffeyzioglu avatar akiffeyzioglu commented on August 28, 2024

I use 1.0.41 version and pipeline get this error.
Error: An error occurred: [500 Internal Server Error] error accessing OSS Index

from nancy.

redhug1 avatar redhug1 commented on August 28, 2024

I use 1.0.41 version
I'm getting 500s
Error: An error occurred: [500 Internal Server Error] error accessing OSS Index

logfile shows:
{"level":"error","msg":"Error accessing OSS Index","resp_status_code":"500 Internal Server Error","time":"2022-10-18T08:04:08+01:00"}
{"error":"An error occurred: [500 Internal Server Error] error accessing OSS Index","level":"error","msg":"unexpected error in root cmd","time":"2022-10-18T08:04:08+01:00"}

I run with:
go list -m all | nancy sleuth

from nancy.

sandypadmanabhan avatar sandypadmanabhan commented on August 28, 2024

I am getting a 500- Internal Server Error
Error: An error occurred: [500 Internal Server Error] error accessing OSS Index

from nancy.

ping-localhost avatar ping-localhost commented on August 28, 2024

v1.0.37 + v1.0.41 are currently not working:

{"level":"error","msg":"Error accessing OSS Index","resp_status_code":"500 Internal Server Error","time":"2022-10-18T14:13:03+02:00"}
{"error":"An error occurred: [500 Internal Server Error] error accessing OSS Index","level":"error","msg":"unexpected error in root cmd","time":"2022-10-18T14:13:03+02:00"}

I would also like to request that the command doesn't exit with error code 1, if the server cannot be reached, as this breaks pipelines. Maybe add an option to allow the command to pass if the server is returning errors or unreachable? 🤔

from nancy.

TheoBrigitte avatar TheoBrigitte commented on August 28, 2024

Same error here

$ CGO_ENABLED=0 go list -json -m all | nancy sleuth --skip-update-check
Error: An error occurred: [500 Internal Server Error] error accessing OSS Index

For more information, check the log file at /home/theo/.ossindex/nancy.combined.log
nancy version: 1.0.41
...
$ cat /home/theo/.ossindex/nancy.combined.log
{"level":"error","msg":"Error accessing OSS Index","resp_status_code":"500 Internal Server Error","time":"2022-10-18T14:36:07+02:00"}
{"error":"An error occurred: [500 Internal Server Error] error accessing OSS Index","level":"error","msg":"unexpected error in root cmd","time":"2022-10-18T14:36:07+02:00"}

from nancy.

AmanChh avatar AmanChh commented on August 28, 2024

1046Installing nancy version v1.0.33 ...
1048Error: An error occurred: [500 Internal Server Error] error accessing OSS Index
1049
1050For more information, check the log file at /home/travis/.ossindex/nancy.combined.log
1051nancy version: 1.0.33

from nancy.

pablofrias avatar pablofrias commented on August 28, 2024

Any workaround on this until it gets fixed?

from nancy.

adamdecaf avatar adamdecaf commented on August 28, 2024

Any workaround on this until it gets fixed?

Not really. We disabled nancy in our CI pipeline until this is fixed.

from nancy.

gedge avatar gedge commented on August 28, 2024

@ken-duck - have you seen this? 🙏

from nancy.

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.