azure-cli: Webapp:az webapp up error ("...returns malformed data. Retrying...") when deploying a Python application

as webapp up returns the following when deploying a Python application:

“Deployment status endpoint https://<…>/api/deployments/latest returns malformed data. Retrying”

Output of az version is as follows:

{
  "azure-cli": "2.8.0",
  "azure-cli-command-modules-nspkg": "2.0.3",
  "azure-cli-core": "2.8.0",
  "azure-cli-nspkg": "3.0.4",
  "azure-cli-telemetry": "1.0.4",
  "extensions": {}
}

End user is running Linux:

$ uname -srm
Linux 5.7.7-arch1-1 x86_64

Opening a new issue per https://github.com/Azure/azure-cli/issues/11596 (cc: @panchagnula)

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (10 by maintainers)

Most upvoted comments

You would expect that this would do the trick as advertised az webapp up

I have several issues

  1. Timeouts Deployment endpoint responded with status code 202 After a while a timeout

  2. Invalid response Starting zip deployment. This operation can take a while to complete … Deployment endpoint responded with status code 202 Deployment status endpoint https://<myapp>.scm.azurewebsites.net/api/deployments/latest returns malformed data. Retrying…

  3. Downgrade to Python|3.7 az webapp up will downgrade to 3.7 (from 3.9)

  4. Powershell does not support --runtime If --runtime is use in Powershell, an error will be returned

(env) > az webapp up --sku B1 --name icarus-int  --resource-group <mygroup> --location westeurope --plan <myplan>  --runtime "PYTHON|3.9"
'3.9' is not recognized as an internal or external command,
  1. slow Even a deployment of an update of a simple Python app is painstakingly slow

  2. No real alternative DevOps has been broken. The free version takes several days get approved. Te lowest paid version requires a high monthly fee.

  3. Azure function can not be used Azure functions refused to return multiple cookies with the same name.

@calvinsID can we close this if this doesn’t repro anymore? Thanks!