sonatype-nexus-community/search-maven-org

504 Gateway Time-out from search.maven.org/solrsearch/select

Opened this issue · 11 comments

When I am searching for artifacts in search.maven.org, I randomly get 504 from solrsearch/select

image

Service seems to be down - https://search.maven.org/stats

We did some infrastructure scale-out and our logs are showing timeouts have subsided. However, this may just be owed to reduced load. We'll continue to monitor.

Hi,
I think this scale-out change is causing some more problems. At least I am experiencing request issues with the trivy tool. As it uses GET requests.

Trivy Unable to process 3rd party jar with TCP Connection Reset Error

2023-01-18T13:46:03.786+0100 DEBUG retrying request {"request": "GET https://search.maven.org/solrsearch/select?q=1%3A%22d60046797e74222fc6df647ffb9ab32946615264%22&rows=1&wt=json (status: 504)", "timeout": "1m20s", "remaining": 3}

Still having problems with this request: https://search.maven.org/search?q=tcases-shell. Usually returns empty results, but occasionally returns out-of-date results showing current version=4.0.0 when actual version is 4.0.1.

Still happening and triggered us to suspend trivy scans on our Java projects for the time being.

@SaschaAusUlm

If I was your employer I would not like you to publicly state this, maybe reconsider.

@jakobmagiera

trivy is just one of three mechanisms that our Java services use.
And .... you're not my employer.

Any update on this?

Unfortunately, the recent changes we made on our side have reduced the 504 rates but not eliminated them entirely. We're continuing to investigate.

It seems to be better now. Haven't experienced the error im my recent nightly builds.

OK, the issues is back again, just re-appeared at my last builds. But it does not happen that often.