question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
bittebakcommented, Jan 23, 2022

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.

1reaction
panchagnulacommented, Sep 25, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error deploying using Azure cli to deploy webapp
I've updated to the newest version of Azure Cli and this process used to work. I'm not sure what to do next. az...
Read more >
az webapp up ZIP deployment fail - Microsoft Q&A
I am trying to deploy a ReactJS web app to Azure and keep getting the following errors. How can I fix it?
Read more >
azure-cli-appservice 0.2.21 - PyPI
webapp: az webapp up –logs was failing with a error and updating default . ... appservice plan, webapp & function app updated to...
Read more >
Fixing an Azure web app zip deployment issue - Blimped
The problem. Some time ago I created an Azure linux web app. I used an Azure DevOps build pipeline to build the solution...
Read more >
Error: Package deployment using ZIP Deploy failed
Hi all, I'm unable to deploy my Azure WebApp through Azure DevOps Pipelines because of an error at the latest stage of 'Deploy...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found