Is that the actual failure? HEAD requests are used to check for existence; often they are informational messages. What does the full failure output look like?
j
Julio
06/20/2022, 7:51 AM
we are using an internal proxy that returns 401 in this case, but the proxy gets a 404 from central
Julio
06/20/2022, 7:52 AM
would gradlew handle the 404 differently from the 401?
c
Chris Lee
06/20/2022, 8:08 AM
Yes. Those are very different errors - 404 is not found, which may be expected for a HEAD request. 401 is an unauthorized error. Suggest checking whether your proxy requires authentication and if Gradle is configured to provide that.