Press "Enter" to skip to content

ETIMEDOUT issues on App Service Deploy task (TFS)

We experienced issues while uploading files to the slot of an App Service. We were using the Azure App Service Deploy task. We have approximately 10 of these task within our deployment process.
Sometimes the tasks succeed, sometimes they fail. We do not see any algorithm in this behaviour.

We are using TFS on-premises, version: 16.122.27102.1

With system,debug on true we notice the following ERROR output:

2018-04-26T01:36:31.4127340Z ##[debug]Performing the deployment of webapp.
2018-04-26T01:36:31.4128146Z ##[debug]Finding files matching input: E:\1\r2\a\Develop\drop-deployment\licenses
2018-04-26T01:36:31.4550578Z ##[debug]Azure web app in wrong state, status code : 403
2018-04-26T01:36:31.4567285Z ##[debug]Failed to check availability of azure web app, error : undefined
2018-04-26T01:36:31.4573006Z ##[debug]Requesting for Auth Token: https://login.windows.net/********/oauth2/token/
2018-04-26T01:36:52.4791662Z ##[debug]task result: Failed
2018-04-26T01:36:52.4847017Z ##[error]Error: connect ETIMEDOUT 104.40.240.50:443
2018-04-26T01:36:52.4857393Z ##[debug]Processed: ##vso[task.issue type=error;]Error: connect ETIMEDOUT 104.40.240.50:443
2018-04-26T01:36:52.4858837Z ##[debug]Processed: ##vso[task.complete result=Failed;]Error: connect ETIMEDOUT 104.40.240.50:443
2018-04-26T01:36:52.4860351Z ##[debug]Web App Publish Kudu URL: OURCUSTOMER-staging.scm.azurewebsites.net:443


Solution:

This seems to be fixed by using task version 3.3.36. !
Here is the PR: https://github.com/Microsoft/vsts-tasks/pull/6182/files

This fix should be available to you in TFS 2018 U2 RC2.
So please consider upgrading your on-premises TFS versions for resolving these kind of issues.

App Service Deploy Task github issue

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.