Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECONNRESET - Retry transient network errors #139

Open
tomdaniel-mensura opened this issue Feb 19, 2024 · 1 comment
Open

ECONNRESET - Retry transient network errors #139

tomdaniel-mensura opened this issue Feb 19, 2024 · 1 comment

Comments

@tomdaniel-mensura
Copy link

I got the following error during the task execution:
##[error]Error: read ECONNRESET

It looks to me like this is something transient. I also tried redeploying again, then it worked.
Maybe some kind of retry mechanism can be implemented for errors like these? Since redeploying just to make this work isn't something that can always as easily be done, for example for non-idempotent deploys or deploys that take a long time.

Happy to open a pull request for this if you can confirm that the project is still active.

Here's the full log output:

2024-02-19T14:16:29.3269491Z ##[section]Starting: WorkItem Updater
2024-02-19T14:16:29.3382571Z ==============================================================================
2024-02-19T14:16:29.3382737Z Task         : WorkItem Updater
2024-02-19T14:16:29.3382831Z Description  : This task adds functionality to update WorkItems during a Build or Release.
2024-02-19T14:16:29.3382955Z Version      : 3.0.74
2024-02-19T14:16:29.3383015Z Author       : Blue Basher
2024-02-19T14:16:29.3383103Z Help         : 
2024-02-19T14:16:29.3383153Z ==============================================================================
2024-02-19T14:16:31.2662000Z Using Release as WorkItem Source
2024-02-19T14:16:31.8764955Z Found WorkItem: 2825
2024-02-19T14:16:31.8771305Z Skipped WorkItem: 2825 State: "Closed" => Only updating if state in "New,Active,DEV,TST
2024-02-19T14:16:31.9844242Z Found WorkItem: 2850
2024-02-19T14:16:31.9846018Z Skipped WorkItem: 2850 State: "Closed" => Only updating if state in "New,Active,DEV,TST
2024-02-19T14:16:32.0610333Z Found WorkItem: 2910
2024-02-19T14:16:32.0613398Z Skipped WorkItem: 2910 State: "Closed" => Only updating if state in "New,Active,DEV,TST
2024-02-19T14:16:32.1306956Z Found WorkItem: 2961
2024-02-19T14:16:32.1308928Z Updating WorkItem 2961
2024-02-19T14:16:32.1313027Z Patch: /fields/System.State VAL
2024-02-19T14:16:32.3571590Z WorkItem 2961 updated
2024-02-19T14:16:32.4711159Z WorkItem 2961 comment added: "Deployed to VAL"
2024-02-19T14:16:32.7048682Z Found WorkItem: 3025
2024-02-19T14:16:32.7050503Z Skipped User Story WorkItem: 3025
2024-02-19T14:16:32.7731718Z Found WorkItem: 3027
2024-02-19T14:16:32.7733525Z Updating WorkItem 3027
2024-02-19T14:16:32.7734989Z Patch: /fields/System.State VAL
2024-02-19T14:16:32.9445219Z WorkItem 3027 updated
2024-02-19T14:16:33.0713788Z WorkItem 3027 comment added: "Deployed to VAL"
2024-02-19T14:16:33.1246844Z ##[error]Error: read ECONNRESET
2024-02-19T14:16:33.1451744Z ##[section]Finishing: WorkItem Updater
@rdehouss
Copy link

Agree, I have this too. Fortunately, we can add continueOnError for the task but it's annoying that it stops the task and not continue at least the other WorkItems...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants