So we just wired up our app to Azure Application Insights, and we are seeing an abnormally high number of these errors. Any ideas?
System.ArgumentOutOfRangeException:
at System.String.Substring (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at ServiceStack.Host.HttpRequestAuthentication.GetBasicAuth (ServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=nullServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null: C:\BuildAgent\work\3481147c480f4a2f\src\ServiceStack\Host\HttpRequestAuthentication.csServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null: 51)
at ServiceStack.Host.HttpRequestAuthentication.GetBasicAuthUserAndPassword (ServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=nullServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null: C:\BuildAgent\work\3481147c480f4a2f\src\ServiceStack\Host\HttpRequestAuthentication.csServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null: 56)
at ServiceStack.Auth.ApiKeyAuthProvider.PreAuthenticate (ServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=nullServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null: C:\BuildAgent\work\3481147c480f4a2f\src\ServiceStack\Auth\ApiKeyAuthProvider.csServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null: 232)
at ServiceStack.AuthenticateAttribute.PreAuthenticateAsync (ServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=nullServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null: C:\BuildAgent\work\3481147c480f4a2f\src\ServiceStack\AuthenticateAttribute.csServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null: 103)
at ServiceStack.AuthenticateAttribute+<ExecuteAsync>d__12.MoveNext (ServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=nullServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null: C:\BuildAgent\work\3481147c480f4a2f\src\ServiceStack\AuthenticateAttribute.csServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null: 72)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at ServiceStack.ServiceStackHost+<ApplyRequestFiltersSingleAsync>d__330.MoveNext (ServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=nullServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null: C:\BuildAgent\work\3481147c480f4a2f\src\ServiceStack\ServiceStackHost.Runtime.csServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null: 167)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at ServiceStack.ServiceStackHost+<ApplyRequestFiltersAsync>d__329.MoveNext (ServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=nullServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null: C:\BuildAgent\work\3481147c480f4a2f\src\ServiceStack\ServiceStackHost.Runtime.csServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null: 132)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at ServiceStack.Host.RestHandler+<ProcessRequestAsync>d__14.MoveNext (ServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=nullServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null: C:\BuildAgent\work\3481147c480f4a2f\src\ServiceStack\Host\RestHandler.csServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null: 92)