sonatype-nexus-community / search-maven-org

Apache License 2.0
478 stars 141 forks source link

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

Open Iduoad opened 1 year ago

Iduoad commented 1 year ago

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

image

aminedj commented 1 year ago

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

jorlina commented 1 year ago

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.

gwitsch commented 1 year ago

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}

kerrykimbrough commented 1 year ago

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.

SaschaAusUlm commented 1 year ago

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

jakobmagiera commented 1 year ago

@SaschaAusUlm

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

SaschaAusUlm commented 1 year ago

@jakobmagiera

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

gwitsch commented 1 year ago

Any update on this?

jorlina commented 1 year ago

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

gwitsch commented 1 year ago

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

gwitsch commented 1 year ago

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