[英]Blob triggered Azure function doesn't work deployed but works locally, and no sign of any error
Here's my Azure function made with VS2017 15.6.0 Preview 1.1 - https://github.com/alvipeo/azfunc .这是我使用 VS2017 15.6.0 Preview 1.1 制作的 Azure 函数 - https://github.com/alvipeo/azfunc 。 It perfectly works when I run it locally with VS.
当我使用 VS 在本地运行它时,它完美地工作。
I created a CI/CD pipeline with VSTS.我用 VSTS 创建了一个 CI/CD 管道。 No errors there too, all deployed successfully.
那里也没有错误,全部部署成功。
I set all settings in Azure, so it should work when deployed.我在 Azure 中设置了所有设置,因此在部署时它应该可以工作。 But it doesn't.
但事实并非如此。 And what's more, I see NO SIGN of errors or any log records anywhere (but I enabled everything in the Diagnostics and I have App Insights).
更重要的是,我在任何地方都看不到任何错误迹象或任何日志记录(但我启用了诊断中的所有内容并且我有 App Insights)。
Thanks to Microsoft engineers, it's solved.感谢微软工程师,它已经解决了。 Here's what needs to be done:
以下是需要做的事情:
FUNCTIONS_EXTENSION_VERSION=~2
FUNCTIONS_EXTENSION_VERSION=~2
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.