Resolution: Won't Fix
Affects Version/s: 2.11.2
Fix Version/s: None
Component/s: Proxy Repository
Environment:Linux (Ubuntu 12.04)
If a Maven Proxy Repository is configured with authentication credentials, it still attempts to make each request to the remote repository without authentication headers and, if the remote proxy responds with 401, then the request will be made again with the appropriate headers.
So the logs on the remote proxy look something like this:
Preemptive auth would allow us to cut down on:
- Load (network, disk, CPU)
- Log noise
This isn't new to recent versions of Nexus. We have a WireMock config that mocks a remote repository for Nexus to proxy, and we have had to mimic this behaviour the whole time.