Proxy repository not refreshing metadata even with max age 0 - Sonatype Nexus Repository - Sonatype Community

Proxy repository not refreshing metadata even with max age 0

post by chris.dagenais on May 9, 2024

Currently running nexus repo 3.64.0-04 on 3 front end machines acting as pull through caching proxies

I have a nuget proxy repo with the following settings

The problem is that occasionally one of the 3 pull through proxies with above configuration will start returning invalid results. Today one of them started returning that there were 0 results of a FindPackagesById call. The other 2 proxies return the correct result listing many versions. The source nexus repo also returns the correct result. On the problem proxy nothing I do seems to rectify the invalid response. When inspecting the outbound requests log I can see that it is successfully making the request to the source machine and getting a 200 response back, but the proxy continues responding with its invalid response.

Is this a known issue?

post by mpiggott on May 10, 2024

You should note that that configuration will meaningfully impact performance.

Given that the 2 proxies are correct, perhaps there is simply an issue with the remote returning bogus responses itself?

post by chris.dagenais on May 13, 2024

I verified that the source is returning correct data. The "bad" proxy just seems to refuse to pick it up.