microsoft / azure-pipelines-tasks

Tasks for Azure Pipelines
https://aka.ms/tfbuild
MIT License
3.5k stars 2.61k forks source link

Publishing Azure Function doesn't work in agent behind proxy #13170

Open andrew-sumner opened 4 years ago

andrew-sumner commented 4 years ago

Entering this information will route you directly to the right team and expedite traction.

Question, Bug, or Feature? : Bug Enter Task Name: AzureFunctionAppV1

Environment

Issue Description

Get a proxy authentication error (407 status code). Have tried setting environment variable HTTPS_PROXY=http://user:password@our.proxy.co.nz which sorted the terraform task, but not this one.

Task logs

2020-06-23T21:37:30.3880703Z ##[debug]Evaluating condition for step: 'Azure Function App Deploy: $(function_app_name)' 2020-06-23T21:37:30.3881166Z ##[debug]Evaluating: succeeded() 2020-06-23T21:37:30.3881289Z ##[debug]Evaluating succeeded: 2020-06-23T21:37:30.3881498Z ##[debug]=> True 2020-06-23T21:37:30.3881682Z ##[debug]Result: True 2020-06-23T21:37:30.3881858Z ##[section]Starting: Azure Function App Deploy: $(function_app_name) 2020-06-23T21:37:30.3942001Z ============================================================================== 2020-06-23T21:37:30.3942107Z Task : Azure Function 2020-06-23T21:37:30.3942181Z Description : Deploy an Azure Function for Linux or Windows 2020-06-23T21:37:30.3942238Z Version : 1.0.20 2020-06-23T21:37:30.3942295Z Author : Microsoft Corporation 2020-06-23T21:37:30.3942373Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks 2020-06-23T21:37:30.3942439Z ============================================================================== 2020-06-23T21:37:30.5637004Z ##[debug]agent.TempDirectory=E:\BuildAgents\NZ8037SPTFS2004_1_work_temp 2020-06-23T21:37:30.5662952Z ##[debug]loading inputs and endpoints 2020-06-23T21:37:30.5667794Z ##[debug]loading ENDPOINT_AUTH_55c7424a-65d6-4fa9-abc9-9ca65bd24e88 2020-06-23T21:37:30.5678505Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_55c7424a-65d6-4fa9-abc9-9ca65bd24e88_AUTHENTICATIONTYPE 2020-06-23T21:37:30.5681888Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_55c7424a-65d6-4fa9-abc9-9ca65bd24e88_SERVICEPRINCIPALID 2020-06-23T21:37:30.5683793Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_55c7424a-65d6-4fa9-abc9-9ca65bd24e88_SERVICEPRINCIPALKEY 2020-06-23T21:37:30.5687553Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_55c7424a-65d6-4fa9-abc9-9ca65bd24e88_TENANTID 2020-06-23T21:37:30.5697473Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN 2020-06-23T21:37:30.5699341Z ##[debug]loading ENDPOINT_AUTH_SCHEME_55c7424a-65d6-4fa9-abc9-9ca65bd24e88 2020-06-23T21:37:30.5701000Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION 2020-06-23T21:37:30.5702655Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION 2020-06-23T21:37:30.5705936Z ##[debug]loading INPUT_APPNAME 2020-06-23T21:37:30.5707648Z ##[debug]loading INPUT_APPTYPE 2020-06-23T21:37:30.5709225Z ##[debug]loading INPUT_AZURESUBSCRIPTION 2020-06-23T21:37:30.5711007Z ##[debug]loading INPUT_DEPLOYMENTMETHOD 2020-06-23T21:37:30.5712743Z ##[debug]loading INPUT_DEPLOYTOSLOTORASE 2020-06-23T21:37:30.5714304Z ##[debug]loading INPUT_PACKAGE 2020-06-23T21:37:30.5715918Z ##[debug]loading INPUT_SLOTNAME 2020-06-23T21:37:30.5722959Z ##[debug]loading SECRET_APPPASSWORD 2020-06-23T21:37:30.5725232Z ##[debug]loading SECRET_PROXYPASSWORD 2020-06-23T21:37:30.5731609Z ##[debug]loaded 18 2020-06-23T21:37:30.5752507Z ##[debug]Agent.ProxyUrl=undefined 2020-06-23T21:37:30.5753904Z ##[debug]Agent.CAInfo=undefined 2020-06-23T21:37:30.5754183Z ##[debug]Agent.ClientCert=undefined 2020-06-23T21:37:30.5754416Z ##[debug]Agent.SkipCertValidation=undefined 2020-06-23T21:37:30.7958460Z ##[debug]agent.proxyurl=undefined 2020-06-23T21:37:30.7958722Z ##[debug]VSTS_ARM_REST_IGNORE_SSL_ERRORS=undefined 2020-06-23T21:37:30.7958837Z ##[debug]AZURE_HTTP_USER_AGENT=TFS_4496332f-82eb-4ca0-9da7-2a435d0ddca6_Release__16306_23601_1 2020-06-23T21:37:30.9978830Z ##[debug]Agent.TempDirectory=E:\BuildAgents\NZ8037SPTFS2004_1_work_temp 2020-06-23T21:37:31.2015613Z ##[debug]check path : E:\BuildAgents\NZ8037SPTFS2004_1_work_tasks\AzureFunctionApp_501dd25d-1785-43e4-b4e5-a5c78ccc0573\1.0.20\task.json 2020-06-23T21:37:31.2021966Z ##[debug]adding resource file: E:\BuildAgents\NZ8037SPTFS2004_1_work_tasks\AzureFunctionApp_501dd25d-1785-43e4-b4e5-a5c78ccc0573\1.0.20\task.json 2020-06-23T21:37:31.2022277Z ##[debug]system.culture=en-US 2020-06-23T21:37:31.2022515Z ##[debug]check path : E:\BuildAgents\NZ8037SPTFS2004_1_work_tasks\AzureFunctionApp_501dd25d-1785-43e4-b4e5-a5c78ccc0573\1.0.20\node_modules\azurermdeploycommon\module.json 2020-06-23T21:37:31.2022781Z ##[debug]adding resource file: E:\BuildAgents\NZ8037SPTFS2004_1_work_tasks\AzureFunctionApp_501dd25d-1785-43e4-b4e5-a5c78ccc0573\1.0.20\node_modules\azurermdeploycommon\module.json 2020-06-23T21:37:31.2024042Z ##[debug]system.culture=en-US 2020-06-23T21:37:31.2024268Z ##[debug]azureSubscription=55c7424a-65d6-4fa9-abc9-9ca65bd24e88 2020-06-23T21:37:31.2024468Z ##[debug]appType=functionApp 2020-06-23T21:37:31.2024649Z ##[debug]deployToSlotOrASE=false 2020-06-23T21:37:31.2070438Z ##[debug]customWebConfig=null 2020-06-23T21:37:31.2070794Z ##[debug]appSettings=null 2020-06-23T21:37:31.2071011Z ##[debug]startUpCommand=null 2020-06-23T21:37:31.2071204Z ##[debug]configurationStrings=null 2020-06-23T21:37:31.2071433Z ##[debug]resourceGroupName=null 2020-06-23T21:37:31.2072842Z ##[debug]slotName=production 2020-06-23T21:37:31.2074501Z ##[debug]appName=XXXXRBAC-TestProdTT 2020-06-23T21:37:31.2083205Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 data subscriptionid = a724b29b-ab3b-42dc-ab11-5c252397a687 2020-06-23T21:37:31.2083635Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 data subscriptionname = D365 Integrated Customer Environment - Dev/Test 2020-06-23T21:37:31.2086449Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 auth param serviceprincipalid = 2020-06-23T21:37:31.2086765Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 data environmentAuthorityUrl = https://login.windows.net/ 2020-06-23T21:37:31.2099479Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 auth param tenantid = 2020-06-23T21:37:31.2099909Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88=https://management.azure.com/ 2020-06-23T21:37:31.2100146Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 data environment = AzureCloud 2020-06-23T21:37:31.2100363Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 auth scheme = ServicePrincipal 2020-06-23T21:37:31.2100572Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 data msiclientId = undefined 2020-06-23T21:37:31.2100802Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 data activeDirectoryServiceEndpointResourceId = https://management.core.windows.net/ 2020-06-23T21:37:31.2101043Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 data AzureKeyVaultServiceEndpointResourceId = https://vault.azure.net 2020-06-23T21:37:31.2101256Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 data AzureKeyVaultDnsSuffix = vault.azure.net 2020-06-23T21:37:31.2102055Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 auth param authenticationType = 2020-06-23T21:37:31.2102333Z ##[debug]credentials spn endpoint 2020-06-23T21:37:31.2104087Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 auth param serviceprincipalkey = 2020-06-23T21:37:31.2104394Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 data EnableAdfsAuthentication = false 2020-06-23T21:37:31.2108076Z ##[debug]{"subscriptionID":"a724b29b-ab3b-42dc-ab11-5c252397a687","subscriptionName":"D365 Integrated Customer Environment - Dev/Test","servicePrincipalClientID":"","environmentAuthorityUrl":"https://login.windows.net/","tenantID":"","url":"https://management.azure.com/","environment":"AzureCloud","scheme":"ServicePrincipal","activeDirectoryResourceID":"https://management.azure.com/","azureKeyVaultServiceEndpointResourceId":"https://vault.azure.net","azureKeyVaultDnsSuffix":"vault.azure.net","authenticationType":"***","servicePrincipalKey":***,"isADFSEnabled":false,"applicationTokenCredentials":{"clientId":"***","domain":"***","baseUrl":"https://management.azure.com/","authorityUrl":"https://login.windows.net/","activeDirectoryResourceId":"https://management.azure.com/","isAzureStackEnvironment":false,"authType":"***","secret":***,"isADFSEnabled":false}} 2020-06-23T21:37:31.2142806Z Got service connection details for Azure App Service:'XXXXRBAC-TestProdTT' 2020-06-23T21:37:31.2183255Z ##[debug][POST]https://login.windows.net/***/oauth2/token/ 2020-06-23T21:37:31.8912497Z ##[debug][GET]https://management.azure.com/subscriptions/a724b29b-ab3b-42dc-ab11-5c252397a687/resources?$filter=resourceType EQ 'Microsoft.Web%2FSites' AND name EQ 'XXXXRBAC-TestProdTT'&api-version=2016-07-01 2020-06-23T21:37:32.4359301Z ##[debug]Resource Group: ice-TestProdTT-rg 2020-06-23T21:37:32.4382091Z ##[debug][GET]https://management.azure.com/subscriptions/a724b29b-ab3b-42dc-ab11-5c252397a687/resourceGroups/ice-TestProdTT-rg/providers/Microsoft.Web/sites/XXXXRBAC-TestProdTT/?api-version=2016-08-01 2020-06-23T21:37:32.8418690Z ##[debug]Sku: Basic 2020-06-23T21:37:32.8922331Z ##[debug]Processed: ##vso[telemetry.publish area=TaskEndpointId;feature=AzureRmWebAppDeployment]{"endpointId":"55c7424a-65d6-4fa9-abc9-9ca65bd24e88"} 2020-06-23T21:37:32.8926251Z ##[debug]package=E:\BuildAgents\NZ8037SPTFS2004_1_work\r7\a\XXXX.RBAC\drop\XXXX.RBAC.zip 2020-06-23T21:37:32.8926603Z ##[debug]Finding files matching input: E:\BuildAgents\NZ8037SPTFS2004_1_work\r7\a\XXXX.RBAC\drop\XXXX.RBAC.zip 2020-06-23T21:37:32.8926833Z ##[debug]intially web config parameters :null 2020-06-23T21:37:32.8927029Z ##[debug]This is zip package 2020-06-23T21:37:32.8927222Z ##[debug]deploymentMethod=zipDeploy 2020-06-23T21:37:32.8928725Z ##[debug]Depolyment started for windows app service 2020-06-23T21:37:32.8929102Z ##[debug]Package type of deployment is: 1 2020-06-23T21:37:32.8929307Z ##[debug]Predeployment Step Started 2020-06-23T21:37:32.8929544Z ##[debug][POST]https://management.azure.com/subscriptions/a724b29b-ab3b-42dc-ab11-5c252397a687/resourceGroups/ice-TestProdTT-rg/providers/Microsoft.Web/sites/XXXXRBAC-TestProdTT/config/publishingcredentials/list?api-version=2016-08-01 2020-06-23T21:37:33.3975350Z ##[debug]set AZURE_APP_SERVICE_KUDU_production_PASSWORD=**** 2020-06-23T21:37:33.3976763Z ##[debug]Processed: ##vso[task.setvariable variable=AZURE_APP_SERVICE_KUDU_production_PASSWORD;issecret=true;]* 2020-06-23T21:37:33.3977189Z ##[debug]Deployment Step Started 2020-06-23T21:37:33.4486715Z ##[debug]Processed: ##vso[telemetry.publish area=TaskDeploymentMethod;feature=AzureWebAppDeployment]{"deploymentMethod":"Zip Deploy"} 2020-06-23T21:37:33.4494133Z ##[debug]WebConfigParameters is null 2020-06-23T21:37:33.4494522Z ##[debug]File Tranformation not enabled 2020-06-23T21:37:33.4495080Z ##[debug]Is the package an msdeploy package : false 2020-06-23T21:37:33.4495317Z ##[debug]Initiated deployment via kudu service for webapp package : 2020-06-23T21:37:33.4495522Z Updating App Service Application settings. Data: {"WEBSITE_RUN_FROM_PACKAGE":"0"} {"WEBSITE_RUN_FROM_ZIP":{"value":""}} 2020-06-23T21:37:33.4495788Z ##[debug][POST]https://management.azure.com/subscriptions/a724b29b-ab3b-42dc-ab11-5c252397a687/resourceGroups/ice-TestProdTT-rg/providers/Microsoft.Web/sites/XXXXRBAC-TestProdTT/config/appsettings/list?api-version=2016-08-01 2020-06-23T21:37:34.0649219Z ##[debug]Value of WEBSITE_RUN_FROM_PACKAGE has been changed to 0 2020-06-23T21:37:34.0654552Z ##[debug][PUT]https://management.azure.com/subscriptions/a724b29b-ab3b-42dc-ab11-5c252397a687/resourceGroups/ice-TestProdTT-rg/providers/Microsoft.Web/sites/XXXXRBAC-TestProdTT/config/appsettings?api-version=2016-08-01 2020-06-23T21:37:35.1696870Z ##[debug][POST]https://management.azure.com/subscriptions/a724b29b-ab3b-42dc-ab11-5c252397a687/resourceGroups/ice-TestProdTT-rg/providers/Microsoft.Web/sites/XXXXRBAC-TestProdTT/config/publishingcredentials/list?api-version=2016-08-01 2020-06-23T21:37:35.7413478Z ##[debug]set AZURE_APP_SERVICE_KUDU_production_PASSWORD=**** 2020-06-23T21:37:35.7414784Z ##[debug]Processed: ##vso[task.setvariable variable=AZURE_APP_SERVICE_KUDU_production_PASSWORD;issecret=true;]* 2020-06-23T21:37:35.7415145Z ##[debug]retrieving values from Kudu service to check if new values are updated 2020-06-23T21:37:35.7415436Z ##[debug][GET]https://$XXXXRBAC-TestProdTT:***@XXXXrbac-testprodtt.scm.azurewebsites.net/api/settings 2020-06-23T21:37:35.9100651Z ##[debug]Encountered a retriable error:ECONNRESET. Message: tunneling socket could not be established, statusCode=407. 2020-06-23T21:37:37.9222032Z ##[debug][GET]https://$XXXXRBAC-TestProdTT:***@XXXXrbac-testprodtt.scm.azurewebsites.net/api/settings 2020-06-23T21:37:37.9283099Z ##[debug]Encountered a retriable error:ECONNRESET. Message: tunneling socket could not be established, statusCode=407. 2020-06-23T21:37:43.9358810Z ##[debug][GET]https://$XXXXRBAC-TestProdTT:***@XXXXrbac-testprodtt.scm.azurewebsites.net/api/settings 2020-06-23T21:37:43.9451158Z ##[debug]Encountered a retriable error:ECONNRESET. Message: tunneling socket could not be established, statusCode=407. 2020-06-23T21:37:57.9514437Z ##[debug][GET]https://$XXXXRBAC-TestProdTT:***@XXXXrbac-testprodtt.scm.azurewebsites.net/api/settings 2020-06-23T21:37:58.0142645Z ##[debug]Encountered a retriable error:ECONNRESET. Message: tunneling socket could not be established, statusCode=407. 2020-06-23T21:38:29.3020788Z ##[debug][GET]https://$XXXXRBAC-TestProdTT:***@XXXXrbac-testprodtt.scm.azurewebsites.net/api/settings 2020-06-23T21:38:29.3028698Z ##[debug]Processed: ##vso[task.logissue type=error;code=ECONNRESET;] 2020-06-23T21:38:29.3029402Z ##[debug]Deployment Failed with Error: Error: Failed to fetch Kudu App Settings. Error: Error: tunneling socket could not be established, statusCode=407 2020-06-23T21:38:29.3030000Z ##[debug]task result: Failed 2020-06-23T21:38:29.3030381Z ##[error]Error: Failed to fetch Kudu App Settings. Error: Error: tunneling socket could not be established, statusCode=407 2020-06-23T21:38:29.3030631Z ##[debug]Processed: ##vso[task.issue type=error;]Error: Failed to fetch Kudu App Settings. Error: Error: tunneling socket could not be established, statusCode=407 2020-06-23T21:38:29.3031286Z ##[debug]Processed: ##vso[task.complete result=Failed;]Error: Failed to fetch Kudu App Settings. Error: Error: tunneling socket could not be established, statusCode=407 2020-06-23T21:38:29.3031610Z ##[debug][GET]https://management.azure.com/subscriptions/a724b29b-ab3b-42dc-ab11-5c252397a687/providers/microsoft.insights/components?$filter=InstrumentationKey eq '56be8923-4c68-4803-bd3b-7edb5524e362'&api-version=2015-05-01 2020-06-23T21:38:29.6742454Z ##[debug]Release.ReleaseUri=vstfs:///ReleaseManagement/Release/16306 2020-06-23T21:38:29.6743277Z ##[debug]Build.BuildUri=vstfs:///Build/Build/12449 2020-06-23T21:38:29.6743613Z ##[debug]Release.DefinitionName=XXXX.RBAC 2020-06-23T21:38:29.6743851Z ##[debug]Release.ReleaseName=20200624.3 2020-06-23T21:38:29.6744088Z ##[debug]Build.BuildUri=vstfs:///Build/Build/12449 2020-06-23T21:38:29.6744347Z ##[debug]Release.ReleaseWebUrl=http://tfs.XXXXX.co.nz/tfs/XXXXXCollection/25239e82-4929-46f0-8fcb-1c970c853788/_release?releaseId=16306&_a=release-summary 2020-06-23T21:38:29.6744813Z ##[debug]System.TeamFoundationCollectionUri=http://tfs.XXXXX.co.nz/tfs/XXXXXCollection/ 2020-06-23T21:38:29.6745084Z ##[debug]System.TeamProjectId=25239e82-4929-46f0-8fcb-1c970c853788 2020-06-23T21:38:29.6745321Z ##[debug]build.buildId=12449 2020-06-23T21:38:29.6745596Z ##[debug][PUT]https://management.azure.com/subscriptions/a724b29b-ab3b-42dc-ab11-5c252397a687/resourceGroups/ice-TestProdTT-rg/providers/microsoft.insights/components/ice-testprodtt-insights/Annotations?api-version=2015-05-01 2020-06-23T21:38:32.9288620Z ##[debug]addReleaseAnnotation. Data : {"statusCode":200,"statusMessage":"OK","headers":{"cache-control":"no-cache","pragma":"no-cache","content-length":"364","content-type":"application/json; charset=utf-8","expires":"-1","x-ms-request-id":"dfb3c546-42b7-44dd-929c-947541983949","x-content-type-options":"nosniff","request-context":"appId=cid-v1:920e14b1-13f3-461a-a4bb-b4fe6f1a4525","access-control-expose-headers":"Request-Context","strict-transport-security":"max-age=31536000; includeSubDomains","server":"Microsoft-IIS/10.0","x-powered-by":"ASP.NET","x-ms-ratelimit-remaining-subscription-writes":"1199","x-ms-correlation-request-id":"4c891804-f664-4652-b6e0-5a5ddaa75b90","x-ms-routing-request-id":"AUSTRALIAEAST:20200623T213832Z:4c891804-f664-4652-b6e0-5a5ddaa75b90","date":"Tue, 23 Jun 2020 21:38:32 GMT"},"body":[{"AnnotationName":"XXXX.RBAC - 20200624.3","Id":"3c38e086-828f-4063-9df4-db5d3a1b0847","Category":"Text","Properties":"{\"Label\":\"Error\",\"Deployment Uri\":\"http://tfs.XXXXX.co.nz/tfs/XXXXXCollection/25239e82-4929-46f0-8fcb-1c970c853788/_release?releaseId=16306&_a=release-summary\"}","EventTime":"2020-06-23T21:38:29.653+00:00","RelatedAnnotation":null}]} 2020-06-23T21:38:32.9289726Z Successfully added release annotation to the Application Insight : ice-testprodtt-insights 2020-06-23T21:38:32.9290021Z ##[debug]build.sourceVersionAuthor=undefined 2020-06-23T21:38:32.9290287Z ##[debug]build.requestedfor=Andrew Sumner 2020-06-23T21:38:32.9290545Z ##[debug]build.buildUri=vstfs:///Build/Build/12449 2020-06-23T21:38:32.9290807Z ##[debug]release.releaseUri=vstfs:///ReleaseManagement/Release/16306 2020-06-23T21:38:32.9291029Z ##[debug]build.buildId=12449 2020-06-23T21:38:32.9291254Z ##[debug]release.releaseId=16306 2020-06-23T21:38:32.9291565Z ##[debug]build.buildNumber=20200623.6 2020-06-23T21:38:32.9291819Z ##[debug]release.releaseName=20200624.3 2020-06-23T21:38:32.9292057Z ##[debug]system.TeamFoundationCollectionUri=http://tfs.XXXXX.co.nz/tfs/XXXXXCollection/ 2020-06-23T21:38:32.9292323Z ##[debug]system.teamProjectId=25239e82-4929-46f0-8fcb-1c970c853788 2020-06-23T21:38:32.9292569Z ##[debug]build.sourceVersion=a33e0de331214b95d777e061201a0aab7807e8ac 2020-06-23T21:38:32.9292802Z ##[debug]build.repository.name=XXXX.RBAC 2020-06-23T21:38:32.9293027Z ##[debug]build.repository.provider=TfsGit 2020-06-23T21:38:32.9293244Z ##[debug]build.buildUri=vstfs:///Build/Build/12449 2020-06-23T21:38:32.9293486Z ##[debug]release.releaseUri=vstfs:///ReleaseManagement/Release/16306 2020-06-23T21:38:32.9293724Z ##[debug]build.buildId=12449 2020-06-23T21:38:32.9293941Z ##[debug]release.releaseId=16306 2020-06-23T21:38:32.9294166Z ##[debug]build.buildNumber=20200623.6 2020-06-23T21:38:32.9294379Z ##[debug]release.releaseName=20200624.3 2020-06-23T21:38:32.9294621Z ##[debug]system.TeamFoundationCollectionUri=http://tfs.XXXXX.co.nz/tfs/XXXXXCollection/ 2020-06-23T21:38:32.9294924Z ##[debug]system.teamProjectId=25239e82-4929-46f0-8fcb-1c970c853788 2020-06-23T21:38:32.9295182Z ##[debug]build.sourceVersion=a33e0de331214b95d777e061201a0aab7807e8ac 2020-06-23T21:38:32.9295415Z ##[debug]build.repository.name=XXXX.RBAC 2020-06-23T21:38:32.9295645Z ##[debug]build.repository.provider=TfsGit 2020-06-23T21:38:32.9296001Z ##[debug][PUT]https://$XXXXRBAC-TestProdTT:***@XXXXrbac-testprodtt.scm.azurewebsites.net/api/deployments/163061592948312919 2020-06-23T21:38:32.9394203Z ##[debug]Processed: ##vso[task.logissue type=error;code=ECONNRESET;] 2020-06-23T21:38:32.9395027Z ##[warning]Error: Failed to update deployment history. Error: Error: tunneling socket could not be established, statusCode=407 2020-06-23T21:38:32.9395289Z ##[debug]Processed: ##vso[task.issue type=warning;]Error: Failed to update deployment history. Error: Error: tunneling socket could not be established, statusCode=407 2020-06-23T21:38:32.9395596Z ##[debug]Active DeploymentId :undefined 2020-06-23T21:38:32.9395887Z ##[debug][POST]https://management.azure.com/subscriptions/a724b29b-ab3b-42dc-ab11-5c252397a687/resourceGroups/ice-TestProdTT-rg/providers/Microsoft.Web/sites/XXXXRBAC-TestProdTT/publishxml?api-version=2016-08-01 2020-06-23T21:38:33.5721935Z ##[debug]Could not parse response: {} 2020-06-23T21:38:33.5722165Z ##[debug]Response: undefined 2020-06-23T21:38:33.5722271Z App Service Application URL: http://XXXXrbac-testprodtt.azurewebsites.net 2020-06-23T21:38:33.5722419Z ##[debug]set AppServiceApplicationUrl=http://XXXXrbac-testprodtt.azurewebsites.net 2020-06-23T21:38:33.5723066Z ##[debug]Processed: ##vso[task.setvariable variable=AppServiceApplicationUrl;issecret=false;]http://XXXXrbac-testprodtt.azurewebsites.net 2020-06-23T21:38:33.5723230Z ##[debug]Deployment failed 2020-06-23T21:38:33.5874458Z ##[section]Finishing: Azure Function App Deploy: $(function_app_name)

Troubleshooting

Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting

Error logs

2020-06-23T21:37:35.7415436Z ##[debug][GET]https://$XXXXRBAC-TestProdTT:***@XXXXrbac-testprodtt.scm.azurewebsites.net/api/settings 2020-06-23T21:37:35.9100651Z ##[debug]Encountered a retriable error:ECONNRESET. Message: tunneling socket could not be established, statusCode=407.

github-actions[bot] commented 3 years ago

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

kmkumaran commented 3 years ago

@nadesu / @chshrikh - Can you review this.

nadesu commented 3 years ago

@AmrutaKawade - pls take a look. Did we miss triaging it earlier?

AmrutaKawade commented 3 years ago

@andrew-sumner Is it possible to upgrade AzureDevOps server. the one which you are using is very old with older task version.

andrew-sumner commented 3 years ago

I’ve got the latest version of azure devops server installed

AmrutaKawade commented 3 years ago

@andrew-sumner Are you facing this issue with latest server?

andrew-sumner commented 3 years ago

Yes, I'd upgraded to the latest version several months ago.

AmrutaKawade commented 3 years ago

@andrew-sumner When the proxy is set up, Web API calls and SCM hosts are bypassed. The same has to be configured in the Azure pipelines agent explicitly. To bypass specific hosts, follow the steps here and restart the agent.

andrew-sumner commented 3 years ago

@AmrutaKawade I assume what you wanted me to try was placing the proxy settings in the .proxy and .proxybypass files. It didn't help. All other tasks continued to work, but this one gets a timeout error. Here are the logs:

2021-01-10T08:33:26.0584395Z ##[debug]Evaluating condition for step: 'Azure Function App Deploy: $(function_app_name)'
2021-01-10T08:33:26.0585857Z ##[debug]Evaluating: succeeded()
2021-01-10T08:33:26.0586345Z ##[debug]Evaluating succeeded:
2021-01-10T08:33:26.0587168Z ##[debug]=> True
2021-01-10T08:33:26.0587701Z ##[debug]Result: True
2021-01-10T08:33:26.0588278Z ##[section]Starting: Azure Function App Deploy: $(function_app_name)
2021-01-10T08:33:26.0787302Z ==============================================================================
2021-01-10T08:33:26.0787634Z Task         : Azure Functions
2021-01-10T08:33:26.0787970Z Description  : Update a function app with .NET, Python, JavaScript, PowerShell, Java based web applications
2021-01-10T08:33:26.0788404Z Version      : 1.163.7
2021-01-10T08:33:26.0788625Z Author       : Microsoft Corporation
2021-01-10T08:33:26.0788920Z Help         : https://aka.ms/azurefunctiontroubleshooting
2021-01-10T08:33:26.0789264Z ==============================================================================
2021-01-10T08:33:26.5281798Z ##[debug]agent.TempDirectory=E:\BuildAgents\NZ8037SPTFS2003_1\_work\_temp
2021-01-10T08:33:26.7299494Z ##[debug]loading inputs and endpoints
2021-01-10T08:33:26.9354336Z ##[debug]loading ENDPOINT_AUTH_55c7424a-65d6-4fa9-abc9-9ca65bd24e88
2021-01-10T08:33:27.1360559Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_55c7424a-65d6-4fa9-abc9-9ca65bd24e88_AUTHENTICATIONTYPE
2021-01-10T08:33:27.2277104Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_55c7424a-65d6-4fa9-abc9-9ca65bd24e88_SERVICEPRINCIPALID
2021-01-10T08:33:27.2385385Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_55c7424a-65d6-4fa9-abc9-9ca65bd24e88_SERVICEPRINCIPALKEY
2021-01-10T08:33:27.2396797Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_55c7424a-65d6-4fa9-abc9-9ca65bd24e88_TENANTID
2021-01-10T08:33:27.2397563Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2021-01-10T08:33:27.2398202Z ##[debug]loading ENDPOINT_AUTH_SCHEME_55c7424a-65d6-4fa9-abc9-9ca65bd24e88
2021-01-10T08:33:27.2398804Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2021-01-10T08:33:27.2399381Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2021-01-10T08:33:27.2401396Z ##[debug]loading INPUT_APPNAME
2021-01-10T08:33:27.2401965Z ##[debug]loading INPUT_APPTYPE
2021-01-10T08:33:27.2402559Z ##[debug]loading INPUT_AZURESUBSCRIPTION
2021-01-10T08:33:27.2403075Z ##[debug]loading INPUT_DEPLOYMENTMETHOD
2021-01-10T08:33:27.2403849Z ##[debug]loading INPUT_DEPLOYTOSLOTORASE
2021-01-10T08:33:27.2404333Z ##[debug]loading INPUT_PACKAGE
2021-01-10T08:33:27.2404816Z ##[debug]loading INPUT_SLOTNAME
2021-01-10T08:33:27.2405316Z ##[debug]loading SECRET_AGENT_PROXYPASSWORD
2021-01-10T08:33:27.2406553Z ##[debug]loading SECRET_PROXYPASSWORD
2021-01-10T08:33:27.2407142Z ##[debug]loaded 18
2021-01-10T08:33:27.2407667Z ##[debug]Agent.ProxyUrl=http://bccluster.inet.xxxxx.co.nz
2021-01-10T08:33:27.2408228Z ##[debug]Agent.ProxyUsername=INFNZ\srv-tfsservice
2021-01-10T08:33:27.2408867Z ##[debug]Agent.ProxyPassword=***
2021-01-10T08:33:27.2409514Z ##[debug]Agent.ProxyBypassList=[".xxxxx.co.nz"]
2021-01-10T08:33:27.2410218Z ##[debug]Agent.TempDirectory=E:\BuildAgents\NZ8037SPTFS2003_1\_work\_temp
2021-01-10T08:33:27.2410784Z ##[debug]expose agent proxy configuration.
2021-01-10T08:33:27.2411267Z ##[debug]Agent.CAInfo=undefined
2021-01-10T08:33:27.2411795Z ##[debug]Agent.ClientCert=undefined
2021-01-10T08:33:27.2412643Z ##[debug]Agent.SkipCertValidation=undefined
2021-01-10T08:33:27.2652758Z (node:12256) Warning: Use Cipheriv for counter mode of aes-256-ctr
2021-01-10T08:33:27.2653413Z ##[debug]agent.proxyurl=http://bccluster.inet.xxxxx.co.nz
2021-01-10T08:33:27.2654990Z ##[debug]agent.proxyusername=INFNZ\srv-tfsservice
2021-01-10T08:33:27.2655883Z ##[debug]agent.proxypassword=***
2021-01-10T08:33:27.2694709Z ##[debug]agent.proxybypasslist=[".xxxxx.co.nz"]
2021-01-10T08:33:27.2695885Z ##[debug]VSTS_ARM_REST_IGNORE_SSL_ERRORS=undefined
2021-01-10T08:33:27.2696450Z ##[debug]AZURE_HTTP_USER_AGENT=TFS_4496332f-82eb-4ca0-9da7-2a435d0ddca6_Release__25150_36498_2
2021-01-10T08:33:27.2697031Z ##[debug]Agent.TempDirectory=E:\BuildAgents\NZ8037SPTFS2003_1\_work\_temp
2021-01-10T08:33:27.2697666Z ##[debug]check path : E:\BuildAgents\NZ8037SPTFS2003_1\_work\_tasks\AzureFunctionApp_501dd25d-1785-43e4-b4e5-a5c78ccc0573\1.163.7\task.json
2021-01-10T08:33:27.2698416Z ##[debug]adding resource file: E:\BuildAgents\NZ8037SPTFS2003_1\_work\_tasks\AzureFunctionApp_501dd25d-1785-43e4-b4e5-a5c78ccc0573\1.163.7\task.json
2021-01-10T08:33:27.2698989Z ##[debug]system.culture=en-US
2021-01-10T08:33:27.2699591Z ##[debug]check path : E:\BuildAgents\NZ8037SPTFS2003_1\_work\_tasks\AzureFunctionApp_501dd25d-1785-43e4-b4e5-a5c78ccc0573\1.163.7\node_modules\azurermdeploycommon\module.json
2021-01-10T08:33:27.2700443Z ##[debug]adding resource file: E:\BuildAgents\NZ8037SPTFS2003_1\_work\_tasks\AzureFunctionApp_501dd25d-1785-43e4-b4e5-a5c78ccc0573\1.163.7\node_modules\azurermdeploycommon\module.json
2021-01-10T08:33:27.2701062Z ##[debug]system.culture=en-US
2021-01-10T08:33:27.2701496Z ##[debug]azureSubscription=55c7424a-65d6-4fa9-abc9-9ca65bd24e88
2021-01-10T08:33:27.2701918Z ##[debug]appType=functionApp
2021-01-10T08:33:27.2702299Z ##[debug]deployToSlotOrASE=false
2021-01-10T08:33:27.2702676Z ##[debug]customWebConfig=null
2021-01-10T08:33:27.2703040Z ##[debug]appSettings=null
2021-01-10T08:33:27.2703392Z ##[debug]startUpCommand=null
2021-01-10T08:33:27.2703773Z ##[debug]configurationStrings=null
2021-01-10T08:33:27.2704158Z ##[debug]resourceGroupName=null
2021-01-10T08:33:27.2704584Z ##[debug]slotName=production
2021-01-10T08:33:27.2705121Z ##[debug]appName=example-func
2021-01-10T08:33:27.2705633Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 auth scheme = ServicePrincipal
2021-01-10T08:33:27.2706268Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 data subscriptionid = a724b29b-ab3b-42dc-ab11-5c252397a687
2021-01-10T08:33:27.2707103Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 data subscriptionname = D365 Integrated Customer Environment - Dev/Test
2021-01-10T08:33:27.2707816Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 auth param serviceprincipalid = ***
2021-01-10T08:33:27.2708693Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 data environmentAuthorityUrl = https://login.windows.net/
2021-01-10T08:33:27.2709409Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 auth param tenantid = ***
2021-01-10T08:33:27.2709971Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88=https://management.azure.com/
2021-01-10T08:33:27.2710515Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 data environment = AzureCloud
2021-01-10T08:33:27.2711023Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 auth scheme = ServicePrincipal
2021-01-10T08:33:27.2711580Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 data msiclientId = undefined
2021-01-10T08:33:27.2712850Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 data activeDirectoryServiceEndpointResourceId = https://management.core.windows.net/
2021-01-10T08:33:27.2713809Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 data AzureKeyVaultServiceEndpointResourceId = https://vault.azure.net
2021-01-10T08:33:27.2714464Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 data AzureKeyVaultDnsSuffix = vault.azure.net
2021-01-10T08:33:27.2715074Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 auth param authenticationType = ***
2021-01-10T08:33:27.2715549Z ##[debug]credentials spn endpoint
2021-01-10T08:33:27.2716315Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 auth param serviceprincipalkey = ***
2021-01-10T08:33:27.2717090Z ##[debug]55c7424a-65d6-4fa9-abc9-9ca65bd24e88 data EnableAdfsAuthentication = false
2021-01-10T08:33:27.2726961Z ##[debug]{"subscriptionID":"a724b29b-ab3b-42dc-ab11-5c252397a687","subscriptionName":"D365 Integrated Customer Environment - Dev/Test","servicePrincipalClientID":"***","environmentAuthorityUrl":"https://login.windows.net/","tenantID":"***","url":"https://management.azure.com/","environment":"AzureCloud","scheme":"ServicePrincipal","activeDirectoryResourceID":"https://management.azure.com/","azureKeyVaultServiceEndpointResourceId":"https://vault.azure.net","azureKeyVaultDnsSuffix":***,"isADFSEnabled":false,"applicationTokenCredentials":{"clientId":"***","domain":"***","baseUrl":"https://management.azure.com/","authorityUrl":"https://login.windows.net/","activeDirectoryResourceId":"https://management.azure.com/","isAzureStackEnvironment":false,"authType":"***","secret":***,"isADFSEnabled":false}}
2021-01-10T08:33:27.2729631Z Got service connection details for Azure App Service:'example-func'
2021-01-10T08:33:27.2730311Z ##[debug][POST]https://login.windows.net/***/oauth2/token/
2021-01-10T08:33:27.3774839Z (node:12256) Warning: Ignoring extra certs from `C:\Certificate\TrustedRootCAs.pem`, load failed: error:0B07C065:x509 certificate routines:X509_STORE_add_cert:cert already in hash table
2021-01-10T08:33:27.3775847Z 
2021-01-10T08:33:27.8601958Z ##[debug][GET]https://management.azure.com/subscriptions/a724b29b-ab3b-42dc-ab11-5c252397a687/resources?$filter=resourceType EQ 'Microsoft.Web%2FSites' AND name EQ 'example-func'&api-version=2016-07-01
2021-01-10T08:33:28.2022543Z ##[debug]Correlation ID from ARM api call response : ef4bec29-ee7a-4f7c-aa10-ad69424bb554
2021-01-10T08:33:28.2023956Z ##[debug]Resource Group: ice-TestProdTT-rg
2021-01-10T08:33:28.2024845Z ##[debug][GET]https://management.azure.com/subscriptions/a724b29b-ab3b-42dc-ab11-5c252397a687/resourceGroups/ice-TestProdTT-rg/providers/Microsoft.Web/sites/example-func/?api-version=2016-08-01
2021-01-10T08:33:28.6693379Z ##[debug]Correlation ID from ARM api call response : 15531908-de49-459b-9504-2ff6084e4528
2021-01-10T08:33:28.6695219Z ##[debug]Sku: PremiumV2
2021-01-10T08:33:28.7322014Z ##[debug]Processed: ##vso[telemetry.publish area=TaskEndpointId;feature=AzureRmWebAppDeployment]{"endpointId":"55c7424a-65d6-4fa9-abc9-9ca65bd24e88"}
2021-01-10T08:33:28.7341196Z ##[debug]package=E:\BuildAgents\NZ8037SPTFS2003_1\_work\r1\a\function\drop\function.zip
2021-01-10T08:33:28.7346390Z ##[debug]Finding files matching input: E:\BuildAgents\NZ8037SPTFS2003_1\_work\r1\a\function\drop\function.zip
2021-01-10T08:33:28.7347721Z ##[debug]intially web config parameters :null
2021-01-10T08:33:28.7348253Z ##[debug]This is zip package 
2021-01-10T08:33:28.7348749Z ##[debug]deploymentMethod=auto
2021-01-10T08:33:28.7349355Z ##[debug]Depolyment started for windows app service
2021-01-10T08:33:28.7349928Z ##[debug]Package type of deployment is: 1
2021-01-10T08:33:28.7350465Z ##[debug]Is the package an msdeploy package : false
2021-01-10T08:33:28.7351014Z ##[debug]release.releaseId=25150
2021-01-10T08:33:28.7352660Z ##[debug]system.defaultworkingdirectory=E:\BuildAgents\NZ8037SPTFS2003_1\_work\r1\a
2021-01-10T08:33:28.7358333Z ##[debug]release.artifacts.function.definitionId=95
2021-01-10T08:33:28.7358993Z ##[debug]Artifact alias of package is: function
2021-01-10T08:33:28.7359800Z ##[debug]set Azure_App_Service_Deploy_PackageArtifactAlias=function
2021-01-10T08:33:28.7361111Z ##[debug]Processed: ##vso[task.setvariable variable=Azure_App_Service_Deploy_PackageArtifactAlias;issecret=false;]function
2021-01-10T08:33:28.7361860Z ##[debug]Predeployment Step Started
2021-01-10T08:33:28.7362737Z ##[debug][POST]https://management.azure.com/subscriptions/a724b29b-ab3b-42dc-ab11-5c252397a687/resourceGroups/ice-TestProdTT-rg/providers/Microsoft.Web/sites/example-func/config/publishingcredentials/list?api-version=2016-08-01
2021-01-10T08:33:29.2535724Z ##[debug]Correlation ID from ARM api call response : b9f72354-67fe-4b99-84cd-cffe8f107358
2021-01-10T08:33:29.2537137Z ##[debug]set AZURE_APP_SERVICE_KUDU_production_PASSWORD=********
2021-01-10T08:33:29.2540848Z ##[debug]Processed: ##vso[task.setvariable variable=AZURE_APP_SERVICE_KUDU_production_PASSWORD;issecret=true;]***
2021-01-10T08:33:29.2547340Z ##[debug]Deployment Step Started
2021-01-10T08:33:29.3478462Z ##[debug]Processed: ##vso[telemetry.publish area=TaskDeploymentMethod;feature=AzureWebAppDeployment]{"deploymentMethod":"Run from Package"}
2021-01-10T08:33:29.3488039Z ##[debug]WebConfigParameters is null
2021-01-10T08:33:29.3488956Z ##[debug]File Tranformation not enabled
2021-01-10T08:33:29.3489579Z ##[debug]Initiated deployment via kudu service for webapp package : 
2021-01-10T08:33:29.3490205Z Trying to update App Service Application settings. Data: {"WEBSITE_RUN_FROM_PACKAGE":"1"}
2021-01-10T08:33:29.3490799Z Deleting App Service Application settings. Data: ["WEBSITE_RUN_FROM_ZIP"]
2021-01-10T08:33:29.3495928Z ##[debug][POST]https://management.azure.com/subscriptions/a724b29b-ab3b-42dc-ab11-5c252397a687/resourceGroups/ice-TestProdTT-rg/providers/Microsoft.Web/sites/example-func/config/appsettings/list?api-version=2016-08-01
2021-01-10T08:33:29.7311107Z ##[debug]Correlation ID from ARM api call response : 87c84785-0ab3-4b49-868d-ac911bd67408
2021-01-10T08:33:29.7312319Z ##[debug]WEBSITE_RUN_FROM_PACKAGE is already present.
2021-01-10T08:33:29.7312766Z App Service Application settings are already present.
2021-01-10T08:33:29.7313495Z ##[debug][GET]https://management.azure.com/subscriptions/a724b29b-ab3b-42dc-ab11-5c252397a687/resourceGroups/ice-TestProdTT-rg/providers/Microsoft.Web/sites/example-func/config/slotConfigNames?api-version=2016-08-01
2021-01-10T08:33:30.1187475Z ##[debug]Correlation ID from ARM api call response : b159c974-70a2-450e-82e2-65ea433dfe77
2021-01-10T08:33:30.1188613Z ##[debug]warming up Kudu Service
2021-01-10T08:33:30.1190305Z ##[debug][GET]https://$example-func:***@example-func.scm.azurewebsites.net/api/settings
2021-01-10T08:33:30.7976150Z ##[debug]loaded affinity cookie ["ARRAffinity=7575b6ea79014f4531024c73bde5884c60253897ee5227e9e9106ff4261be7b3;Path=/;HttpOnly;Secure;Domain=example-func.scm.azurewebsites.net:443","ARRAffinitySameSite=7575b6ea79014f4531024c73bde5884c60253897ee5227e9e9106ff4261be7b3;Path=/;HttpOnly;SameSite=None;Secure;Domain=example-func.scm.azurewebsites.net:443"]
2021-01-10T08:33:30.8086164Z ##[debug]getAppSettings. Data: {"statusCode":200,"statusMessage":"OK","headers":{"cache-control":"no-cache","pragma":"no-cache","content-length":"1968","content-type":"application/json; charset=utf-8","expires":"-1","server":"Microsoft-IIS/10.0","x-ms-request-id":"1436ab98-691b-4ca0-b0ca-2d29e664f3db","x-aspnet-version":"4.0.30319","x-powered-by":"ASP.NET","set-cookie":["ARRAffinity=7575b6ea79014f4531024c73bde5884c60253897ee5227e9e9106ff4261be7b3;Path=/;HttpOnly;Secure;Domain=example-func.scm.azurewebsites.net:443","ARRAffinitySameSite=7575b6ea79014f4531024c73bde5884c60253897ee5227e9e9106ff4261be7b3;Path=/;HttpOnly;SameSite=None;Secure;Domain=example-func.scm.azurewebsites.net:443"],"date":"Sun, 10 Jan 2021 08:33:29 GMT"},"body":{"deployment_branch":"master","SCM_TRACE_LEVEL":"1","SCM_COMMAND_IDLE_TIMEOUT":"60","SCM_LOGSTREAM_TIMEOUT":"7200","SCM_BUILD_ARGS":"","aspnet:PortableCompilationOutput":"true","aspnet:PortableCompilationOutputSnapshotType":"Microsoft.Web.Compilation.Snapshots.SnapshotHelper, Microsoft.Web.Compilation.Snapshots, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35","aspnet:DisableFcnDaclRead":"true","SCM_GIT_USERNAME":"windowsazure","SCM_GIT_EMAIL":"windowsazure","webpages:Version":"3.0.0.0","webpages:Enabled":"true","webactivator:assembliesToScan":"Kudu.Services.Web","WEBSITE_AUTH_TOKEN_STORE":"False","WEBSITE_SLOT_NAME":"Production","FUNCTIONS_EXTENSION_VERSION":"~1","ScmType":"VSTSRM","WEBSITE_TIME_ZONE":"New Zealand Standard Time","WEBSITE_AUTH_ENABLED":"False","WEBSITE_RUN_FROM_PACKAGE":"1","REMOTEDEBUGGINGVERSION":"16.0.28729.10","CRMRoleSyncRemovesUsers":"false","FUNCTIONS_RUNTIME_SCALE_MONITORING_ENABLED":"0","APPINSIGHTS_INSTRUMENTATIONKEY":"56be8923-4c68-4803-bd3b-7edb5524e362","AzureWebJobsDashboard":"DefaultEndpointsProtocol=https;AccountName=icetestprodttsa;AccountKey=xUCcWzf3+mZJy3uMGCV66uUz70ItQ3clEgLB+NBKad0B6cbDwfDuF5tvXM8cZRtx8fK2VOmjfCjXWrXiQbwP9Q==;EndpointSuffix=core.windows.net","WEBSITE_AUTH_AUTO_AAD":"False","WEBSITE_SITE_NAME":"example-func","WEBSITE_AUTH_TOKEN_REFRESH_HOURS":"72","ApiPermissionsSPNConnectionString":"{ \"ApplicationId\": \"4c91afb8-4198-4694-986f-57961e16ab60\", \"Password\": \"6.x1-2jnDf3vhf92aY.9yBCaV_jKvO6-zL\", \"TenantId\": \"***\" }","CRMRoleOnPremiseADDomain":"CorpTestNZ","Dynamics365URL":"https://testprodtt.crm6.dynamics.com","WEBSITE_AUTH_LOGOUT_PATH":"/.auth/logout","AzureWebJobsStorage":"DefaultEndpointsProtocol=https;AccountName=icetestprodttsa;AccountKey=xUCcWzf3+mZJy3uMGCV66uUz70ItQ3clEgLB+NBKad0B6cbDwfDuF5tvXM8cZRtx8fK2VOmjfCjXWrXiQbwP9Q==;EndpointSuffix=core.windows.net","WEBSITE_AUTH_DEFAULT_PROVIDER":"AzureActiveDirectory"}}
2021-01-10T08:33:30.8092615Z ##[debug]warmed up Kudu Service
2021-01-10T08:33:30.8093041Z Package deployment using ZIP Deploy initiated.
2021-01-10T08:33:30.8093561Z ##[debug]Azure_App_Service_Deploy_PackageArtifactAlias=function
2021-01-10T08:33:30.8094020Z ##[debug]release.releaseId=25150
2021-01-10T08:33:30.8094421Z ##[debug]release.releaseName=20210110.5
2021-01-10T08:33:30.8094945Z ##[debug]system.TeamFoundationCollectionUri=https://tfs.xxxxx.co.nz/WestpacCollection/
2021-01-10T08:33:30.8095519Z ##[debug]system.teamProjectId=25239e82-4929-46f0-8fcb-1c970c853788
2021-01-10T08:33:30.8095978Z ##[debug]release.requestedfor=Andrew Sumner
2021-01-10T08:33:30.8096424Z ##[debug]Artifact Source Alias is: function
2021-01-10T08:33:30.8096944Z ##[debug]release.artifacts.function.sourceVersion=48ff695afa6243bdc159eb8040fd1d25d4a2644e
2021-01-10T08:33:30.8097460Z ##[debug]release.artifacts.function.repository.provider=TfsGit
2021-01-10T08:33:30.8097952Z ##[debug]release.artifacts.function.repository.name=function
2021-01-10T08:33:30.8098439Z ##[debug]release.artifacts.function.sourcebranchname=master
2021-01-10T08:33:30.8098898Z ##[debug]release.artifacts.function.type=Build
2021-01-10T08:33:30.8099353Z ##[debug]release.artifacts.function.buildId=16478
2021-01-10T08:33:30.8099799Z ##[debug]release.artifacts.function.buildNumber=20210109.3
2021-01-10T08:33:30.8100311Z ##[debug]release.artifacts.function.projectId=25239e82-4929-46f0-8fcb-1c970c853788
2021-01-10T08:33:30.8100823Z ##[debug]build.buildUri=vstfs:///Build/Build/16478
2021-01-10T08:33:30.8102421Z ##[debug]release.releaseUri=vstfs:///ReleaseManagement/Release/25150
2021-01-10T08:33:30.8102998Z ##[debug]build.buildId=16478
2021-01-10T08:33:30.8103383Z ##[debug]release.releaseId=25150
2021-01-10T08:33:30.8103989Z ##[debug]build.buildNumber=20210109.3
2021-01-10T08:33:30.8104411Z ##[debug]release.releaseName=20210110.5
2021-01-10T08:33:30.8104936Z ##[debug]system.TeamFoundationCollectionUri=https://tfs.xxxxx.co.nz/WestpacCollection/
2021-01-10T08:33:30.8105472Z ##[debug]system.teamProjectId=25239e82-4929-46f0-8fcb-1c970c853788
2021-01-10T08:33:30.8105980Z ##[debug]build.sourceVersion=48ff695afa6243bdc159eb8040fd1d25d4a2644e
2021-01-10T08:33:30.8106463Z ##[debug]build.repository.name=function
2021-01-10T08:33:30.8106885Z ##[debug]build.repository.provider=TfsGit
2021-01-10T08:33:30.8107291Z ##[debug]system.teamproject=ICE
2021-01-10T08:33:30.8108331Z ##[debug]setting affinity cookie ["ARRAffinity=7575b6ea79014f4531024c73bde5884c60253897ee5227e9e9106ff4261be7b3;Path=/;HttpOnly;Secure;Domain=example-func.scm.azurewebsites.net:443","ARRAffinitySameSite=7575b6ea79014f4531024c73bde5884c60253897ee5227e9e9106ff4261be7b3;Path=/;HttpOnly;SameSite=None;Secure;Domain=example-func.scm.azurewebsites.net:443"]
2021-01-10T08:33:30.8111133Z ##[debug][POST]https://$example-func:***@example-func.scm.azurewebsites.net/api/zipdeploy?deployer=VSTS&message=%7B%22type%22%3A%22deployment%22%2C%22commitId%22%3A%2248ff695afa6243bdc159eb8040fd1d25d4a2644e%22%2C%22buildId%22%3A%2216478%22%2C%22releaseId%22%3A%2225150%22%2C%22buildNumber%22%3A%2220210109.3%22%2C%22releaseName%22%3A%2220210110.5%22%2C%22repoProvider%22%3A%22TfsGit%22%2C%22repoName%22%3A%22function%22%2C%22collectionUrl%22%3A%22https%3A%2F%2Ftfs.xxxxx.co.nz%2FWestpacCollection%2F%22%2C%22teamProject%22%3A%2225239e82-4929-46f0-8fcb-1c970c853788%22%2C%22buildProjectUrl%22%3A%22https%3A%2F%2Ftfs.xxxxx.co.nz%2FWestpacCollection%2F25239e82-4929-46f0-8fcb-1c970c853788%22%2C%22repositoryUrl%22%3A%22%22%2C%22branch%22%3A%22master%22%2C%22teamProjectName%22%3A%22ICE%22%2C%22slotName%22%3A%22production%22%7D
2021-01-10T08:33:51.8374099Z ##[debug]Encountered a retriable error:ETIMEDOUT. Message: connect ETIMEDOUT 13.77.50.96:443.
2021-01-10T08:33:53.8536623Z ##[debug][POST]https://$example-func:***@example-func.scm.azurewebsites.net/api/zipdeploy?deployer=VSTS&message=%7B%22type%22%3A%22deployment%22%2C%22commitId%22%3A%2248ff695afa6243bdc159eb8040fd1d25d4a2644e%22%2C%22buildId%22%3A%2216478%22%2C%22releaseId%22%3A%2225150%22%2C%22buildNumber%22%3A%2220210109.3%22%2C%22releaseName%22%3A%2220210110.5%22%2C%22repoProvider%22%3A%22TfsGit%22%2C%22repoName%22%3A%22function%22%2C%22collectionUrl%22%3A%22https%3A%2F%2Ftfs.xxxxx.co.nz%2FWestpacCollection%2F%22%2C%22teamProject%22%3A%2225239e82-4929-46f0-8fcb-1c970c853788%22%2C%22buildProjectUrl%22%3A%22https%3A%2F%2Ftfs.xxxxx.co.nz%2FWestpacCollection%2F25239e82-4929-46f0-8fcb-1c970c853788%22%2C%22repositoryUrl%22%3A%22%22%2C%22branch%22%3A%22master%22%2C%22teamProjectName%22%3A%22ICE%22%2C%22slotName%22%3A%22production%22%7D
2021-01-10T08:34:14.9300790Z ##[debug]Encountered a retriable error:ETIMEDOUT. Message: connect ETIMEDOUT 13.77.50.96:443.
2021-01-10T08:34:20.9630302Z ##[debug][POST]https://$example-func:***@example-func.scm.azurewebsites.net/api/zipdeploy?deployer=VSTS&message=%7B%22type%22%3A%22deployment%22%2C%22commitId%22%3A%2248ff695afa6243bdc159eb8040fd1d25d4a2644e%22%2C%22buildId%22%3A%2216478%22%2C%22releaseId%22%3A%2225150%22%2C%22buildNumber%22%3A%2220210109.3%22%2C%22releaseName%22%3A%2220210110.5%22%2C%22repoProvider%22%3A%22TfsGit%22%2C%22repoName%22%3A%22function%22%2C%22collectionUrl%22%3A%22https%3A%2F%2Ftfs.xxxxx.co.nz%2FWestpacCollection%2F%22%2C%22teamProject%22%3A%2225239e82-4929-46f0-8fcb-1c970c853788%22%2C%22buildProjectUrl%22%3A%22https%3A%2F%2Ftfs.xxxxx.co.nz%2FWestpacCollection%2F25239e82-4929-46f0-8fcb-1c970c853788%22%2C%22repositoryUrl%22%3A%22%22%2C%22branch%22%3A%22master%22%2C%22teamProjectName%22%3A%22ICE%22%2C%22slotName%22%3A%22production%22%7D
2021-01-10T08:34:42.0968680Z ##[debug]Encountered a retriable error:ETIMEDOUT. Message: connect ETIMEDOUT 13.77.50.96:443.
2021-01-10T08:34:56.1026654Z ##[debug][POST]https://$example-func:***@example-func.scm.azurewebsites.net/api/zipdeploy?deployer=VSTS&message=%7B%22type%22%3A%22deployment%22%2C%22commitId%22%3A%2248ff695afa6243bdc159eb8040fd1d25d4a2644e%22%2C%22buildId%22%3A%2216478%22%2C%22releaseId%22%3A%2225150%22%2C%22buildNumber%22%3A%2220210109.3%22%2C%22releaseName%22%3A%2220210110.5%22%2C%22repoProvider%22%3A%22TfsGit%22%2C%22repoName%22%3A%22function%22%2C%22collectionUrl%22%3A%22https%3A%2F%2Ftfs.xxxxx.co.nz%2FWestpacCollection%2F%22%2C%22teamProject%22%3A%2225239e82-4929-46f0-8fcb-1c970c853788%22%2C%22buildProjectUrl%22%3A%22https%3A%2F%2Ftfs.xxxxx.co.nz%2FWestpacCollection%2F25239e82-4929-46f0-8fcb-1c970c853788%22%2C%22repositoryUrl%22%3A%22%22%2C%22branch%22%3A%22master%22%2C%22teamProjectName%22%3A%22ICE%22%2C%22slotName%22%3A%22production%22%7D
2021-01-10T08:35:17.3351442Z ##[debug]Encountered a retriable error:ETIMEDOUT. Message: connect ETIMEDOUT 13.77.50.96:443.
2021-01-10T08:35:47.3533463Z ##[debug][POST]https://$example-func:***@example-func.scm.azurewebsites.net/api/zipdeploy?deployer=VSTS&message=%7B%22type%22%3A%22deployment%22%2C%22commitId%22%3A%2248ff695afa6243bdc159eb8040fd1d25d4a2644e%22%2C%22buildId%22%3A%2216478%22%2C%22releaseId%22%3A%2225150%22%2C%22buildNumber%22%3A%2220210109.3%22%2C%22releaseName%22%3A%2220210110.5%22%2C%22repoProvider%22%3A%22TfsGit%22%2C%22repoName%22%3A%22function%22%2C%22collectionUrl%22%3A%22https%3A%2F%2Ftfs.xxxxx.co.nz%2FWestpacCollection%2F%22%2C%22teamProject%22%3A%2225239e82-4929-46f0-8fcb-1c970c853788%22%2C%22buildProjectUrl%22%3A%22https%3A%2F%2Ftfs.xxxxx.co.nz%2FWestpacCollection%2F25239e82-4929-46f0-8fcb-1c970c853788%22%2C%22repositoryUrl%22%3A%22%22%2C%22branch%22%3A%22master%22%2C%22teamProjectName%22%3A%22ICE%22%2C%22slotName%22%3A%22production%22%7D
2021-01-10T08:36:08.5443262Z ##[debug]Processed: ##vso[task.logissue type=error;code=ETIMEDOUT;]
2021-01-10T08:36:08.5450336Z ##[error]Failed to deploy web package to App Service.
2021-01-10T08:36:08.5451217Z ##[debug]Processed: ##vso[task.issue type=error;]Failed to deploy web package to App Service.
2021-01-10T08:36:08.5453211Z ##[error]To debug further please check Kudu stack trace URL : https://$example-func:***@example-func.scm.azurewebsites.net/api/vfs/LogFiles/kudu/trace
2021-01-10T08:36:08.5454637Z ##[debug]Processed: ##vso[task.issue type=error;]To debug further please check Kudu stack trace URL : https://$example-func:***@example-func.scm.azurewebsites.net/api/vfs/LogFiles/kudu/trace
2021-01-10T08:36:08.5477791Z ##[debug]Deployment Failed with Error: Error: Error: Failed to deploy web package to App Service. Error: connect ETIMEDOUT 13.77.50.96:443
2021-01-10T08:36:08.5478537Z ##[debug]task result: Failed
2021-01-10T08:36:08.5479598Z ##[error]Error: Error: Failed to deploy web package to App Service. Error: connect ETIMEDOUT 13.77.50.96:443
2021-01-10T08:36:08.5480695Z ##[debug]Processed: ##vso[task.issue type=error;]Error: Error: Failed to deploy web package to App Service. Error: connect ETIMEDOUT 13.77.50.96:443
2021-01-10T08:36:08.5490776Z ##[debug]Processed: ##vso[task.complete result=Failed;]Error: Error: Failed to deploy web package to App Service. Error: connect ETIMEDOUT 13.77.50.96:443
2021-01-10T08:36:08.5498738Z ##[debug][GET]https://management.azure.com/subscriptions/a724b29b-ab3b-42dc-ab11-5c252397a687/providers/microsoft.insights/components?$filter=InstrumentationKey eq '56be8923-4c68-4803-bd3b-7edb5524e362'&api-version=2015-05-01
2021-01-10T08:36:09.8391335Z ##[debug]Correlation ID from ARM api call response : 76f476d8-9837-4ada-bc22-a44eeca53c12
2021-01-10T08:36:09.8392797Z ##[debug]Release.ReleaseUri=vstfs:///ReleaseManagement/Release/25150
2021-01-10T08:36:09.8393522Z ##[debug]Build.BuildUri=vstfs:///Build/Build/16478
2021-01-10T08:36:09.8394431Z ##[debug]Release.DefinitionName=function
2021-01-10T08:36:09.8394853Z ##[debug]Release.ReleaseName=20210110.5
2021-01-10T08:36:09.8395377Z ##[debug]Build.BuildUri=vstfs:///Build/Build/16478
2021-01-10T08:36:09.8396024Z ##[debug]Release.ReleaseWebUrl=https://tfs.xxxxx.co.nz/WestpacCollection/25239e82-4929-46f0-8fcb-1c970c853788/_release?releaseId=25150&_a=release-summary
2021-01-10T08:36:09.8396729Z ##[debug]System.TeamFoundationCollectionUri=https://tfs.xxxxx.co.nz/WestpacCollection/
2021-01-10T08:36:09.8397286Z ##[debug]System.TeamProjectId=25239e82-4929-46f0-8fcb-1c970c853788
2021-01-10T08:36:09.8397745Z ##[debug]build.buildId=16478
2021-01-10T08:36:09.8398433Z ##[debug][PUT]https://management.azure.com/subscriptions/a724b29b-ab3b-42dc-ab11-5c252397a687/resourceGroups/ice-TestProdTT-rg/providers/microsoft.insights/components/ice-testprodtt-insights/Annotations?api-version=2015-05-01
2021-01-10T08:36:11.2961320Z ##[debug]Correlation ID from ARM api call response : 0a77ecdf-f691-49c4-bef2-c32e7eefc37a
2021-01-10T08:36:11.2967902Z ##[debug]addReleaseAnnotation. Data : {"statusCode":200,"statusMessage":"OK","headers":{"cache-control":"no-cache","pragma":"no-cache","content-length":"361","content-type":"application/json; charset=utf-8","expires":"-1","x-ms-request-id":"17da9e6c-30b1-4111-8e54-e3c406fb1d2a","x-content-type-options":"nosniff","request-context":"appId=cid-v1:920e14b1-13f3-461a-a4bb-b4fe6f1a4525","access-control-expose-headers":"Request-Context","strict-transport-security":"max-age=31536000; includeSubDomains","server":"Microsoft-IIS/10.0","x-powered-by":"ASP.NET","x-ms-ratelimit-remaining-subscription-writes":"1199","x-ms-correlation-request-id":"0a77ecdf-f691-49c4-bef2-c32e7eefc37a","x-ms-routing-request-id":"AUSTRALIAEAST:20210110T083611Z:0a77ecdf-f691-49c4-bef2-c32e7eefc37a","date":"Sun, 10 Jan 2021 08:36:10 GMT"},"body":[{"AnnotationName":"function - 20210110.5","Id":"add14e4e-c8f5-40de-8dd3-bd3e602bb304","Category":"Text","Properties":"{\"Label\":\"Error\",\"Deployment Uri\":\"https://tfs.xxxxx.co.nz/WestpacCollection/25239e82-4929-46f0-8fcb-1c970c853788/_release?releaseId=25150&_a=release-summary\"}","EventTime":"2021-01-10T08:36:09.833+00:00","RelatedAnnotation":null}]}
2021-01-10T08:36:11.2971908Z Successfully added release annotation to the Application Insight : ice-testprodtt-insights
2021-01-10T08:36:11.2972949Z ##[debug][POST]https://management.azure.com/subscriptions/a724b29b-ab3b-42dc-ab11-5c252397a687/resourceGroups/ice-TestProdTT-rg/providers/Microsoft.Web/sites/example-func/publishxml?api-version=2016-08-01
2021-01-10T08:36:11.8682699Z ##[debug]Could not parse response: {}
2021-01-10T08:36:11.8684706Z ##[debug]Response: undefined
2021-01-10T08:36:11.8689584Z ##[debug]Correlation ID from ARM api call response : 30ff1d92-c849-434b-b47b-08739bdb7bd2
2021-01-10T08:36:11.8692168Z App Service Application URL: https://example-func.azurewebsites.net
2021-01-10T08:36:11.8714127Z ##[debug]set AppServiceApplicationUrl=https://example-func.azurewebsites.net
2021-01-10T08:36:11.8757749Z ##[debug]Processed: ##vso[task.setvariable variable=AppServiceApplicationUrl;issecret=false;]https://example-func.azurewebsites.net
2021-01-10T08:36:11.8760686Z ##[debug]Deployment failed
2021-01-10T08:36:11.8764921Z ##[section]Finishing: Azure Function App Deploy: $(function_app_name)
AmrutaKawade commented 3 years ago

@andrew-sumner Can you try adding two new environment variables HTTP_PROXY and HTTPS_PROXY and set it to proxy?

andrew-sumner commented 3 years ago

I already do that.

If I set those variables via a powershell task in the pipeline this task works.

If I set them as environment variables on the server this task fails, however other tasks that require the proxy work.

AmrutaKawade commented 3 years ago

@andrew-sumner if you check your first log and second log after adding proxy settings in .proxy and .proxybypass Agent.ProxyUrl value is properly set. In initial log it was undefined. also error has changed

Terraform task uses terraform cli to run commands and FunctionApp task uses nodejs to make webrequest

I think this issue is particularly when nodejs is used. here https://github.com/microsoft/azure-pipelines-tasks/blob/f462aeacedf56ceeeacd3d29027471a59573eaee/Tasks/Common/AzureRmDeploy-common/azure-arm-rest/webClient.ts#L7 we are using Agent.ProxyUrl while making web request

What is your agent version after upgrading server https://github.com/microsoft/azure-pipelines-agent? Have you restarted your machine after setting environment variable? Also both tasks are running on same machine or different machine? Have you tried using different machine to run this task?

andrew-sumner commented 3 years ago

What is your agent version after upgrading server https://github.com/microsoft/azure-pipelines-agent? Agent Version is 2.170.1 Have you restarted your machine after setting environment variable? No, but I did restart the agent Also both tasks are running on same machine or different machine? Tasks run on same machine Have you tried using different machine to run this task? Yes - 3 different machines

andrew-sumner commented 3 years ago

Azure DevOps Server Version is Dev18.M170.6

20shivangi commented 3 years ago

@andrew-sumner 407 means Proxy authentication required so means task is failing to authenticate successfully with their proxy server. Are you using proxy password. If so, then if the proxy password has \ or any other special character in it, it may fail. Please confirm if your proxy password is also using these characters.

20shivangi commented 3 years ago

@andrew-sumner Are you still facing the issue ? Any update here ?

20shivangi commented 3 years ago

@andrew-sumner Any update here ?

andrew-sumner commented 3 years ago

Haven't had a chance to look at this again, will get to it soon.

andrew-sumner commented 3 years ago

@20shivangi the proxy password doesn't have any special characters.

As I said earlier if I set the http(s)_proxy variables via a powershell script, eg Write-Host ("##vso[task.setvariable variable=HTTPS_PROXY]http://domain%5Cusername:password@proxy.co.nz}"), this task works fine. If I set it via an environment variable this task will not pick it up while other tasks do.

I have also found the the Power Platform Tools installer completely ignores the credentials part of the proxy settings (see https://github.com/MicrosoftDocs/power-platform/issues/625 ).

I find it ironic that the only tasks that I'm having problems with getting through the proxy are those developed by microsoft ;-)

andrew-sumner commented 3 years ago

I found some articles stating that Node.js proxy support is somewhat problematic. How does this task pass proxy settings to Node.js and do you think setting GLOBAL_AGENT_HTTP_PROXY would help at all?

https://stackoverflow.com/questions/37688508/make-node-js-use-http-proxy-https-proxy-and-no-proxy-environment-variables https://github.com/gajus/global-agent

chshrikh commented 3 years ago

with current design our task does not honour the proxy settings from agent, we need to make this task enhancement to support this scenario

brunodefrancavalli commented 2 years ago

Has this enhancement been done?

andrew-sumner commented 2 years ago

I'm still impacted by this issue.

If I have HTTPS_PROXY & NO_PROXY environment variables set on the machine the deployment fails, but if I set them in the pipeline using Write-Host ("##vso[task.setvariable variable=HTTPS_PROXY]${proxyurl}") the deployment works.

As far as I can tell this is the only task I have this problem with so it's making management of all pipelines considerably more painful than it needs to be :-(.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

andrew-sumner commented 1 year ago

This is still an issue that causes endless frustration in our pipelines.

FinVamp1 commented 1 year ago

Hello, this isn't Functions specific so I'll remove the label from here.

bidekani commented 1 year ago

I have the same issue, with the Telemetry even I disabled the telemetry it fails behind proxy behind proxy:

[ERROR] Failed to execute goal com.microsoft.azure:azure-functions-maven-plugin:1.24.0:package (package-functions) on project backendapiservice: Execution package-functions of goal com.microsoft.azure:azur e-functions-maven-plugin:1.24.0:package failed: Cannot invoke "com.microsoft.azure.toolkit.lib.common.telemetry.AzureTelemetryClient.trackEvent(String, java.util.Map)" because "this.telemetryProxy" is null

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

andrew-sumner commented 1 year ago

Still an issue, required fixing, not closing.

wkz123 commented 1 year ago

Yes, please fix... And thank you so much @andrew-sumner for the idea to set env variables in pipeline as well. Going crazy with all the issues of different implementations of proxy config...

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days