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

"failed content integrity validation" message when remote returns 404

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.11.1
    • Fix Version/s: 2.11.3
    • Component/s: Repository
    • Labels:
      None
    • Story Points:
      1
    • Sprint:
      Sprint 36, Sprint 37

      Description

      https://github.com/sonatype/nexus-oss/blob/nexus-2.11.x/components/nexus-core/src/main/java/org/sonatype/nexus/proxy/repository/AbstractProxyRepository.java#L1510-1510

      https://github.com/sonatype/nexus-oss/blob/nexus-2.11.x/components/nexus-core/src/main/java/org/sonatype/nexus/proxy/repository/AbstractProxyRepository.java#L1259-1259

      Prints a concerning log message stating "failed content integrity validation" when in actual fact, the remote may have responded with 404 or other implied 'not found' status code.

      Instead, print a log message indicating the status code and more exact reason the file was detected as not valid.

      To reproduce:

      1. Change logging level of ROOT to DEBUG
      2. Request a file through a Maven proxy repository that the remote will return 404 for.
      3. examine the logs for the message "failed content integrity validation"

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jtom Joe Tom
              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