2017-10-28 52 views
0

我有一个逻辑应用程序,这调用了几个functionapps。 这工作wonderfull,但突然我逻辑应用程序调用函数时出现错误。错误是:从逻辑应用程序调用Azure功能会抛出“运行时密钥存储在blob存储上,此API不支持此配置。”

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

我们没有重新生成密钥和密钥是有效的,因为我们可以用邮递员执行网络挂接函数。

但是,当我isnpect活动日志我的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()" 
} 

有没有办法来改变密钥的存储?为什么我突然间没有任何改变这个信息从一分钟到另一分钟?

回答

0

我解决了我的问题。

它发现Appsetting是这方面的错误指标。

当您将Appsetting“AzureWebJobsSecretStorageType”设置为“blob”时,您将得到上述错误!

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

+0

当您启用插槽时,可能已设置。请注意,没有这个插槽将无法正常工作。底线是这些插槽在逻辑应用程序中播放不好。事实上,门户网站明确表示:“启用插槽(预览)时,逻辑应用程序与功能的集成不起作用。 选择此预览功能将重置所有预先存在的秘密。功能秘密可在”管理“节点为每个功能。*“ –

+0

嗯谢谢你的这个信息,这是有道理的 – Sascha

相关问题