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

Continuation token fails intermittently with 406 response but then eventually works.

    XMLWordPrintable

    Details

      Description

      Continuation token fails intermittently with 406 response when using Search REST API but then eventually works.

      Issue started to happen after upgrading to Nexus 3.26.1. Did not have this problem on version 3.25.0, so this is a regression.

      This is the request:
       

      10.100.139.55 - - [21/Aug/2020:09:35:38 +0200] "GET /service/rest/v1/search?repository=releases&maven.groupId=com.xxxxx.xxxxx&maven.artifactId=xxxxx&continuationToken=35303a6533623736633532643435336130656432313761643034396366633134666362 HTTP/1.0" 406 - 0 4 "curl/7.66.0" [qtp1361525958-548]
      

      Nexus log show the following warning:

      2020-08-21 09:35:38,074+0200 WARN  [qtp1361525958-548]  *UNKNOWN org.sonatype.nexus.siesta.internal.WebappExceptionMapper - (ID 318aedb5-1fdc-409b-9106-3fcc303222bf) Response: [406] (no entity/body); mapped from: javax.ws.rs.WebApplicationException: Continuation token 35303a6533623736633532643435336130656432313761643034396366633134666362 does not match this query
      

      Eventually the same call works:

      10.100.139.55 - - [21/Aug/2020:09:35:43 +0200] "GET /service/rest/v1/search?repository=releases&maven.groupId=com.xxxxx.xxxxx&maven.artifactId=xxxxx&continuationToken=35303a6533623736633532643435336130656432313761643034396366633134666362 HTTP/1.0" 200 - 170166 1382 "curl/7.66.0" [qtp1361525958-534]
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mbucher Michael Bucher
              Reporter:
              msurani Mahendra Surani
              Last Updated By:
              Joseph Stephens
              Team:
              NXRM - Operations/Groot
              Votes:
              4 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title

                    PagerDuty