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

parse and log X-Nuget-Warning remote response headers at WARN level

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.26.1, 3.28.1
    • Fix Version/s: None
    • Component/s: NuGet, nuget-v3
    • Labels:
    • Notability:
      n/a

      Description

      NuGet registries can return diagnostic messages in a special HTTP header called X-NuGet-Warning

      https://github.com/NuGet/Home/wiki/%5BSpec%5D-Server-side-warnings-for-NuGet-client

      Expected

      This is official NuGet server spec, and when present in the remote response, could be useful in helping an NXRM administrator diagnose why the remote is failing the NXRM initiated outbound request.

      If present, the value of the header should be logged at WARN level in the nexus.log along with the repo id, request made, status code.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              plynch Peter Lynch
              Last Updated By:
              Wes Wannemacher Wes Wannemacher
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Date of First Response:

                  tigCommentSecurity.panel-title