创建Azure功能App时出错

问题描述 投票:1回答:1

我正在按照本教程中的步骤进行automatically create image thumbnails

我通过运行此代码(替换所有相关值)来创建功能应用程序的步骤:

az functionapp create --name <function_app> --storage-account <general_storage_account>  
\ --resource-group myResourceGroup --consumption-plan-location westcentralus

在此步骤之后的任何阶段,如果我在门户中查看功能应用程序,我收到以下错误,我无法找到原因The function runtime is unable to start. Please check the runtime logs for any errors or try again later. Microsoft.AspNetCore.DataProtection: The payload was invalid.

azure azure-cli azure-function-app-proxy
1个回答
0
投票

这个问题似乎与:https://github.com/Azure/azure-webjobs-sdk-script/issues/2072有关

如果您使用的是Website_ContentShare设置(这意味着使用相同的存储帐户),您可能会遇到此问题。

转到https://.scm.azurewebsites.net/DebugConsole进入数据 - >函数删除secrets文件夹如果不起作用:

浏览到功能应用程序的存储帐户进入天蓝色门户网站,进入容器 - > azure-webjobs-secrets使用您的功能应用程序名称删除容器,例如截图中带圆圈的条目:enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.