Azure Web 应用程序抛出错误合并 ETL 文件失败
Azure web apps throws error Merging of ETL files has failed
我们有一个包含两个实例的 Azure 网站。 .net core 2.1.1 与 ef core 和一些其他基本依赖项。有时其中一个实例会处于损坏状态并开始在每个请求上抛出 500。
application insights 中记录的错误级别非常低,因此它似乎发生在框架或 "below" 我们的代码中。最近的变化是从 2.1.0 到 2.1.1,实施 azure key vault,配置 signal-R。
下面的第一个错误似乎表明应用程序洞察力有问题,"ApplicationInsightsProfiler"
没有特定的重现方法,但当我们使用创建大量数据库查询的最大请求时,它似乎开始抛出错误。
关于导致此错误的原因的任何想法,或者关于如何解决导致此错误的原因的一些想法?
第二个错误(在第一个初始错误之后一直抛出)
System.IndexOutOfRangeException:
at Go7 (System.Text.RegularExpressions, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at System.Text.RegularExpressions.CompiledRegexRunner.Go (System.Text.RegularExpressions, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at System.Text.RegularExpressions.RegexRunner.Scan (System.Text.RegularExpressions, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at System.Text.RegularExpressions.Regex.Run (System.Text.RegularExpressions, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at System.Text.RegularExpressions.Regex.IsMatch (System.Text.RegularExpressions, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at System.Text.RegularExpressions.Regex.IsMatch (System.Text.RegularExpressions, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at System.Data.Common.DbConnectionOptions.ValidateKeyValuePair (System.Data.Common, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at System.Data.Common.DbConnectionStringBuilder.set_Item (System.Data.Common, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at System.Data.SqlClient.SqlConnectionStringBuilder.set_Item (System.Data.SqlClient, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at System.Data.Common.DbConnectionStringBuilder.set_ConnectionString (System.Data.Common, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at System.Data.SqlClient.SqlConnectionStringBuilder..ctor (System.Data.SqlClient, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.get_IsMultipleActiveResultSetsEnabled (Microsoft.EntityFrameworkCore.SqlServer, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection+<Microsoft-EntityFrameworkCore-Storage-IRelationalConnection-RegisterBufferableAsync>d__61.MoveNext (Microsoft.EntityFrameworkCore.Relational, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)
第一个错误:合并 ETL 文件失败 (0x80070507)(标志:0x0000011f)。
System.Runtime.InteropServices.COMException:
at DiagnosticsHub.StandardCollector.Host.Interop.ICollectionSession.Stop (ApplicationInsightsProfiler, Version=2.4.60711.2, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at Microsoft.ServiceProfiler.Collectors.StandardCollectorBase.<StopAndCollectAsync>b__10_0 (ApplicationInsightsProfiler, Version=2.4.60711.2, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at System.Threading.Tasks.Task`1.InnerInvoke (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
at System.Threading.Tasks.Task.Execute (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
at Microsoft.ServiceProfiler.Collectors.DetailedTraceCollector+<StopCollectingAndSaveTrace>d__26.MoveNext (ApplicationInsightsProfiler, Version=2.4.60711.2, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
此处是 Application Insights Profiler 的开发人员。
第一个错误是我们已在 Application Insights 站点扩展的 2.6.5 版中修复的已知错误。使用 Azure 门户升级 Web 应用程序上的站点扩展。
但是,我注意到您使用的是 .NET Core 2.1;目前还有另一个影响 .NET Core 2.1 应用程序的错误,导致没有收集到分析数据。我们有一个修复程序,但尚未发布。
我不知道第二个错误。它可能与探查器无关。
我们有一个包含两个实例的 Azure 网站。 .net core 2.1.1 与 ef core 和一些其他基本依赖项。有时其中一个实例会处于损坏状态并开始在每个请求上抛出 500。
application insights 中记录的错误级别非常低,因此它似乎发生在框架或 "below" 我们的代码中。最近的变化是从 2.1.0 到 2.1.1,实施 azure key vault,配置 signal-R。
下面的第一个错误似乎表明应用程序洞察力有问题,"ApplicationInsightsProfiler"
没有特定的重现方法,但当我们使用创建大量数据库查询的最大请求时,它似乎开始抛出错误。
关于导致此错误的原因的任何想法,或者关于如何解决导致此错误的原因的一些想法?
第二个错误(在第一个初始错误之后一直抛出)
System.IndexOutOfRangeException:
at Go7 (System.Text.RegularExpressions, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at System.Text.RegularExpressions.CompiledRegexRunner.Go (System.Text.RegularExpressions, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at System.Text.RegularExpressions.RegexRunner.Scan (System.Text.RegularExpressions, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at System.Text.RegularExpressions.Regex.Run (System.Text.RegularExpressions, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at System.Text.RegularExpressions.Regex.IsMatch (System.Text.RegularExpressions, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at System.Text.RegularExpressions.Regex.IsMatch (System.Text.RegularExpressions, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at System.Data.Common.DbConnectionOptions.ValidateKeyValuePair (System.Data.Common, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at System.Data.Common.DbConnectionStringBuilder.set_Item (System.Data.Common, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at System.Data.SqlClient.SqlConnectionStringBuilder.set_Item (System.Data.SqlClient, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at System.Data.Common.DbConnectionStringBuilder.set_ConnectionString (System.Data.Common, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at System.Data.SqlClient.SqlConnectionStringBuilder..ctor (System.Data.SqlClient, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.get_IsMultipleActiveResultSetsEnabled (Microsoft.EntityFrameworkCore.SqlServer, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection+<Microsoft-EntityFrameworkCore-Storage-IRelationalConnection-RegisterBufferableAsync>d__61.MoveNext (Microsoft.EntityFrameworkCore.Relational, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)
第一个错误:合并 ETL 文件失败 (0x80070507)(标志:0x0000011f)。
System.Runtime.InteropServices.COMException:
at DiagnosticsHub.StandardCollector.Host.Interop.ICollectionSession.Stop (ApplicationInsightsProfiler, Version=2.4.60711.2, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at Microsoft.ServiceProfiler.Collectors.StandardCollectorBase.<StopAndCollectAsync>b__10_0 (ApplicationInsightsProfiler, Version=2.4.60711.2, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
at System.Threading.Tasks.Task`1.InnerInvoke (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
at System.Threading.Tasks.Task.Execute (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
at Microsoft.ServiceProfiler.Collectors.DetailedTraceCollector+<StopCollectingAndSaveTrace>d__26.MoveNext (ApplicationInsightsProfiler, Version=2.4.60711.2, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
此处是 Application Insights Profiler 的开发人员。 第一个错误是我们已在 Application Insights 站点扩展的 2.6.5 版中修复的已知错误。使用 Azure 门户升级 Web 应用程序上的站点扩展。
但是,我注意到您使用的是 .NET Core 2.1;目前还有另一个影响 .NET Core 2.1 应用程序的错误,导致没有收集到分析数据。我们有一个修复程序,但尚未发布。
我不知道第二个错误。它可能与探查器无关。