'Deploying function app to App service environment through Azure devops pipeline

We are trying to deploy to App service instance, through our self hosted agents. The deployment fails with the following error. We are kind of hit a dead end. Is anyone have any idea to overcome this? This is the message we are getting.

Got service connection details for Azure App Service:'***' Trying to update App Service Application settings. Data: {"WEBSITE_RUN_FROM_PACKAGE":"1"} Deleting App Service Application settings. Data: ["WEBSITE_RUN_FROM_ZIP"] App Service Application settings are already present. Package deployment using ZIP Deploy initiated.

[error]Failed to deploy web package to App Service. [error]To debug further please check Kudu stack trace URL : https://[email protected]..net/api/vfs/LogFiles/kudu/trace [error]Error: Error: Failed to deploy web package to App Service. Error: connect ETIMEDOUT IP*:443

Yaml: task: AzureFunctionApp@1 inputs: azureSubscription: '' appType: 'functionApp' appName: '' package: '$(Pipeline.Workspace)//.zip' deploymentMethod: 'runFromPackage' deployToSlotOrASE: true resourceGroupName: '' slotName: 'production'

Any help is appreciated. Thanks.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source