【问题标题】:Why is the mongoDB c# driver getting intermittant error DnsClient.DnsResponseException: Header id missmatch为什么 mongoDB c# 驱动程序会出现间歇性错误 DnsClient.DnsResponseException: Header id mismatch
【发布时间】:2019-01-02 10:23:03
【问题描述】:

我从在 dot net core 上运行的 MongoDB C# 驱动程序间歇性地收到以下错误。所有查询都会失败几分钟,抱怨 DNS 查询错误,然后在几分钟后修复。

DnsClient.DnsResponseException: Header id missmatch.
   at DnsClient.DnsUdpMessageHandler.Query(IPEndPoint server, DnsRequestMessage request, TimeSpan timeout)
   at DnsClient.LookupClient.ResolveQuery(DnsMessageHandler handler, DnsRequestMessage request, Audit continueAudit)
   at DnsClient.LookupClient.Query(DnsQuestion question)
   at MongoDB.Driver.Core.Configuration.ConnectionString.Resolve()
   at MongoDB.Driver.MongoUrl.Resolve()
   at MongoDB.Driver.MongoClientSettings.FromUrl(MongoUrl url)

【问题讨论】:

    标签: c# mongodb dns .net-core


    【解决方案1】:

    事实证明,企业服务器备份 (Asigra) 计划在我们看到此错误的同时运行 - 将备份移至其他时间解决了问题。

    【讨论】:

      猜你喜欢
      • 2012-10-06
      • 1970-01-01
      • 2013-10-02
      • 2013-05-15
      • 2022-07-10
      • 2013-09-18
      • 1970-01-01
      • 1970-01-01
      • 2023-03-11
      相关资源
      最近更新 更多