microsoft / azure-pipelines-tasks

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

AzureFunctionAppContainer@1 Error: Failed to update deployment history. Error: Service Unavailable (CODE: 503) #16695

Closed mehighlow closed 1 year ago

mehighlow commented 2 years ago

Type: Bug

Enter Task Name: AzureFunctionAppContainer@1

Environment

Azure Pipelines

Azure Function App v4, Docker container, App service plan EP1/EP2

Issue Description

AzureFunctionAppContainer@1 at some point(a few clean runs after the infrastructure has been re-created) starts to fail to deploy a docker image to a staging slot. Any further re-run fails with the same error until infrastructure(staging slot) is re-created again. No Azure object manual/auto manipulations between runs.

Azure Pipelines Stage:

- stage: DeployStagingContainer
  displayName: Deploy to Staging Slot
  dependsOn:
    - 'IaCPlan'
    - 'IaCApply'
    - 'BuildAndPushApp'
  jobs:
  - job: deploy_container
    displayName: Deploy Container to Staging Slot
    pool:
      vmImage: ${{ parameters.vmImage }}
    variables: 
      #  var_name: $[stageDependencies.STAGE.JOB.outputs['TASK.VARIABLE']]
      function_app_name: $[stageDependencies.IaCPlan.Terraform.outputs['extractVars.function_app_name']]
      function_rg: $[stageDependencies.IaCPlan.Terraform.outputs['extractVars.function_rg']]
      function_slot_name: $[stageDependencies.IaCPlan.Terraform.outputs['extractVars.function_slot_name']]    
    steps:
      - checkout: none

      - download: none

      - task: AzureFunctionAppContainer@1
        displayName: Deploy Container to Staging Slot 
        inputs:
          azureSubscription: ${{ parameters.serviceConnection }}
          deployToSlotOrASE: true
          resourceGroupName: $(function_rg)
          appName: $(function_app_name)
          slotName: $(function_slot_name)
          imageName: ${{ parameters.acrName }}/${{ parameters.funcImageName }}:$(Build.SourceBranchName)

      - bash: |
          echo "##vso[task.logissue type=warning]Check Staging Application - https://$(function_app_name)-$(function_slot_name).azurewebsites.net/api/REDACTED - Before Deploying to Production!"
        name: displayWarning
        displayName: Display Staging Warning
Screenshot 2022-08-05 at 18 01 18

A step is being marked as successful (Deployment Succeded, green check), however, the endpoint doesn't work.

Task logs

clean run before the task starts to fail:

2022-08-03T18:21:31.6985614Z ##[debug]Evaluating condition for step: 'Deploy Container to Staging Slot'
2022-08-03T18:21:31.6986867Z ##[debug]Evaluating: SucceededNode()
2022-08-03T18:21:31.6987267Z ##[debug]Evaluating SucceededNode:
2022-08-03T18:21:31.6987898Z ##[debug]=> True
2022-08-03T18:21:31.6988282Z ##[debug]Result: True
2022-08-03T18:21:31.6988706Z ##[section]Starting: Deploy Container to Staging Slot
2022-08-03T18:21:31.6996610Z ==============================================================================
2022-08-03T18:21:31.6996939Z Task         : Azure Functions for container
2022-08-03T18:21:31.6997226Z Description  : Update a function app with a Docker container
2022-08-03T18:21:31.6997465Z Version      : 1.198.0
2022-08-03T18:21:31.6997670Z Author       : Microsoft Corporation
2022-08-03T18:21:31.6997946Z Help         : https://aka.ms/azurefunctioncontainertroubleshooting
2022-08-03T18:21:31.6998293Z ==============================================================================
2022-08-03T18:21:31.7183982Z ##[debug]Using node path: /home/vsts/agents/2.206.1/externals/node10/bin/node
2022-08-03T18:21:31.8222875Z ##[debug]agent.TempDirectory=/home/vsts/work/_temp
2022-08-03T18:21:31.8243592Z ##[debug]loading inputs and endpoints
2022-08-03T18:21:31.8251332Z ##[debug]loading INPUT_AZURESUBSCRIPTION
2022-08-03T18:21:31.8264604Z ##[debug]loading INPUT_APPNAME
2022-08-03T18:21:31.8266439Z ##[debug]loading INPUT_DEPLOYTOSLOTORASE
2022-08-03T18:21:31.8268082Z ##[debug]loading INPUT_RESOURCEGROUPNAME
2022-08-03T18:21:31.8270417Z ##[debug]loading INPUT_SLOTNAME
2022-08-03T18:21:31.8272705Z ##[debug]loading INPUT_IMAGENAME
2022-08-03T18:21:31.8277181Z ##[debug]loading ENDPOINT_AUTH_REDACTED
2022-08-03T18:21:31.8279042Z ##[debug]loading ENDPOINT_AUTH_SCHEME_REDACTED
2022-08-03T18:21:31.8281628Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_REDACTED_TENANTID
2022-08-03T18:21:31.8282590Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_REDACTED_SERVICEPRINCIPALID
2022-08-03T18:21:31.8283600Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_REDACTED_AUTHENTICATIONTYPE
2022-08-03T18:21:31.8285421Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_REDACTED_SERVICEPRINCIPALKEY
2022-08-03T18:21:31.8287127Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2022-08-03T18:21:31.8287842Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2022-08-03T18:21:31.8288611Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2022-08-03T18:21:31.8289344Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN
2022-08-03T18:21:31.8290802Z ##[debug]loaded 16
2022-08-03T18:21:31.8292907Z ##[debug]Agent.ProxyUrl=undefined
2022-08-03T18:21:31.8293566Z ##[debug]Agent.CAInfo=undefined
2022-08-03T18:21:31.8294206Z ##[debug]Agent.ClientCert=undefined
2022-08-03T18:21:31.8294857Z ##[debug]Agent.SkipCertValidation=undefined
2022-08-03T18:21:31.8543175Z ##[debug]agent.proxyurl=undefined
2022-08-03T18:21:31.8544029Z ##[debug]VSTS_ARM_REST_IGNORE_SSL_ERRORS=undefined
2022-08-03T18:21:31.8545384Z ##[debug]AZURE_HTTP_USER_AGENT=VSTS_3635cfa2-79ea-43af-94e6-b09871092562_build_673_0
2022-08-03T18:21:31.9694308Z ##[debug]Agent.TempDirectory=/home/vsts/work/_temp
2022-08-03T18:21:31.9901737Z ##[debug]check path : /home/vsts/work/_tasks/AzureFunctionAppContainer_13c22ce0-3b93-43f9-aeb7-71fbce7bf5b2/1.198.0/task.json
2022-08-03T18:21:31.9903757Z ##[debug]adding resource file: /home/vsts/work/_tasks/AzureFunctionAppContainer_13c22ce0-3b93-43f9-aeb7-71fbce7bf5b2/1.198.0/task.json
2022-08-03T18:21:31.9904665Z ##[debug]system.culture=en-US
2022-08-03T18:21:31.9921814Z ##[debug]check path : /home/vsts/work/_tasks/AzureFunctionAppContainer_13c22ce0-3b93-43f9-aeb7-71fbce7bf5b2/1.198.0/node_modules/azure-pipelines-tasks-azurermdeploycommon/module.json
2022-08-03T18:21:31.9923154Z ##[debug]adding resource file: /home/vsts/work/_tasks/AzureFunctionAppContainer_13c22ce0-3b93-43f9-aeb7-71fbce7bf5b2/1.198.0/node_modules/azure-pipelines-tasks-azurermdeploycommon/module.json
2022-08-03T18:21:31.9924464Z ##[debug]system.culture=en-US
2022-08-03T18:21:31.9947064Z ##[debug]azureSubscription=REDACTED
2022-08-03T18:21:31.9948046Z ##[debug]imageName=REDACTED.azurecr.io/REDACTED:REDACTED
2022-08-03T18:21:31.9948786Z ##[debug]appSettings=undefined
2022-08-03T18:21:31.9951067Z ##[debug]containerCommand=undefined
2022-08-03T18:21:31.9951755Z ##[debug]configurationStrings=undefined
2022-08-03T18:21:31.9952521Z ##[debug]appName=REDACTED
2022-08-03T18:21:31.9953145Z ##[debug]resourceGroupName=REDACTED
2022-08-03T18:21:31.9953827Z ##[debug]slotName=staging
2022-08-03T18:21:31.9954447Z ##[debug]deployToSlotOrASE=true
2022-08-03T18:21:32.0414696Z ##[debug]Processed: ##vso[telemetry.publish area=TaskEndpointId;feature=AzureRmWebAppDeployment]{"endpointId":"REDACTED"}
2022-08-03T18:21:32.0416161Z ##[debug]Predeployment Step Started
2022-08-03T18:21:32.0417403Z ##[debug]REDACTED auth scheme = ServicePrincipal
2022-08-03T18:21:32.0418397Z ##[debug]REDACTED data subscriptionid = REDACTED
2022-08-03T18:21:32.0419744Z ##[debug]REDACTED data subscriptionname = REDACTED
2022-08-03T18:21:32.0421068Z ##[debug]REDACTED auth param serviceprincipalid = ***
2022-08-03T18:21:32.0422060Z ##[debug]REDACTED data environmentAuthorityUrl = https://login.windows.net/
2022-08-03T18:21:32.0423034Z ##[debug]REDACTED auth param tenantid = REDACTED
2022-08-03T18:21:32.0423954Z ##[debug]REDACTED=https://management.azure.com/
2022-08-03T18:21:32.0424836Z ##[debug]REDACTED data environment = AzureCloud
2022-08-03T18:21:32.0425706Z ##[debug]REDACTED auth scheme = ServicePrincipal
2022-08-03T18:21:32.0426574Z ##[debug]REDACTED data msiclientId = undefined
2022-08-03T18:21:32.0427560Z ##[debug]REDACTED data activeDirectoryServiceEndpointResourceId = https://management.core.windows.net/
2022-08-03T18:21:32.0428602Z ##[debug]REDACTED data AzureKeyVaultServiceEndpointResourceId = https://vault.azure.net
2022-08-03T18:21:32.0429577Z ##[debug]REDACTED data AzureKeyVaultDnsSuffix = vault.azure.net
2022-08-03T18:21:32.0430503Z ##[debug]REDACTED auth param authenticationType = spnKey
2022-08-03T18:21:32.0431223Z ##[debug]credentials spn endpoint
2022-08-03T18:21:32.0432349Z ##[debug]REDACTED auth param serviceprincipalkey = ***
2022-08-03T18:21:32.0433283Z ##[debug]REDACTED data EnableAdfsAuthentication = false
2022-08-03T18:21:32.0436322Z ##[debug]{"subscriptionID":"REDACTED","subscriptionName":"REDACTED","servicePrincipalClientID":"***","environmentAuthorityUrl":"https://login.windows.net/","tenantID":"REDACTED","url":"https://management.azure.com/","environment":"AzureCloud","scheme":"ServicePrincipal","activeDirectoryResourceID":"https://management.azure.com/","azureKeyVaultServiceEndpointResourceId":"https://vault.azure.net","azureKeyVaultDnsSuffix":"vault.azure.net","authenticationType":"spnKey","servicePrincipalKey":***,"isADFSEnabled":false,"applicationTokenCredentials":{"clientId":"***","domain":"REDACTED","baseUrl":"https://management.azure.com/","authorityUrl":"https://login.windows.net/","activeDirectoryResourceId":"https://management.azure.com/","isAzureStackEnvironment":false,"authType":"spnKey","secret":***,"isADFSEnabled":false}}
2022-08-03T18:21:32.0439084Z Got service connection details for Azure App Service:'REDACTED'
2022-08-03T18:21:32.0439948Z ##[debug][POST]https://login.windows.net/REDACTED/oauth2/token/
2022-08-03T18:21:32.2458523Z ##[debug][POST]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/slots/staging/config/REDACTED/list?api-version=2016-08-01
2022-08-03T18:21:33.3318592Z ##[debug]Correlation ID from ARM api call response : b20a4ef6-0d77-49a3-a3e9-c6df3c85bd92
2022-08-03T18:21:33.3322896Z ##[debug]set AZURE_APP_SERVICE_KUDU_staging_PASSWORD=********
2022-08-03T18:21:33.3343404Z ##[debug]Processed: ##vso[task.setvariable variable=AZURE_APP_SERVICE_KUDU_staging_PASSWORD;isOutput=false;issecret=true;]***
2022-08-03T18:21:33.3344627Z ##[debug]Resource Group: REDACTED
2022-08-03T18:21:33.3345360Z ##[debug]is Linux container web app: true
2022-08-03T18:21:33.3346080Z ##[debug]Deployment Step Started
2022-08-03T18:21:33.3346834Z ##[debug]Performing container based deployment.
2022-08-03T18:21:33.3348246Z ##[debug]Deploying image REDACTED.azurecr.io/REDACTED:REDACTED to the webapp REDACTED
2022-08-03T18:21:33.3349079Z ##[debug]Updating the webapp configuration.
2022-08-03T18:21:33.3350093Z ##[debug]CONTAINER UPDATE CONFIG VALUES : {"appCommandLine":{"value":null},"linuxFxVersion":{"value":"DOCKER|REDACTED.azurecr.io/REDACTED:REDACTED"}}
2022-08-03T18:21:33.3351348Z Trying to update App Service Configuration settings. Data: {"appCommandLine":null,"linuxFxVersion":"DOCKER|REDACTED.azurecr.io/REDACTED:REDACTED"}
2022-08-03T18:21:33.3352583Z ##[debug][PATCH]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/slots/staging/config/web?api-version=2018-02-01
2022-08-03T18:21:45.3353008Z ##[debug]Correlation ID from ARM api call response : 0c94203a-6b0f-4fc3-bebd-ef4a2b3a0db9
2022-08-03T18:21:45.3354859Z Updated App Service Configuration settings.
2022-08-03T18:21:45.3356482Z ##[debug]making a restart request to app service
2022-08-03T18:21:45.3358060Z Restarting App Service: REDACTED-staging
2022-08-03T18:21:45.3360334Z ##[debug][POST]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/slots/staging/restart?api-version=2016-08-01
2022-08-03T18:21:46.9185991Z ##[debug]Correlation ID from ARM api call response : c78f58ee-4caf-4852-b0ec-3d30ef983741
2022-08-03T18:21:46.9187861Z App Service 'REDACTED-staging' restarted successfully.
2022-08-03T18:21:46.9188811Z Trying to update App Service Application settings. Data: {"WEBSITES_ENABLE_APP_SERVICE_STORAGE":"false"}
2022-08-03T18:21:46.9191014Z ##[debug][POST]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/slots/staging/config/appsettings/list?api-version=2016-08-01
2022-08-03T18:21:47.1906644Z ##[debug]Correlation ID from ARM api call response : 880a3442-6fc7-46d4-97dd-15bb49bf53b9
2022-08-03T18:21:47.1912017Z ##[debug]WEBSITES_ENABLE_APP_SERVICE_STORAGE is already present.
2022-08-03T18:21:47.1913140Z App Service Application settings are already present.
2022-08-03T18:21:47.1915258Z ##[debug][GET]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/config/slotConfigNames?api-version=2016-08-01
2022-08-03T18:21:47.9937912Z ##[debug]Correlation ID from ARM api call response : c0892e15-4231-44d1-a302-198a201f7695
2022-08-03T18:21:47.9957306Z ##[debug][PUT]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/config/slotConfigNames?api-version=2016-08-01
2022-08-03T18:21:49.2118406Z ##[debug]Correlation ID from ARM api call response : 77df2343-32c8-46d4-96f3-e177a70728fa
2022-08-03T18:21:49.2145808Z ##[debug][GET]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/slots/staging/config/web?api-version=2018-02-01
2022-08-03T18:21:49.9080277Z ##[debug]Correlation ID from ARM api call response : 27373fd1-4af6-4620-bec3-0d459d1ab556
2022-08-03T18:21:49.9096121Z ##[debug]SCM Type is VSTSRM
2022-08-03T18:21:49.9107301Z ##[debug]Updating metadata with latest pipeline details
2022-08-03T18:21:49.9108740Z ##[debug]system.teamfoundationCollectionUri=https://dev.azure.com/REDACTED/
2022-08-03T18:21:49.9110515Z ##[debug]system.teamprojectId=REDACTED
2022-08-03T18:21:49.9111701Z ##[debug]release.definitionId=undefined
2022-08-03T18:21:49.9113001Z ##[debug]system.collectionId=3635cfa2-79ea-43af-94e6-b09871092562
2022-08-03T18:21:49.9114328Z ##[debug]system.definitionId=673
2022-08-03T18:21:49.9116685Z ##[debug][POST]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/slots/staging/config/metadata/list?api-version=2016-08-01
2022-08-03T18:21:50.7825577Z ##[debug]Correlation ID from ARM api call response : 277dee34-f986-40d1-941b-8d7f4937d7f2
2022-08-03T18:21:50.7838555Z ##[debug]No changes in metadata properties, skipping update.
2022-08-03T18:21:50.7840244Z ##[debug]Application Insights is not configured for the App Service. Skipping adding release annotation.
2022-08-03T18:21:50.7841846Z ##[debug]Azure_App_Service_Deploy_PackageArtifactAlias=undefined
2022-08-03T18:21:50.7842969Z ##[debug]release.releaseId=undefined
2022-08-03T18:21:50.7843690Z ##[debug]release.releaseName=undefined
2022-08-03T18:21:50.7844470Z ##[debug]system.TeamFoundationCollectionUri=https://dev.azure.com/REDACTED/
2022-08-03T18:21:50.7845718Z ##[debug]system.teamProjectId=REDACTED
2022-08-03T18:21:50.7846500Z ##[debug]build.requestedfor=REDACTED
2022-08-03T18:21:50.7847208Z ##[debug]build.buildId=82940
2022-08-03T18:21:50.7847885Z ##[debug]build.buildNumber=2022080332
2022-08-03T18:21:50.7848654Z ##[debug]build.sourceVersion=a66cfe9f53134673997f8fb768250eb1d2f8e8b3
2022-08-03T18:21:50.7849761Z ##[debug]build.repository.name=REDACTED-as-a-function
2022-08-03T18:21:50.7850502Z ##[debug]build.repository.provider=TfsGit
2022-08-03T18:21:50.7851476Z ##[debug]build.repository.uri=https://REDACTED@dev.azure.com/REDACTED/REDACTED/_git/REDACTED-as-a-function
2022-08-03T18:21:50.7852548Z ##[debug]build.sourcebranchname=pipelines-staging-debug
2022-08-03T18:21:50.7853321Z ##[debug]build.buildUri=vstfs:///Build/Build/82940
2022-08-03T18:21:50.7854035Z ##[debug]release.releaseUri=undefined
2022-08-03T18:21:50.7854727Z ##[debug]build.buildId=82940
2022-08-03T18:21:50.7855407Z ##[debug]release.releaseId=undefined
2022-08-03T18:21:50.7856101Z ##[debug]build.buildNumber=2022080332
2022-08-03T18:21:50.7856810Z ##[debug]release.releaseName=undefined
2022-08-03T18:21:50.7857581Z ##[debug]system.TeamFoundationCollectionUri=https://dev.azure.com/REDACTED/
2022-08-03T18:21:50.7858510Z ##[debug]system.teamProjectId=REDACTED
2022-08-03T18:21:50.7859680Z ##[debug]build.sourceVersion=a66cfe9f53134673997f8fb768250eb1d2f8e8b3
2022-08-03T18:21:50.7860611Z ##[debug]build.repository.name=REDACTED-as-a-function
2022-08-03T18:21:50.7861346Z ##[debug]build.repository.provider=TfsGit
2022-08-03T18:21:50.7862102Z ##[debug]system.teamproject=REDACTED
2022-08-03T18:21:50.7864966Z ##[debug][PUT]https://$REDACTED__staging:***@REDACTED-staging.scm.azurewebsites.net/api/deployments/829401659550910783
2022-08-03T18:21:53.5535651Z ##[debug]loaded affinity cookie ["ARRAffinity=38710cdc3237b1ee8eefd1c50beca95520f80d96ea7cd5209d04669b4031ab6d;Path=/;HttpOnly;Secure;Domain=REDACTED-staging.scm.azurewebsites.net","ARRAffinitySameSite=38710cdc3237b1ee8eefd1c50beca95520f80d96ea7cd5209d04669b4031ab6d;Path=/;HttpOnly;SameSite=None;Secure;Domain=REDACTED-staging.scm.azurewebsites.net"]
2022-08-03T18:21:53.5553330Z ##[debug]updateDeployment. Data: {"statusCode":200,"statusMessage":"OK","headers":{"content-length":"1202","connection":"close","content-type":"application/json; charset=utf-8","date":"Wed, 03 Aug 2022 18:21:53 GMT","server":"Kestrel","set-cookie":["ARRAffinity=38710cdc3237b1ee8eefd1c50beca95520f80d96ea7cd5209d04669b4031ab6d;Path=/;HttpOnly;Secure;Domain=REDACTED-staging.scm.azurewebsites.net","ARRAffinitySameSite=38710cdc3237b1ee8eefd1c50beca95520f80d96ea7cd5209d04669b4031ab6d;Path=/;HttpOnly;SameSite=None;Secure;Domain=REDACTED-staging.scm.azurewebsites.net"]},"body":{"id":"829401659550910783","status":4,"status_text":null,"author_email":null,"author":"REDACTED","deployer":"VSTS","message":"{\"type\":\"Deployment\",\"commitId\":\"a66cfe9f53134673997f8fb768250eb1d2f8e8b3\",\"buildId\":\"82940\",\"buildNumber\":\"2022080332\",\"repoProvider\":\"TfsGit\",\"repoName\":\"REDACTED-as-a-function\",\"collectionUrl\":\"https://dev.azure.com/REDACTED/\",\"teamProject\":\"REDACTED\",\"buildProjectUrl\":\"https://dev.azure.com/REDACTED/REDACTED\",\"repositoryUrl\":\"https://REDACTED@dev.azure.com/REDACTED/REDACTED/_git/REDACTED-as-a-function\",\"branch\":\"pipelines-staging-debug\",\"teamProjectName\":\"REDACTED\",\"slotName\":\"staging\"}","progress":null,"received_time":"0001-01-01T00:00:00","start_time":"2022-08-03T18:21:51.8646115Z","end_time":"2022-08-03T18:21:51.8646115Z","last_success_end_time":null,"complete":false,"active":true,"is_temp":false,"is_readonly":false,"url":"https://REDACTED-staging.scm.azurewebsites.net/api/deployments/829401659550910783","log_url":"https://REDACTED-staging.scm.azurewebsites.net/api/deployments/829401659550910783/log","site_name":null}}
2022-08-03T18:21:53.5560834Z Successfully updated deployment History at https://REDACTED-staging.scm.azurewebsites.net/api/deployments/829401659550910783
2022-08-03T18:21:53.5567809Z ##[debug]Active DeploymentId :829401659550910783
2022-08-03T18:21:53.5569136Z ##[debug][POST]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/slots/staging/publishxml?api-version=2016-08-01
2022-08-03T18:21:54.4004269Z ##[debug]Could not parse response: {}
2022-08-03T18:21:54.4009862Z ##[debug]Response: undefined
2022-08-03T18:21:54.4011825Z ##[debug]Correlation ID from ARM api call response : a2824a15-3345-415f-9021-8b7438d4c51b
2022-08-03T18:21:54.4061710Z App Service Application URL: http://REDACTED-staging.azurewebsites.net
2022-08-03T18:21:54.4063410Z ##[debug]set AppServiceApplicationUrl=http://REDACTED-staging.azurewebsites.net
2022-08-03T18:21:54.4076189Z ##[debug]Processed: ##vso[task.setvariable variable=AppServiceApplicationUrl;isOutput=false;issecret=false;]http://REDACTED-staging.azurewebsites.net
2022-08-03T18:21:54.4077983Z ##[debug]Deployment Succeded
2022-08-03T18:21:54.4130625Z ##[section]Finishing: Deploy Container to Staging Slot

Next run/Any further runs end/s with the 503 error:

Screenshot 2022-08-05 at 18 01 18

Debug:

2022-08-05T15:56:00.7169142Z ##[debug]Evaluating condition for step: 'Deploy Container to Staging Slot'
2022-08-05T15:56:00.7170819Z ##[debug]Evaluating: SucceededNode()
2022-08-05T15:56:00.7171372Z ##[debug]Evaluating SucceededNode:
2022-08-05T15:56:00.7172337Z ##[debug]=> True
2022-08-05T15:56:00.7172914Z ##[debug]Result: True
2022-08-05T15:56:00.7173435Z ##[section]Starting: Deploy Container to Staging Slot
2022-08-05T15:56:00.7193768Z ==============================================================================
2022-08-05T15:56:00.7194140Z Task         : Azure Functions for container
2022-08-05T15:56:00.7194450Z Description  : Update a function app with a Docker container
2022-08-05T15:56:00.7194733Z Version      : 1.198.0
2022-08-05T15:56:00.7194962Z Author       : Microsoft Corporation
2022-08-05T15:56:00.7195255Z Help         : https://aka.ms/azurefunctioncontainertroubleshooting
2022-08-05T15:56:00.7195611Z ==============================================================================
2022-08-05T15:56:00.7381662Z ##[debug]Using node path: /home/vsts/agents/2.206.1/externals/node10/bin/node
2022-08-05T15:56:01.3993856Z ##[debug]agent.TempDirectory=/home/vsts/work/_temp
2022-08-05T15:56:01.4004082Z ##[debug]loading inputs and endpoints
2022-08-05T15:56:01.4005069Z ##[debug]loading INPUT_AZURESUBSCRIPTION
2022-08-05T15:56:01.4005929Z ##[debug]loading INPUT_APPNAME
2022-08-05T15:56:01.4006863Z ##[debug]loading INPUT_DEPLOYTOSLOTORASE
2022-08-05T15:56:01.4007706Z ##[debug]loading INPUT_RESOURCEGROUPNAME
2022-08-05T15:56:01.4008545Z ##[debug]loading INPUT_SLOTNAME
2022-08-05T15:56:01.4009590Z ##[debug]loading INPUT_IMAGENAME
2022-08-05T15:56:01.4011067Z ##[debug]loading ENDPOINT_AUTH_REDACTED
2022-08-05T15:56:01.4012224Z ##[debug]loading ENDPOINT_AUTH_SCHEME_REDACTED
2022-08-05T15:56:01.4013395Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_REDACTED_TENANTID
2022-08-05T15:56:01.4014620Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_REDACTED_SERVICEPRINCIPALID
2022-08-05T15:56:01.4015887Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_REDACTED_AUTHENTICATIONTYPE
2022-08-05T15:56:01.4017135Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_REDACTED_SERVICEPRINCIPALKEY
2022-08-05T15:56:01.4018148Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2022-08-05T15:56:01.4019051Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2022-08-05T15:56:01.4020021Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2022-08-05T15:56:01.4020934Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN
2022-08-05T15:56:01.4021730Z ##[debug]loaded 16
2022-08-05T15:56:01.4022517Z ##[debug]Agent.ProxyUrl=undefined
2022-08-05T15:56:01.4023323Z ##[debug]Agent.CAInfo=undefined
2022-08-05T15:56:01.4024136Z ##[debug]Agent.ClientCert=undefined
2022-08-05T15:56:01.4024985Z ##[debug]Agent.SkipCertValidation=undefined
2022-08-05T15:56:01.4025811Z ##[debug]agent.proxyurl=undefined
2022-08-05T15:56:01.4027091Z ##[debug]VSTS_ARM_REST_IGNORE_SSL_ERRORS=undefined
2022-08-05T15:56:01.4028271Z ##[debug]AZURE_HTTP_USER_AGENT=VSTS_3635cfa2-79ea-43af-94e6-b09871092562_build_673_0
2022-08-05T15:56:01.4029255Z ##[debug]Agent.TempDirectory=/home/vsts/work/_temp
2022-08-05T15:56:01.4030430Z ##[debug]check path : /home/vsts/work/_tasks/AzureFunctionAppContainer_13c22ce0-3b93-43f9-aeb7-71fbce7bf5b2/1.198.0/task.json
2022-08-05T15:56:01.4031785Z ##[debug]adding resource file: /home/vsts/work/_tasks/AzureFunctionAppContainer_13c22ce0-3b93-43f9-aeb7-71fbce7bf5b2/1.198.0/task.json
2022-08-05T15:56:01.4032923Z ##[debug]system.culture=en-US
2022-08-05T15:56:01.4034194Z ##[debug]check path : /home/vsts/work/_tasks/AzureFunctionAppContainer_13c22ce0-3b93-43f9-aeb7-71fbce7bf5b2/1.198.0/node_modules/azure-pipelines-tasks-azurermdeploycommon/module.json
2022-08-05T15:56:01.4035792Z ##[debug]adding resource file: /home/vsts/work/_tasks/AzureFunctionAppContainer_13c22ce0-3b93-43f9-aeb7-71fbce7bf5b2/1.198.0/node_modules/azure-pipelines-tasks-azurermdeploycommon/module.json
2022-08-05T15:56:01.4037309Z ##[debug]system.culture=en-US
2022-08-05T15:56:01.4038486Z ##[debug]azureSubscription=REDACTED
2022-08-05T15:56:01.4039608Z ##[debug]imageName=REDACTED.azurecr.io/REDACTED:main
2022-08-05T15:56:01.4040511Z ##[debug]appSettings=undefined
2022-08-05T15:56:01.4041321Z ##[debug]containerCommand=undefined
2022-08-05T15:56:01.4042167Z ##[debug]configurationStrings=undefined
2022-08-05T15:56:01.4043076Z ##[debug]appName=REDACTED
2022-08-05T15:56:01.4043887Z ##[debug]resourceGroupName=REDACTED
2022-08-05T15:56:01.4044690Z ##[debug]slotName=staging
2022-08-05T15:56:01.4045475Z ##[debug]deployToSlotOrASE=true
2022-08-05T15:56:01.4573868Z ##[debug]Processed: ##vso[telemetry.publish area=TaskEndpointId;feature=AzureRmWebAppDeployment]{"endpointId":"REDACTED"}
2022-08-05T15:56:01.4582726Z ##[debug]Predeployment Step Started
2022-08-05T15:56:01.4595238Z ##[debug]REDACTED auth scheme = ServicePrincipal
2022-08-05T15:56:01.4602762Z ##[debug]REDACTED data subscriptionid = REDACTED
2022-08-05T15:56:01.4604104Z ##[debug]REDACTED data subscriptionname = REDACTED
2022-08-05T15:56:01.4605370Z ##[debug]REDACTED auth param serviceprincipalid = ***
2022-08-05T15:56:01.4606424Z ##[debug]REDACTED data environmentAuthorityUrl = https://login.windows.net/
2022-08-05T15:56:01.4607502Z ##[debug]REDACTED auth param tenantid = REDACTED
2022-08-05T15:56:01.4608534Z ##[debug]REDACTED=https://management.azure.com/
2022-08-05T15:56:01.4609497Z ##[debug]REDACTED data environment = AzureCloud
2022-08-05T15:56:01.4610478Z ##[debug]REDACTED auth scheme = ServicePrincipal
2022-08-05T15:56:01.4611456Z ##[debug]REDACTED data msiclientId = undefined
2022-08-05T15:56:01.4612542Z ##[debug]REDACTED data activeDirectoryServiceEndpointResourceId = https://management.core.windows.net/
2022-08-05T15:56:01.4613695Z ##[debug]REDACTED data AzureKeyVaultServiceEndpointResourceId = https://vault.azure.net
2022-08-05T15:56:01.4614763Z ##[debug]REDACTED data AzureKeyVaultDnsSuffix = vault.azure.net
2022-08-05T15:56:01.4615785Z ##[debug]REDACTED auth param authenticationType = spnKey
2022-08-05T15:56:01.4616595Z ##[debug]credentials spn endpoint
2022-08-05T15:56:01.4617736Z ##[debug]REDACTED auth param serviceprincipalkey = ***
2022-08-05T15:56:01.4618755Z ##[debug]REDACTED data EnableAdfsAuthentication = false
2022-08-05T15:56:01.4621961Z ##[debug]{"subscriptionID":"REDACTED","subscriptionName":"REDACTED","servicePrincipalClientID":"***","environmentAuthorityUrl":"https://login.windows.net/","tenantID":"REDACTED","url":"https://management.azure.com/","environment":"AzureCloud","scheme":"ServicePrincipal","activeDirectoryResourceID":"https://management.azure.com/","azureKeyVaultServiceEndpointResourceId":"https://vault.azure.net","azureKeyVaultDnsSuffix":"vault.azure.net","authenticationType":"spnKey","servicePrincipalKey":***,"isADFSEnabled":false,"applicationTokenCredentials":{"clientId":"***","domain":"REDACTED","baseUrl":"https://management.azure.com/","authorityUrl":"https://login.windows.net/","activeDirectoryResourceId":"https://management.azure.com/","isAzureStackEnvironment":false,"authType":"spnKey","secret":***,"isADFSEnabled":false}}
2022-08-05T15:56:01.4651213Z Got service connection details for Azure App Service:'REDACTED'
2022-08-05T15:56:01.4652325Z ##[debug][POST]https://login.windows.net/REDACTED/oauth2/token/
2022-08-05T15:56:01.4768854Z ##[debug][POST]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/slots/staging/config/publishingcredentials/list?api-version=2016-08-01
2022-08-05T15:56:02.4344721Z ##[debug]Correlation ID from ARM api call response : e7d6749d-279e-479f-9744-af5716ab2f98
2022-08-05T15:56:02.4345761Z ##[debug]set AZURE_APP_SERVICE_KUDU_staging_PASSWORD=********
2022-08-05T15:56:02.4372258Z ##[debug]Processed: ##vso[task.setvariable variable=AZURE_APP_SERVICE_KUDU_staging_PASSWORD;isOutput=false;issecret=true;]***
2022-08-05T15:56:02.4373343Z ##[debug]Resource Group: REDACTED
2022-08-05T15:56:02.4374076Z ##[debug]is Linux container web app: true
2022-08-05T15:56:02.4374773Z ##[debug]Deployment Step Started
2022-08-05T15:56:02.4375483Z ##[debug]Performing container based deployment.
2022-08-05T15:56:02.4379525Z ##[debug]Deploying image REDACTED.azurecr.io/REDACTED:main to the webapp REDACTED
2022-08-05T15:56:02.4380425Z ##[debug]Updating the webapp configuration.
2022-08-05T15:56:02.4381540Z ##[debug]CONTAINER UPDATE CONFIG VALUES : {"appCommandLine":{"value":null},"linuxFxVersion":{"value":"DOCKER|REDACTED.azurecr.io/REDACTED:main"}}
2022-08-05T15:56:02.4382858Z Trying to update App Service Configuration settings. Data: {"appCommandLine":null,"linuxFxVersion":"DOCKER|REDACTED.azurecr.io/REDACTED:main"}
2022-08-05T15:56:02.4384202Z ##[debug][PATCH]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/slots/staging/config/web?api-version=2018-02-01
2022-08-05T15:56:14.3136054Z ##[debug]Correlation ID from ARM api call response : 06d2bf42-b02a-449c-8207-5ea7e5cec237
2022-08-05T15:56:14.3136808Z Updated App Service Configuration settings.
2022-08-05T15:56:14.3137465Z ##[debug]making a restart request to app service
2022-08-05T15:56:14.3139835Z Restarting App Service: REDACTED-staging
2022-08-05T15:56:14.3140979Z ##[debug][POST]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/slots/staging/restart?api-version=2016-08-01
2022-08-05T15:56:15.0103313Z ##[debug]Correlation ID from ARM api call response : 0469d8eb-a1d3-468c-aaaf-c3715d5f2c5d
2022-08-05T15:56:15.0104382Z App Service 'REDACTED-staging' restarted successfully.
2022-08-05T15:56:15.0107674Z Trying to update App Service Application settings. Data: {"WEBSITES_ENABLE_APP_SERVICE_STORAGE":"false"}
2022-08-05T15:56:15.0124466Z ##[debug][POST]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/slots/staging/config/appsettings/list?api-version=2016-08-01
2022-08-05T15:56:15.8548015Z ##[debug]Correlation ID from ARM api call response : 8fe61533-7737-46a4-8a3c-c63141c72058
2022-08-05T15:56:15.8549059Z ##[debug]WEBSITES_ENABLE_APP_SERVICE_STORAGE is already present.
2022-08-05T15:56:15.8550108Z App Service Application settings are already present.
2022-08-05T15:56:15.8560745Z ##[debug][GET]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/config/slotConfigNames?api-version=2016-08-01
2022-08-05T15:56:16.9417112Z ##[debug]Correlation ID from ARM api call response : 5cf8060e-28b9-47fb-b7c8-0295a846f6f0
2022-08-05T15:56:16.9420609Z ##[debug][PUT]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/config/slotConfigNames?api-version=2016-08-01
2022-08-05T15:56:18.0356054Z ##[debug]Correlation ID from ARM api call response : c04b1d18-0fb2-48b3-947c-38c8717dd7f6
2022-08-05T15:56:18.0358269Z ##[debug][GET]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/slots/staging/config/web?api-version=2018-02-01
2022-08-05T15:56:18.9095208Z ##[debug]Correlation ID from ARM api call response : 9f45628f-f72b-4ac1-946f-db088cf4d4e8
2022-08-05T15:56:18.9096240Z ##[debug]SCM Type is VSTSRM
2022-08-05T15:56:18.9096981Z ##[debug]Updating metadata with latest pipeline details
2022-08-05T15:56:18.9097972Z ##[debug]system.teamfoundationCollectionUri=https://dev.azure.com/REDACTED/
2022-08-05T15:56:18.9099094Z ##[debug]system.teamprojectId=REDACTED
2022-08-05T15:56:18.9099885Z ##[debug]release.definitionId=undefined
2022-08-05T15:56:18.9101002Z ##[debug]system.collectionId=3635cfa2-79ea-43af-94e6-b09871092562
2022-08-05T15:56:18.9101797Z ##[debug]system.definitionId=673
2022-08-05T15:56:18.9119827Z ##[debug][POST]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/slots/staging/config/metadata/list?api-version=2016-08-01
2022-08-05T15:56:19.7952684Z ##[debug]Correlation ID from ARM api call response : 7a817e17-43a8-4448-8e91-26836e82aba6
2022-08-05T15:56:19.7954319Z ##[debug]No changes in metadata properties, skipping update.
2022-08-05T15:56:19.7956828Z ##[debug]Application Insights is not configured for the App Service. Skipping adding release annotation.
2022-08-05T15:56:19.7961685Z ##[debug]Azure_App_Service_Deploy_PackageArtifactAlias=undefined
2022-08-05T15:56:19.7962568Z ##[debug]release.releaseId=undefined
2022-08-05T15:56:19.7963299Z ##[debug]release.releaseName=undefined
2022-08-05T15:56:19.7964190Z ##[debug]system.TeamFoundationCollectionUri=https://dev.azure.com/REDACTED/
2022-08-05T15:56:19.7965381Z ##[debug]system.teamProjectId=REDACTED
2022-08-05T15:56:19.7966180Z ##[debug]build.requestedfor=2022-08-05T15:56:00.7169142Z ##[debug]Evaluating condition for step: 'Deploy Container to Staging Slot'
2022-08-05T15:56:00.7170819Z ##[debug]Evaluating: SucceededNode()
2022-08-05T15:56:00.7171372Z ##[debug]Evaluating SucceededNode:
2022-08-05T15:56:00.7172337Z ##[debug]=> True
2022-08-05T15:56:00.7172914Z ##[debug]Result: True
2022-08-05T15:56:00.7173435Z ##[section]Starting: Deploy Container to Staging Slot
2022-08-05T15:56:00.7193768Z ==============================================================================
2022-08-05T15:56:00.7194140Z Task         : Azure Functions for container
2022-08-05T15:56:00.7194450Z Description  : Update a function app with a Docker container
2022-08-05T15:56:00.7194733Z Version      : 1.198.0
2022-08-05T15:56:00.7194962Z Author       : Microsoft Corporation
2022-08-05T15:56:00.7195255Z Help         : https://aka.ms/azurefunctioncontainertroubleshooting
2022-08-05T15:56:00.7195611Z ==============================================================================
2022-08-05T15:56:00.7381662Z ##[debug]Using node path: /home/vsts/agents/2.206.1/externals/node10/bin/node
2022-08-05T15:56:01.3993856Z ##[debug]agent.TempDirectory=/home/vsts/work/_temp
2022-08-05T15:56:01.4004082Z ##[debug]loading inputs and endpoints
2022-08-05T15:56:01.4005069Z ##[debug]loading INPUT_AZURESUBSCRIPTION
2022-08-05T15:56:01.4005929Z ##[debug]loading INPUT_APPNAME
2022-08-05T15:56:01.4006863Z ##[debug]loading INPUT_DEPLOYTOSLOTORASE
2022-08-05T15:56:01.4007706Z ##[debug]loading INPUT_RESOURCEGROUPNAME
2022-08-05T15:56:01.4008545Z ##[debug]loading INPUT_SLOTNAME
2022-08-05T15:56:01.4009590Z ##[debug]loading INPUT_IMAGENAME
2022-08-05T15:56:01.4011067Z ##[debug]loading ENDPOINT_AUTH_REDACTED
2022-08-05T15:56:01.4012224Z ##[debug]loading ENDPOINT_AUTH_SCHEME_REDACTED
2022-08-05T15:56:01.4013395Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_REDACTED_TENANTID
2022-08-05T15:56:01.4014620Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_REDACTED_SERVICEPRINCIPALID
2022-08-05T15:56:01.4015887Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_REDACTED_AUTHENTICATIONTYPE
2022-08-05T15:56:01.4017135Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_REDACTED_SERVICEPRINCIPALKEY
2022-08-05T15:56:01.4018148Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2022-08-05T15:56:01.4019051Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2022-08-05T15:56:01.4020021Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2022-08-05T15:56:01.4020934Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN
2022-08-05T15:56:01.4021730Z ##[debug]loaded 16
2022-08-05T15:56:01.4022517Z ##[debug]Agent.ProxyUrl=undefined
2022-08-05T15:56:01.4023323Z ##[debug]Agent.CAInfo=undefined
2022-08-05T15:56:01.4024136Z ##[debug]Agent.ClientCert=undefined
2022-08-05T15:56:01.4024985Z ##[debug]Agent.SkipCertValidation=undefined
2022-08-05T15:56:01.4025811Z ##[debug]agent.proxyurl=undefined
2022-08-05T15:56:01.4027091Z ##[debug]VSTS_ARM_REST_IGNORE_SSL_ERRORS=undefined
2022-08-05T15:56:01.4028271Z ##[debug]AZURE_HTTP_USER_AGENT=VSTS_3635cfa2-79ea-43af-94e6-b09871092562_build_673_0
2022-08-05T15:56:01.4029255Z ##[debug]Agent.TempDirectory=/home/vsts/work/_temp
2022-08-05T15:56:01.4030430Z ##[debug]check path : /home/vsts/work/_tasks/AzureFunctionAppContainer_13c22ce0-3b93-43f9-aeb7-71fbce7bf5b2/1.198.0/task.json
2022-08-05T15:56:01.4031785Z ##[debug]adding resource file: /home/vsts/work/_tasks/AzureFunctionAppContainer_13c22ce0-3b93-43f9-aeb7-71fbce7bf5b2/1.198.0/task.json
2022-08-05T15:56:01.4032923Z ##[debug]system.culture=en-US
2022-08-05T15:56:01.4034194Z ##[debug]check path : /home/vsts/work/_tasks/AzureFunctionAppContainer_13c22ce0-3b93-43f9-aeb7-71fbce7bf5b2/1.198.0/node_modules/azure-pipelines-tasks-azurermdeploycommon/module.json
2022-08-05T15:56:01.4035792Z ##[debug]adding resource file: /home/vsts/work/_tasks/AzureFunctionAppContainer_13c22ce0-3b93-43f9-aeb7-71fbce7bf5b2/1.198.0/node_modules/azure-pipelines-tasks-azurermdeploycommon/module.json
2022-08-05T15:56:01.4037309Z ##[debug]system.culture=en-US
2022-08-05T15:56:01.4038486Z ##[debug]azureSubscription=REDACTED
2022-08-05T15:56:01.4039608Z ##[debug]imageName=REDACTED.azurecr.io/REDACTED:main
2022-08-05T15:56:01.4040511Z ##[debug]appSettings=undefined
2022-08-05T15:56:01.4041321Z ##[debug]containerCommand=undefined
2022-08-05T15:56:01.4042167Z ##[debug]configurationStrings=undefined
2022-08-05T15:56:01.4043076Z ##[debug]appName=REDACTED
2022-08-05T15:56:01.4043887Z ##[debug]resourceGroupName=REDACTED
2022-08-05T15:56:01.4044690Z ##[debug]slotName=staging
2022-08-05T15:56:01.4045475Z ##[debug]deployToSlotOrASE=true
2022-08-05T15:56:01.4573868Z ##[debug]Processed: ##vso[telemetry.publish area=TaskEndpointId;feature=AzureRmWebAppDeployment]{"endpointId":"REDACTED"}
2022-08-05T15:56:01.4582726Z ##[debug]Predeployment Step Started
2022-08-05T15:56:01.4595238Z ##[debug]REDACTED auth scheme = ServicePrincipal
2022-08-05T15:56:01.4602762Z ##[debug]REDACTED data subscriptionid = REDACTED
2022-08-05T15:56:01.4604104Z ##[debug]REDACTED data subscriptionname = REDACTED
2022-08-05T15:56:01.4605370Z ##[debug]REDACTED auth param serviceprincipalid = ***
2022-08-05T15:56:01.4606424Z ##[debug]REDACTED data environmentAuthorityUrl = https://login.windows.net/
2022-08-05T15:56:01.4607502Z ##[debug]REDACTED auth param tenantid = REDACTED
2022-08-05T15:56:01.4608534Z ##[debug]REDACTED=https://management.azure.com/
2022-08-05T15:56:01.4609497Z ##[debug]REDACTED data environment = AzureCloud
2022-08-05T15:56:01.4610478Z ##[debug]REDACTED auth scheme = ServicePrincipal
2022-08-05T15:56:01.4611456Z ##[debug]REDACTED data msiclientId = undefined
2022-08-05T15:56:01.4612542Z ##[debug]REDACTED data activeDirectoryServiceEndpointResourceId = https://management.core.windows.net/
2022-08-05T15:56:01.4613695Z ##[debug]REDACTED data AzureKeyVaultServiceEndpointResourceId = https://vault.azure.net
2022-08-05T15:56:01.4614763Z ##[debug]REDACTED data AzureKeyVaultDnsSuffix = vault.azure.net
2022-08-05T15:56:01.4615785Z ##[debug]REDACTED auth param authenticationType = spnKey
2022-08-05T15:56:01.4616595Z ##[debug]credentials spn endpoint
2022-08-05T15:56:01.4617736Z ##[debug]REDACTED auth param serviceprincipalkey = ***
2022-08-05T15:56:01.4618755Z ##[debug]REDACTED data EnableAdfsAuthentication = false
2022-08-05T15:56:01.4621961Z ##[debug]{"subscriptionID":"REDACTED","subscriptionName":"REDACTED","servicePrincipalClientID":"***","environmentAuthorityUrl":"https://login.windows.net/","tenantID":"REDACTED","url":"https://management.azure.com/","environment":"AzureCloud","scheme":"ServicePrincipal","activeDirectoryResourceID":"https://management.azure.com/","azureKeyVaultServiceEndpointResourceId":"https://vault.azure.net","azureKeyVaultDnsSuffix":"vault.azure.net","authenticationType":"spnKey","servicePrincipalKey":***,"isADFSEnabled":false,"applicationTokenCredentials":{"clientId":"***","domain":"REDACTED","baseUrl":"https://management.azure.com/","authorityUrl":"https://login.windows.net/","activeDirectoryResourceId":"https://management.azure.com/","isAzureStackEnvironment":false,"authType":"spnKey","secret":***,"isADFSEnabled":false}}
2022-08-05T15:56:01.4651213Z Got service connection details for Azure App Service:'REDACTED'
2022-08-05T15:56:01.4652325Z ##[debug][POST]https://login.windows.net/REDACTED/oauth2/token/
2022-08-05T15:56:01.4768854Z ##[debug][POST]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/slots/staging/config/publishingcredentials/list?api-version=2016-08-01
2022-08-05T15:56:02.4344721Z ##[debug]Correlation ID from ARM api call response : e7d6749d-279e-479f-9744-af5716ab2f98
2022-08-05T15:56:02.4345761Z ##[debug]set AZURE_APP_SERVICE_KUDU_staging_PASSWORD=********
2022-08-05T15:56:02.4372258Z ##[debug]Processed: ##vso[task.setvariable variable=AZURE_APP_SERVICE_KUDU_staging_PASSWORD;isOutput=false;issecret=true;]***
2022-08-05T15:56:02.4373343Z ##[debug]Resource Group: REDACTED
2022-08-05T15:56:02.4374076Z ##[debug]is Linux container web app: true
2022-08-05T15:56:02.4374773Z ##[debug]Deployment Step Started
2022-08-05T15:56:02.4375483Z ##[debug]Performing container based deployment.
2022-08-05T15:56:02.4379525Z ##[debug]Deploying image REDACTED.azurecr.io/REDACTED:main to the webapp REDACTED
2022-08-05T15:56:02.4380425Z ##[debug]Updating the webapp configuration.
2022-08-05T15:56:02.4381540Z ##[debug]CONTAINER UPDATE CONFIG VALUES : {"appCommandLine":{"value":null},"linuxFxVersion":{"value":"DOCKER|REDACTED.azurecr.io/REDACTED:main"}}
2022-08-05T15:56:02.4382858Z Trying to update App Service Configuration settings. Data: {"appCommandLine":null,"linuxFxVersion":"DOCKER|REDACTED.azurecr.io/REDACTED:main"}
2022-08-05T15:56:02.4384202Z ##[debug][PATCH]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/slots/staging/config/web?api-version=2018-02-01
2022-08-05T15:56:14.3136054Z ##[debug]Correlation ID from ARM api call response : 06d2bf42-b02a-449c-8207-5ea7e5cec237
2022-08-05T15:56:14.3136808Z Updated App Service Configuration settings.
2022-08-05T15:56:14.3137465Z ##[debug]making a restart request to app service
2022-08-05T15:56:14.3139835Z Restarting App Service: REDACTED-staging
2022-08-05T15:56:14.3140979Z ##[debug][POST]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/slots/staging/restart?api-version=2016-08-01
2022-08-05T15:56:15.0103313Z ##[debug]Correlation ID from ARM api call response : 0469d8eb-a1d3-468c-aaaf-c3715d5f2c5d
2022-08-05T15:56:15.0104382Z App Service 'REDACTED-staging' restarted successfully.
2022-08-05T15:56:15.0107674Z Trying to update App Service Application settings. Data: {"WEBSITES_ENABLE_APP_SERVICE_STORAGE":"false"}
2022-08-05T15:56:15.0124466Z ##[debug][POST]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/slots/staging/config/appsettings/list?api-version=2016-08-01
2022-08-05T15:56:15.8548015Z ##[debug]Correlation ID from ARM api call response : 8fe61533-7737-46a4-8a3c-c63141c72058
2022-08-05T15:56:15.8549059Z ##[debug]WEBSITES_ENABLE_APP_SERVICE_STORAGE is already present.
2022-08-05T15:56:15.8550108Z App Service Application settings are already present.
2022-08-05T15:56:15.8560745Z ##[debug][GET]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/config/slotConfigNames?api-version=2016-08-01
2022-08-05T15:56:16.9417112Z ##[debug]Correlation ID from ARM api call response : 5cf8060e-28b9-47fb-b7c8-0295a846f6f0
2022-08-05T15:56:16.9420609Z ##[debug][PUT]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/config/slotConfigNames?api-version=2016-08-01
2022-08-05T15:56:18.0356054Z ##[debug]Correlation ID from ARM api call response : c04b1d18-0fb2-48b3-947c-38c8717dd7f6
2022-08-05T15:56:18.0358269Z ##[debug][GET]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/slots/staging/config/web?api-version=2018-02-01
2022-08-05T15:56:18.9095208Z ##[debug]Correlation ID from ARM api call response : 9f45628f-f72b-4ac1-946f-db088cf4d4e8
2022-08-05T15:56:18.9096240Z ##[debug]SCM Type is VSTSRM
2022-08-05T15:56:18.9096981Z ##[debug]Updating metadata with latest pipeline details
2022-08-05T15:56:18.9097972Z ##[debug]system.teamfoundationCollectionUri=https://dev.azure.com/REDACTED/
2022-08-05T15:56:18.9099094Z ##[debug]system.teamprojectId=REDACTED
2022-08-05T15:56:18.9099885Z ##[debug]release.definitionId=undefined
2022-08-05T15:56:18.9101002Z ##[debug]system.collectionId=3635cfa2-79ea-43af-94e6-b09871092562
2022-08-05T15:56:18.9101797Z ##[debug]system.definitionId=673
2022-08-05T15:56:18.9119827Z ##[debug][POST]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/slots/staging/config/metadata/list?api-version=2016-08-01
2022-08-05T15:56:19.7952684Z ##[debug]Correlation ID from ARM api call response : 7a817e17-43a8-4448-8e91-26836e82aba6
2022-08-05T15:56:19.7954319Z ##[debug]No changes in metadata properties, skipping update.
2022-08-05T15:56:19.7956828Z ##[debug]Application Insights is not configured for the App Service. Skipping adding release annotation.
2022-08-05T15:56:19.7961685Z ##[debug]Azure_App_Service_Deploy_PackageArtifactAlias=undefined
2022-08-05T15:56:19.7962568Z ##[debug]release.releaseId=undefined
2022-08-05T15:56:19.7963299Z ##[debug]release.releaseName=undefined
2022-08-05T15:56:19.7964190Z ##[debug]system.TeamFoundationCollectionUri=https://dev.azure.com/REDACTED/
2022-08-05T15:56:19.7965381Z ##[debug]system.teamProjectId=REDACTED
2022-08-05T15:56:19.7966180Z ##[debug]build.requestedfor=Mykhailo REDACTED
2022-08-05T15:56:19.7966877Z ##[debug]build.buildId=83086
2022-08-05T15:56:19.7967565Z ##[debug]build.buildNumber=2022080503
2022-08-05T15:56:19.7968507Z ##[debug]build.sourceVersion=a75c8c6fde31da9ebfc04ffedee266e4161a034c
2022-08-05T15:56:19.7969419Z ##[debug]build.repository.name=REDACTED
2022-08-05T15:56:19.7970178Z ##[debug]build.repository.provider=TfsGit
2022-08-05T15:56:19.7971060Z ##[debug]build.repository.uri=https://REDACTED@dev.azure.com/REDACTED/REDACTED/_git/REDACTED
2022-08-05T15:56:19.7971820Z ##[debug]build.sourcebranchname=main
2022-08-05T15:56:19.7972452Z ##[debug]build.buildUri=vstfs:///Build/Build/83086
2022-08-05T15:56:19.7973129Z ##[debug]release.releaseUri=undefined
2022-08-05T15:56:19.7973723Z ##[debug]build.buildId=83086
2022-08-05T15:56:19.7974320Z ##[debug]release.releaseId=undefined
2022-08-05T15:56:19.7974944Z ##[debug]build.buildNumber=2022080503
2022-08-05T15:56:19.7975556Z ##[debug]release.releaseName=undefined
2022-08-05T15:56:19.7976997Z ##[debug]system.TeamFoundationCollectionUri=https://dev.azure.com/REDACTED/
2022-08-05T15:56:19.7977842Z ##[debug]system.teamProjectId=REDACTED
2022-08-05T15:56:19.7978584Z ##[debug]build.sourceVersion=a75c8c6fde31da9ebfc04ffedee266e4161a034c
2022-08-05T15:56:19.7979732Z ##[debug]build.repository.name=REDACTED
2022-08-05T15:56:19.7980386Z ##[debug]build.repository.provider=TfsGit
2022-08-05T15:56:19.7981041Z ##[debug]system.teamproject=REDACTED
2022-08-05T15:56:19.7986303Z ##[debug][PUT]https://$REDACTED__staging:***@REDACTED-staging.scm.azurewebsites.net/api/deployments/830861659714979796
2022-08-05T15:56:25.4150518Z ##[debug]Could not parse response: {}
2022-08-05T15:56:25.4160900Z ##[debug]Response: undefined
2022-08-05T15:56:25.4162387Z ##[debug]Encountered a retriable status code: 503. Message: 'Service Unavailable'.
2022-08-05T15:56:30.4216411Z ##[debug][PUT]https://$REDACTED__staging:***@REDACTED-staging.scm.azurewebsites.net/api/deployments/830861659714979796
2022-08-05T15:56:35.9196127Z ##[debug]Could not parse response: {}
2022-08-05T15:56:35.9196915Z ##[debug]Response: undefined
2022-08-05T15:56:35.9198443Z ##[debug]Encountered a retriable status code: 503. Message: 'Service Unavailable'.
2022-08-05T15:57:05.9502708Z ##[debug][PUT]https://$REDACTED__staging:***@REDACTED-staging.scm.azurewebsites.net/api/deployments/830861659714979796
2022-08-05T15:57:18.9006925Z ##[debug]Could not parse response: {}
2022-08-05T15:57:18.9008482Z ##[debug]Response: undefined
2022-08-05T15:57:18.9014993Z ##[debug]Encountered a retriable status code: 503. Message: 'Service Unavailable'.
2022-08-05T15:59:53.9535857Z ##[debug][PUT]https://$REDACTED__staging:***@REDACTED-staging.scm.azurewebsites.net/api/deployments/830861659714979796
2022-08-05T15:59:59.5782059Z ##[debug]Could not parse response: {}
2022-08-05T15:59:59.5782886Z ##[debug]Response: undefined
2022-08-05T15:59:59.5784397Z ##[debug]Encountered a retriable status code: 503. Message: 'Service Unavailable'.
2022-08-05T16:12:59.6792495Z ##[debug][PUT]https://$REDACTED__staging:***@REDACTED-staging.scm.azurewebsites.net/api/deployments/830861659714979796
2022-08-05T16:13:10.4363507Z ##[debug]Could not parse response: {}
2022-08-05T16:13:10.4364671Z ##[debug]Response: undefined
2022-08-05T16:13:10.4368606Z ##[debug]loaded affinity cookie ["ARRAffinity=38710cdc3237b1ee8eefd1c50beca95520f80d96ea7cd5209d04669b4031ab6d;Path=/;HttpOnly;Secure;Domain=REDACTED-staging.scm.azurewebsites.net","ARRAffinitySameSite=38710cdc3237b1ee8eefd1c50beca95520f80d96ea7cd5209d04669b4031ab6d;Path=/;HttpOnly;SameSite=None;Secure;Domain=REDACTED-staging.scm.azurewebsites.net"]
2022-08-05T16:13:10.4372496Z ##[debug]updateDeployment. Data: {"statusCode":503,"statusMessage":"Service Unavailable","headers":{"connection":"close","date":"Fri, 05 Aug 2022 16:13:09 GMT","set-cookie":["ARRAffinity=38710cdc3237b1ee8eefd1c50beca95520f80d96ea7cd5209d04669b4031ab6d;Path=/;HttpOnly;Secure;Domain=REDACTED-staging.scm.azurewebsites.net","ARRAffinitySameSite=38710cdc3237b1ee8eefd1c50beca95520f80d96ea7cd5209d04669b4031ab6d;Path=/;HttpOnly;SameSite=None;Secure;Domain=REDACTED-staging.scm.azurewebsites.net"],"transfer-encoding":"chunked"},"body":"<div style=\"display: block; margin: auto;  width: 600px; height: 500px; text-align: center; font-family: 'Courier', cursive, sans-serif;\"><h1 style=\"color: 747474\">:( Application Error</h1><p style=\"color:#666\">If you are the application administrator, you can access the <a style=\"color: grey\"href=\"https://REDACTED-staging.scm.azurewebsites.net/detectors\">diagnostic resources</a>.</div>\n"}
2022-08-05T16:13:10.4420275Z ##[warning]Error: Failed to update deployment history. Error: Service Unavailable (CODE: 503)
2022-08-05T16:13:10.4433438Z ##[debug]Processed: ##vso[task.issue type=warning;]Error: Failed to update deployment history. Error: Service Unavailable (CODE: 503)
2022-08-05T16:13:10.4434599Z ##[debug]Active DeploymentId :undefined
2022-08-05T16:13:10.4436345Z ##[debug][POST]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/slots/staging/publishxml?api-version=2016-08-01
2022-08-05T16:13:11.4742600Z ##[debug]Could not parse response: {}
2022-08-05T16:13:11.4780288Z ##[debug]Response: undefined
2022-08-05T16:13:11.4781856Z ##[debug]Correlation ID from ARM api call response : f4212b21-168a-4c7d-b564-ae51ba505c14
2022-08-05T16:13:11.4800671Z App Service Application URL: http://REDACTED-staging.azurewebsites.net
2022-08-05T16:13:11.4801693Z ##[debug]set AppServiceApplicationUrl=http://REDACTED-staging.azurewebsites.net
2022-08-05T16:13:11.4812273Z ##[debug]Processed: ##vso[task.setvariable variable=AppServiceApplicationUrl;isOutput=false;issecret=false;]http://REDACTED-staging.azurewebsites.net
2022-08-05T16:13:11.4814678Z ##[debug]Deployment Succeded
2022-08-05T16:13:11.4851339Z ##[section]Finishing: Deploy Container to Staging Slot
2022-08-05T15:56:19.7966877Z ##[debug]build.buildId=83086
2022-08-05T15:56:19.7967565Z ##[debug]build.buildNumber=2022080503
2022-08-05T15:56:19.7968507Z ##[debug]build.sourceVersion=a75c8c6fde31da9ebfc04ffedee266e4161a034c
2022-08-05T15:56:19.7969419Z ##[debug]build.repository.name=REDACTED
2022-08-05T15:56:19.7970178Z ##[debug]build.repository.provider=TfsGit
2022-08-05T15:56:19.7971060Z ##[debug]build.repository.uri=https://REDACTED@dev.azure.com/REDACTED/REDACTED/_git/REDACTED
2022-08-05T15:56:19.7971820Z ##[debug]build.sourcebranchname=main
2022-08-05T15:56:19.7972452Z ##[debug]build.buildUri=vstfs:///Build/Build/83086
2022-08-05T15:56:19.7973129Z ##[debug]release.releaseUri=undefined
2022-08-05T15:56:19.7973723Z ##[debug]build.buildId=83086
2022-08-05T15:56:19.7974320Z ##[debug]release.releaseId=undefined
2022-08-05T15:56:19.7974944Z ##[debug]build.buildNumber=2022080503
2022-08-05T15:56:19.7975556Z ##[debug]release.releaseName=undefined
2022-08-05T15:56:19.7976997Z ##[debug]system.TeamFoundationCollectionUri=https://dev.azure.com/REDACTED/
2022-08-05T15:56:19.7977842Z ##[debug]system.teamProjectId=REDACTED
2022-08-05T15:56:19.7978584Z ##[debug]build.sourceVersion=a75c8c6fde31da9ebfc04ffedee266e4161a034c
2022-08-05T15:56:19.7979732Z ##[debug]build.repository.name=REDACTED
2022-08-05T15:56:19.7980386Z ##[debug]build.repository.provider=TfsGit
2022-08-05T15:56:19.7981041Z ##[debug]system.teamproject=REDACTED
2022-08-05T15:56:19.7986303Z ##[debug][PUT]https://$REDACTED__staging:***@REDACTED-staging.scm.azurewebsites.net/api/deployments/830861659714979796
2022-08-05T15:56:25.4150518Z ##[debug]Could not parse response: {}
2022-08-05T15:56:25.4160900Z ##[debug]Response: undefined
2022-08-05T15:56:25.4162387Z ##[debug]Encountered a retriable status code: 503. Message: 'Service Unavailable'.
2022-08-05T15:56:30.4216411Z ##[debug][PUT]https://$REDACTED__staging:***@REDACTED-staging.scm.azurewebsites.net/api/deployments/830861659714979796
2022-08-05T15:56:35.9196127Z ##[debug]Could not parse response: {}
2022-08-05T15:56:35.9196915Z ##[debug]Response: undefined
2022-08-05T15:56:35.9198443Z ##[debug]Encountered a retriable status code: 503. Message: 'Service Unavailable'.
2022-08-05T15:57:05.9502708Z ##[debug][PUT]https://$REDACTED__staging:***@REDACTED-staging.scm.azurewebsites.net/api/deployments/830861659714979796
2022-08-05T15:57:18.9006925Z ##[debug]Could not parse response: {}
2022-08-05T15:57:18.9008482Z ##[debug]Response: undefined
2022-08-05T15:57:18.9014993Z ##[debug]Encountered a retriable status code: 503. Message: 'Service Unavailable'.
2022-08-05T15:59:53.9535857Z ##[debug][PUT]https://$REDACTED__staging:***@REDACTED-staging.scm.azurewebsites.net/api/deployments/830861659714979796
2022-08-05T15:59:59.5782059Z ##[debug]Could not parse response: {}
2022-08-05T15:59:59.5782886Z ##[debug]Response: undefined
2022-08-05T15:59:59.5784397Z ##[debug]Encountered a retriable status code: 503. Message: 'Service Unavailable'.
2022-08-05T16:12:59.6792495Z ##[debug][PUT]https://$REDACTED__staging:***@REDACTED-staging.scm.azurewebsites.net/api/deployments/830861659714979796
2022-08-05T16:13:10.4363507Z ##[debug]Could not parse response: {}
2022-08-05T16:13:10.4364671Z ##[debug]Response: undefined
2022-08-05T16:13:10.4368606Z ##[debug]loaded affinity cookie ["ARRAffinity=38710cdc3237b1ee8eefd1c50beca95520f80d96ea7cd5209d04669b4031ab6d;Path=/;HttpOnly;Secure;Domain=REDACTED-staging.scm.azurewebsites.net","ARRAffinitySameSite=38710cdc3237b1ee8eefd1c50beca95520f80d96ea7cd5209d04669b4031ab6d;Path=/;HttpOnly;SameSite=None;Secure;Domain=REDACTED-staging.scm.azurewebsites.net"]
2022-08-05T16:13:10.4372496Z ##[debug]updateDeployment. Data: {"statusCode":503,"statusMessage":"Service Unavailable","headers":{"connection":"close","date":"Fri, 05 Aug 2022 16:13:09 GMT","set-cookie":["ARRAffinity=38710cdc3237b1ee8eefd1c50beca95520f80d96ea7cd5209d04669b4031ab6d;Path=/;HttpOnly;Secure;Domain=REDACTED-staging.scm.azurewebsites.net","ARRAffinitySameSite=38710cdc3237b1ee8eefd1c50beca95520f80d96ea7cd5209d04669b4031ab6d;Path=/;HttpOnly;SameSite=None;Secure;Domain=REDACTED-staging.scm.azurewebsites.net"],"transfer-encoding":"chunked"},"body":"<div style=\"display: block; margin: auto;  width: 600px; height: 500px; text-align: center; font-family: 'Courier', cursive, sans-serif;\"><h1 style=\"color: 747474\">:( Application Error</h1><p style=\"color:#666\">If you are the application administrator, you can access the <a style=\"color: grey\"href=\"https://REDACTED-staging.scm.azurewebsites.net/detectors\">diagnostic resources</a>.</div>\n"}
2022-08-05T16:13:10.4420275Z ##[warning]Error: Failed to update deployment history. Error: Service Unavailable (CODE: 503)
2022-08-05T16:13:10.4433438Z ##[debug]Processed: ##vso[task.issue type=warning;]Error: Failed to update deployment history. Error: Service Unavailable (CODE: 503)
2022-08-05T16:13:10.4434599Z ##[debug]Active DeploymentId :undefined
2022-08-05T16:13:10.4436345Z ##[debug][POST]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Web/sites/REDACTED/slots/staging/publishxml?api-version=2016-08-01
2022-08-05T16:13:11.4742600Z ##[debug]Could not parse response: {}
2022-08-05T16:13:11.4780288Z ##[debug]Response: undefined
2022-08-05T16:13:11.4781856Z ##[debug]Correlation ID from ARM api call response : f4212b21-168a-4c7d-b564-ae51ba505c14
2022-08-05T16:13:11.4800671Z App Service Application URL: http://REDACTED-staging.azurewebsites.net
2022-08-05T16:13:11.4801693Z ##[debug]set AppServiceApplicationUrl=http://REDACTED-staging.azurewebsites.net
2022-08-05T16:13:11.4812273Z ##[debug]Processed: ##vso[task.setvariable variable=AppServiceApplicationUrl;isOutput=false;issecret=false;]http://REDACTED-staging.azurewebsites.net
2022-08-05T16:13:11.4814678Z ##[debug]Deployment Succeded
2022-08-05T16:13:11.4851339Z ##[section]Finishing: Deploy Container to Staging Slot
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

luka-mikec commented 1 year ago

Hi @mehighlow, did you find a solution by any chance?

I'm experiencing the same 503 error, although for a different Azure task:

- stage: DeployTest
  displayName: Deploy (test) stage
  jobs:
  - deployment: Deploy
    displayName: Deploy (test) job
    pool:
      name: 'my-agent-pool'
    environment: development
    strategy:
      runOnce:
        deploy:
          steps:
          - task: AzureWebAppContainer@1
            inputs:
              azureSubscription: $(azureServiceConnection)
              appName: $(appName)
              multicontainerConfigFile: '$(dockerComposeFilePath)'

The referenced file:

version: "3.3"
services:
  frontend:
    image: lmmendes/http-hello-world