azure - Microsoft.Azure.WebJobs.Extensions.EventGrid : Object reference not set to an instance of an object

标签 azure .net-core azure-functions azure-function-app azure-eventgrid

我有一个azure函数V3(消费计划,Windows,.net 3.1),也使用依赖注入(inject)。 该功能运行良好,之前已发布过多次。 上次发布后,它运行良好,并且执行了太多请求。 突然我收到 503 错误“Microsoft.Azure.WebJobs.Extensions.EventGrid:对象引用未设置到对象的实例。”

尝试重新启动应用服务,重新发布相同的代码...没有解决我的问题。

请指教。

最佳答案

我也有类似的症状,对我来说,事实证明 EF Core 的最新更新引起了问题。我还不知道为什么,但我将 Microsoft.EntityFrameworkCore.SqlServer 从 5.0.4 恢复到 3.1.1,一切都重新开始工作。

关于azure - Microsoft.Azure.WebJobs.Extensions.EventGrid : Object reference not set to an instance of an object,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66128188/

相关文章:

nuget - 如何在最新的.NET Core工具中实现版本自动递增?

azure - 使用服务总线触发器在 Azure 函数中引用配置中的主题和订阅名称

javascript - 如何在 Azure Function 中使用 Azure 存储表?

azure - 在 Azure 应用服务上启用 gzip 压缩

python - 通过 Python Web API 进行 Azure AD 身份验证

Azure 服务总线 - 使用 BrokeredMessage.GetBody 读取 .NET Core 2 发送的消息

c# - 如何调用.Net Framework中的函数到.Net core

amazon-web-services - Cloudformation 自定义资源创建失败

java - 部署的 Azure 无服务器函数看不到函数之外的类

Azure ML : how to change the "cluster purpose" of an existing inference cluster from "dev_test" to "production"?