Details
-
Improvement
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
-
XRAYCLOUD 2023 Sprint 13, XRAYCLOUD 2024 Sprint 14
-
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.