Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-20584

Artifactory restarts should be more robust in HA mode

    Details

      Description

      Artifactory sometimes fails startup (esp. if another node is being restarted) due to access server failures with an error like this:

      Caused by: org.jfrog.access.client.AccessClientException: Couldn't grant a token, response code: 500, body: {
      "errors" : [

      { "code" : "INTERNAL_SERVER_ERROR", "message" : "Could not propagate changes to another access server ServerImpl(id=<id>, created=1520978883103, modified=1573155376310, uniqueName=<id>, version=4.6.6, privateKeyFingerprint=<fingerprint>, privateKeyLastModified=1573155376309, lastHeartbeat=1573489493167, baseUrl=http://<ip>:8040/access, grpcInfo=<ip>:8045)" }

      ]
      }

       

      It doesn't seem to be very robust and will give up if it has any problems contacting another Access server, instead of retrying (perhaps even on a different cluster node). An easy way to reproduce this is to restart more than one node at a time, though even a connection failure can cause this.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gmartinez Giancarlo Martinez
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: