Details
-
Bug
-
Resolution: Won't Fix
-
Minor
-
None
-
2.13
-
None
Description
When the remote connection to a proxy repository fails with HTTP 403 this is logged at DEBUG level. This makes end user diagnosis of the problem extremely difficult, resulting in an unnecessary support ticket. This should be logged at WARN without a stack trace, and at DEBUG with a stack trace.
2016-05-17 19:34:33,878-0400 DEBUG [qtp518828885-100] creig.smith@xposc.com remote.storage.outbound - [RubyGems.org] GET https://rubygems.org/latest_specs.4.8.gz -> null; 84.49 ms 2016-05-17 19:34:33,881-0400 DEBUG [qtp518828885-100] creig.smith@xposc.com org.sonatype.nexus.plugins.ruby.proxy.DefaultProxyRubyRepository - Failed URL: https://rubygems.org/ org.sonatype.nexus.proxy.RemoteAccessDeniedException: Forbidden at org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientRemoteStorage.doExecuteRequest(HttpClientRemoteStorage.java:582) ~[nexus-core-2.12.0-01.jar:2.12.0-01] at org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientRemoteStorage.executeRequest(HttpClientRemoteStorage.java:521) ~[nexus-core-2.12.0-01.jar:2.12.0-01] at org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientRemoteStorage.retrieveItem(HttpClientRemoteStorage.java:216) ~[nexus-core-2.12.0-01.jar:2.12.0-01] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60]