Uploaded image for project: 'Xray for Jira Cloud'
  1. Xray for Jira Cloud
  2. XRAYCLOUD-6306

Retry for ECONNREFUSED/ECONNRESET during migration

    XporterXMLWordPrintable

Details

    • XRAYCLOUD 2023 Sprint 13, XRAYCLOUD 2024 Sprint 14
    • UNCOVERED

    Description

      During the migration process Xray will makes a lot of requests to Jira using a wide variety of REST endpoints.

      Any of these endpoints can potentially fail with 
      ECONNREFUSED or ECONNRESET.

      Previously, retry logic was added for the /rest/api/2/search endpoint as that is where we were seeing these the most.
      In a recent migration we it fail due to ECONNRESET when setting issue webpanel properties which is a call to 
      /rest/api/2/issue/{issueIdOrKey}/properties/{propertyKey}

      We also set issuetype and project properties
      /rest/api/2/issuetype/{issueTypeId}/properties/{propertyKey}
      /rest/api/2/project/{projectIdOrKey}/properties/{propertyKey}

      GET Task
      /rest/api/2/task/{taskId}

      But again, any outgoing call could be susceptible to this. But since the issue property call is made frequently, we could start from there.

      Attachments

        Activity

          People

            sdcv Sergio Vieira
            roy.mehmood Roy Mehmood
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: