Azure WebJob blade 未显示 - Web 应用程序未 运行
Azure WebJob blade not showing - Web App not running
我从 Visual Studio 2015 年将控制台应用程序作为 WebJob(免费层)发布到 Azure。控制台应用程序需要大约 10 分钟才能 运行 完成,它会定期从资源下载大约 100 个 3-5 MB 的文件,并将其存储在 Azure Blob 中。我希望它每 1 小时 运行。
当我尝试查看应用程序服务时发现它是 WebJob blade,它显示如下:
似乎服务有问题,当我尝试 re-publish 和 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,然后 re-publish作为一个全新的 WebApp。
此外,当浏览到 webapp 时,它显示
403 - This web app is stopped.
知道为什么会这样吗?我该如何诊断?
谢谢
最有可能的解释是您的免费 Web 应用 运行 超出配额(CPU 或内存)并被暂时禁用。旧门户网站 (https://manage.windowsazure.com/) 比新门户网站显示得更好,所以请查看(查看“仪表板”选项卡)。
我从 Visual Studio 2015 年将控制台应用程序作为 WebJob(免费层)发布到 Azure。控制台应用程序需要大约 10 分钟才能 运行 完成,它会定期从资源下载大约 100 个 3-5 MB 的文件,并将其存储在 Azure Blob 中。我希望它每 1 小时 运行。
当我尝试查看应用程序服务时发现它是 WebJob blade,它显示如下:
似乎服务有问题,当我尝试 re-publish 和 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,然后 re-publish作为一个全新的 WebApp。
此外,当浏览到 webapp 时,它显示
403 - This web app is stopped.
知道为什么会这样吗?我该如何诊断?
谢谢
最有可能的解释是您的免费 Web 应用 运行 超出配额(CPU 或内存)并被暂时禁用。旧门户网站 (https://manage.windowsazure.com/) 比新门户网站显示得更好,所以请查看(查看“仪表板”选项卡)。