我有一个在Azure中工作正常的timerTrigger函数,但在本地运行它时会返回"错误调用函数host:Unauthorized".怎么了 ?如何在本地运行时间触发器?
function.json
{
"bindings": [
{
"name": "myTimer",
"type": "timerTrigger",
"direction": "in",
"schedule": "0 30 8 * * 1"
}
],
"disabled": false
}
Run Code Online (Sandbox Code Playgroud)
在Visual Studio代码(或命令行)中执行它
Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.
PS C:\Projects\reporting-function> func run .\MyFunction\
Error calling the functions host: Unauthorized
PS C:\Projects\reporting-function>
Run Code Online (Sandbox Code Playgroud) 我们如何使用Fiddler Core在计算机根存储中安装Fiddler根证书?我们可以使用certmgr来完成它,但使用FiddlerCore来做它会很棒.它似乎有方法来测试和安装除机器根存储之外的所有东西:(!?
FiddlerCore有以下方法:
Fiddler.CertMaker.rootCertExists() to"确定自签名根证书是否存在"如果返回false,我们可以调用Fiddler.CertMaker.createRootCert()来安装证书.
Fiddler.CertMaker.rootCertIsTrusted()测试Fiddler的根证书是否在Root存储中.如果返回false,我们可以调用Fiddler.CertMaker.trustRootCert()来信任证书.
Fiddler.CertMaker.rootCertIsMachineTrusted()检查"机器根存储中是否是Fiddler的根证书?"如果它返回false ??? 我们该怎么做才能解决这个问题?