0

I have the Functions Runtime preview 2 installed . I was able to create and run functions with timer trigger. But the Blob trigger doesn't , seem to 'trigger'. I am using local azure explorer ( local development blob container) as my trigger source. Is this a known issue?

i notice that the mouseover in 'integrate' section shows endpoint protocol as https. i specified http endpoint when creating it( since thats what the local storage emulator supports). but runtime seems to be picking up https on its own. enter image description here

4

1 回答 1

0

我能够使用计时器触发器创建和运行函数。但是 Blob 触发器似乎没有“触发”。

看来问题是您的存储帐户连接字符串。您只需在连接字符串中写入 Blob 端点。如果您不想使用' UseDevelopmentStorage=true',则需要编写完整的连接字符串

DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;TableEndpoint=http://127.0.0.1:10002/devstoreaccount1;QueueEndpoint=http://127.0.0.1:10001/devstoreaccount1;

您还可以检查您身边的功能日志。也许有一个错误。

我注意到“集成”部分中的鼠标悬停将端点协议显示为 https

我已经测试过,该系统基于端点 url 'http'。即使 DefaultEndpointsProtocol=https,我们仍然可以成功使用存储连接字符串。如果我们将DefaultEndpointsProtocol=http端点 url 设置为“https”,则连接字符串将不起作用。

于 2018-03-19T06:52:39.737 回答