Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-10246

HTTP 403 response logged at DEBUG in proxy repository

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.13
    • Fix Version/s: None
    • Component/s: Repository, Transport
    • Labels:
      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]
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rseddon Rich Seddon
            Last Updated By:
            Peter Lynch Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title