创建后,Azure Web App插槽Kudu站点域没有dns记录

我无法通过谷歌搜索找到任何类似的案例,但是过去几天我至少经历了两次。

我们针对Web应用程序的DevOps流程将删除当前插槽并创建一个新插槽,然后进行Web部署。

问题在于创建新广告位后的某个时间; Web部署任务失败,因为Kudu站点域没有DNS记录:-.scm.azurewebsites.net。

  2020-03-24T15:21:06.4051574Z ##[error]Error: Error Code: ERROR_DESTINATION_INVALID
  More Information:  Could not connect to the remote computer ("<app-name>-<slot-name>.scm.azurewebsites.net"). Make sure that the remote computer name is correct and that you are able to connect to that computer.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_INVALID.
  Error: The remote name could not be resolved: '<app-name>-<slot-name>.scm.azurewebsites.net'
  Error count: 1.

当我尝试对该域-.scm.azurewebsites.net进行ping或使用全局ping服务时,没有DNS记录。

如果我们再次尝试该过程(删除插槽并重新创建),则问题通常会消失。

有人曾经经历过吗?谢谢!

guai2009 回答:创建后,Azure Web App插槽Kudu站点域没有dns记录

您显示的格式正确,请检查以下三点:

首先,可能有错字。请检查您的拼写是否有问题。

第二,您可能需要等待否定缓存过期。

第三,请避免重复删除插槽并创建新的插槽。创建新插槽后,将生成一个新的部署文件,并且userPWD与上次将有所不同。

本文链接:https://www.f2er.com/2585361.html

大家都在问