Using WebDeploy (MSDeploy) to deploy to a Microsoft Azure Website target doesn't work

耗尽温柔 提交于 2019-12-06 15:28:36

Microsoft have pretty much confirmed it's a bug. They are struggling to reproduce the issue though.

The workaround is to put a new app setting into the Web app on the Azure Portal, called WEBSITE_WEBDEPLOY_USE_SCM and set the value to false. Deployment then works fine.

We had this issue deploying to a server on-prem and after much troubleshooting our Networking team found a network issue that was intercepting these packets and dropping them. We found this by monitoring network traffic using WireShark to find where/when the issues were occurring. The Networking team researched using their tools further to find the issue. Sorry, I don't know what they actually changed to fix this.

You could try deploying from a different network (Starbucks, home, wherever) to verify this is your issue.

After trying for over a week, today it worked. Nothing has changed on my side, so Microsoft must have fixed an issue in Azure.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!