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

remote.storage.outbound logging reports protocol downgrade when there isn't one

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.11.3
    • Fix Version/s: 2.11.4
    • Component/s: Transport
    • Labels:
      None
    • Story Points:
      0.5
    • Sprint:
      Sprint 47

      Description

      Configure a Maven 2 snapshots proxy to http://repo.fusesource.com/nexus/content/repositories/snapshots/

      Enable remote.storage.outbound logging in Nexus.

      Make any artifact request to this proxy. You will see log messages printed that a protocol downgrade occurred. This is not true. Protocol was always http.

      2015-06-09 02:50:57,098-0700 DEBUG [qtp2083653315-17650] anonymous remote.storage.outbound - Downgrade from HTTPS to HTTP during redirection /nexus/content/repositories/snapshots/org/example/3.0.35-SNAPSHOT/maven-metadata.xml -> http://repository.jboss.org/nexus/content/repositories/fs-snapshots/org/example/3.0.35-SNAPSHOT/maven-metadata.xml
      2015-06-09 02:50:57,098-0700 DEBUG [qtp2083653315-17650] anonymous remote.storage.outbound - Following redirection /nexus/content/repositories/snapshots/org/example/3.0.35-SNAPSHOT/maven-metadata.xml -> http://repository.jboss.org/nexus/content/repositories/fs-snapshots/org/example/3.0.35-SNAPSHOT/maven-metadata.xml
      

      Expected:

      • avoid this misleading logging message
      • include the absolute source URI if possible, not just the relative path
      • include the source repository id if possible
      • indicate status code causing the redirection 302 or 301

        Attachments

          Activity

            People

            Assignee:
            msurani Mahendra Surani
            Reporter:
            plynch Peter Lynch
            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