部署 Azure 应用服务时出错:ERROR_COULD_NOT_CONNECT_TO_REMOTESVC

cto*_*tor 5 azure azure-devops azure-webapps

我在通过 Azure DevOps 部署应用程序服务时遇到以下错误。我试图搜索这个问题,但找不到根本原因。

错误 :

2021-03-15T06:01:27.7479723Z ##[error]Error: Error Code: ERROR_COULD_NOT_CONNECT_TO_REMOTESVC
More Information: Could not connect to the remote computer ("web-app.scm.azurewebsites.net") using the specified process ("Web Management Service") because the server did not respond. Make sure that the process ("Web Management Service") is started on the remote computer.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_COULD_NOT_CONNECT_TO_REMOTESVC.
Error: The remote server returned an error: (403) Forbidden.
Error count: 1.
'''
Run Code Online (Sandbox Code Playgroud)

Stu*_*rla 15

我尝试了一切,直到我发现(读完本文后)我的(开发)共享应用服务服务计划存储空间不足!当我将其升级到更大的时候,我可以再次部署!

在此输入图像描述


cto*_*tor 0

感谢爱德华对可能的根本原因的深刻解释。问题现已解决。根本原因是所选的代理池没有部署权限(IP 未列入生产应用服务的白名单),因为我们没有直接在生产环境中使用 DevOps 提供的代理。 在此输入图像描述