简体   繁体   English

Azure Web 应用程序/网站交换:HTTP Ping 错误

[英]Azure Webapp / Website Swap : HTTP Ping Error

When trying to swap an Azure website from staging to production I got this error:尝试将 Azure 网站从登台转换为生产时,我收到此错误:

Switch-AzureWebsiteSlot : ExpectationFailed : Cannot swap site slots for site 'xxx' because the 'staging' slot did not respond to http ping. Switch-AzureWebsiteSlot:ExpectationFailed:无法为站点“xxx”交换站点插槽,因为“暂存”插槽未响应 http ping。

I got this error in the preview portal, the old one and from the powershell command.我在预览门户、旧门户和 powershell 命令中收到此错误。

The staging slot is up&running before the swap but I saw that after the swap failure it takes time to access it.临时插槽在交换之前启动并运行,但我看到在交换失败后需要时间来访问它。 I understand from a quick search on Google that the staging slot is restarted before swapping to be "hot", but I imagine that the ping is done after the restart?我从 Google 上的快速搜索中了解到,临时插槽在交换为“热”之前重新启动,但我想 ping 是在重新启动后完成的吗?

This is a known issue and Microsoft product team is troubleshooting this on high priority这是一个已知问题,Microsoft 产品团队正在优先解决此问题

Please follow this thread for updates https://social.msdn.microsoft.com/Forums/en-US/14a5afa7-f7df-4e4d-bac9-4d0334f1d6b0/cannot-swap-slots-anymore?forum=windowsazurewebsitespreview请关注此线程以获取更新https://social.msdn.microsoft.com/Forums/en-US/14a5afa7-f7df-4e4d-bac9-4d0334f1d6b0/cannot-swap-slots-anymore?forum=windowsazurewebsitespreview

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM