nancy: Is returning 500 error when accessing OSS Index
Running nancy has started returning a 500 error “Error: An error occurred: [500 Internal Server Error] error accessing OSS Index” when running https://ossindex.sonatype.org/updates-notice says there were index updates yesterday and today is the 1st day I’ve seen it so it might be related
- What are you trying to do?
Run nancy against my go dependencies with
go list -m all | docker run --env GITHUB_TOKEN=$GITHUB_TOKEN --pull always --rm -i sonatypecommunity/nancy:latest sleuth
cc @bhamail / @DarthHater
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 34
- Comments: 20 (7 by maintainers)
Commits related to this issue
- go/lint: skipping nancy check Issue: https://github.com/sonatype-nexus-community/nancy/issues/263 — committed to moov-io/infra by adamdecaf 2 years ago
- chore: Disable nancy due to issue - https://github.com/sonatype-nexus-community/nancy/issues/263 Signed-off-by: Grzegorz Głąb <grzesuav@gmail.com> — committed to grzesuav/metacontroller by grzesuav 2 years ago
- chore: Disable nancy due to issue - https://github.com/sonatype-nexus-community/nancy/issues/263 Signed-off-by: Grzegorz Głąb <grzesuav@gmail.com> — committed to metacontroller/metacontroller by grzesuav 2 years ago
- Moving away from Nancy (#2393) `Nancy` test is failing and the issue is recent: https://github.com/sonatype-nexus-community/nancy/issues/263 Move to more idiomatic https://pkg.go.dev/golang.org/x... — committed to minio/console by cniackz 2 years ago
- go/lint: remove nancy since it's too unstable, run govulncheck instead Issue: https://github.com/sonatype-nexus-community/nancy/issues/263 Issue: https://github.com/sonatype-nexus-community/nancy/iss... — committed to moov-io/infra by adamdecaf a year ago
this has happened again - I’m getting 500s
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.
Looks like this could be related to some changes made yesterday, May 23:
Source: https://ossindex.sonatype.org/updates-notice
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.
A fix has been deployed. You should see Nancy working correctly now.
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.
I can reliably reproduce with this API request:
The version doesn’t appear to matter. Any other public golang dependency I try appears to work.
We moved away from this index to vulncheck by Go community, works like a charm.