从逻辑应用调用 Azure Function 引发 "Runtime keys are stored on blob storage. This API doesn't support this configuration."
Calling Azurefunction from a logic app throws "Runtime keys are stored on blob storage. This API doesn't support this configuration."
我有一个逻辑应用程序,它调用了几个函数应用程序。
这非常有效,但是当逻辑应用程序调用函数时,我突然遇到了一个错误。错误是:
{
"Message": "The 'code' query parameter provided in the HTTP request did not match the expected value."
}
我们没有重新生成密钥,密钥是有效的,因为我们可以用postman执行webhook函数。
但是当我查看 activity 日志时,我在 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()"
}
有没有办法改变密钥的存储方式?为什么我突然收到这条消息,从一分钟到另一分钟没有任何变化?
我解决了我的问题。
它发现 Appsetting 是错误指示器。
当您将 Appsetting "AzureWebJobsSecretStorageType" 设置为 "blob" 时,您将收到上述错误!
删除此设置为我解决了这个问题!
我有一个逻辑应用程序,它调用了几个函数应用程序。 这非常有效,但是当逻辑应用程序调用函数时,我突然遇到了一个错误。错误是:
{
"Message": "The 'code' query parameter provided in the HTTP request did not match the expected value."
}
我们没有重新生成密钥,密钥是有效的,因为我们可以用postman执行webhook函数。
但是当我查看 activity 日志时,我在 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()"
}
有没有办法改变密钥的存储方式?为什么我突然收到这条消息,从一分钟到另一分钟没有任何变化?
我解决了我的问题。
它发现 Appsetting 是错误指示器。
当您将 Appsetting "AzureWebJobsSecretStorageType" 设置为 "blob" 时,您将收到上述错误!
删除此设置为我解决了这个问题!