从逻辑应用调用 Azurefunction 会引发"Runtime keys are stored on blob storage. This API doesn't support this co



我有一个逻辑应用程序,它调用了几个函数应用程序。这非常有效,但当逻辑应用程序调用Function时,我突然出现了一个错误。错误是:

{
"Message": "The 'code' query parameter provided in the HTTP request did not match the expected value."
}

我们没有重新生成密钥,密钥是有效的,因为我们可以用poster执行webhook函数。

但当我查看活动日志时,我在listkeys操作中出现了以下错误:

{
"Message": "An error has occurred.",
"ExceptionMessage": "Runtime keys are stored on blob storage. This API doesn't support this configuration.",
"ExceptionType": "System.InvalidOperationException",
"StackTrace": "   at Kudu.Core.Functions.FunctionManager.<GetKeyObjectFromFile>d__9`1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Kudu.Core.Functions.FunctionManager.<GetFunctionSecretsAsync>d__12.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Kudu.Services.Functions.FunctionController.<GetSecrets>d__12.MoveNext()"
}

有没有办法改变钥匙的存放方式?为什么我突然收到这条信息,一分钟又一分钟都没有任何改变?

我解决了我的问题。

它发现应用程序设置是这方面的错误指示器。

当您将应用程序设置"AzureWebJobsSecretStorageType"设置为"blob"时,您将收到上面的错误!

删除此设置为我解决了这个问题!

相关内容

最新更新