【发布时间】:2016-03-20 13:09:13
【问题描述】:
我将 Visual Studio 2015 中的控制台应用程序作为 WebJob(免费层)发布到 Azure。控制台应用程序运行和完成大约需要 10 分钟,它会定期从资源中下载大约 100 个 3-5 MB 的文件,并将其存储在 Azure Blob 中。我希望它每 1 小时运行一次。
当我尝试查看应用程序服务和它的 WebJob 刀片时,它会显示:
服务似乎有问题,当我尝试使用 Visual Studio 重新发布时,出现以下错误:
Microsoft.Web.Publishing.targets(4283,5): Error ERROR_COULD_NOT_CONNECT_TO_REMOTESVC:
Web deployment task failed. (Could not connect to the remote computer
("webjobxxxxxxxxxxxxxxxxxxxxx.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.)
我可以让它摆脱这种状态的唯一方法是删除 WebApp,然后作为全新的 WebApp 重新发布。
另外,浏览到webapp时,会显示
403 - This web app is stopped.
任何想法为什么会发生这种情况?如何诊断?
谢谢
【问题讨论】:
标签: azure azure-webjobs