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

NuGet group repository returns 500 error if a proxy repository times out

    Details

    • Type: Bug
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.38.1
    • Fix Version/s: None
    • Component/s: NuGet
    • Labels:
    • Notability:
      3

      Description

      Start up Nexus Repo 3.38.1.
      Start up Charles Proxy and configure it to throttle requests with zero bandwidth zero for downloads.
      Configure Nexus Repo to go through Charles Proxy.
      Send this request:

      http://localhost:8081/repository/nuget-group/index.json

      This will fail with a 500 error response, even though this is just a warning, not an error.

      Expected: The failure of one proxy repository to respond to a request should not cause a an error response through the group repository.

      The current log messages are fine, this is just about the response code, which should not be 500.

      2022-05-06 12:25:12,589-0500 WARN [qtp1184989505-694] *UNKNOWN com.sonatype.nexus.repository.nuget.orient.internal.OrientNugetProxyFacet - Exception java.net.SocketTimeoutException: Read timed out checking remote for update, proxy repo nuget-microsoft-proxy failed to fetch https://api.nuget.org/v3/index.json, content not in cache.
      2022-05-06 12:25:12,594-0500 WARN [qtp1184989505-694] *UNKNOWN org.sonatype.nexus.repository.httpbridge.internal.ViewServlet - Failure servicing: GET /repository/nuget-group/v3/content/csvhelper/index.json
      java.net.SocketTimeoutException: Read timed out
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
      at java.net.SocketInputStream.read(SocketInputStream.java:171)
      at java.net.SocketInputStream.read(SocketInputStream.java:141)
      at sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:476)
      at sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:470)
      at sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160)
      at sun.security.ssl.SSLTransport.decode(SSLTransport.java:110)
      at sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1418)
      at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1324)
      at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:439)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rseddon Rich Seddon
            Last Updated By:
            Michael Oliverio Michael Oliverio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                tigCommentSecurity.panel-title