-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CreateRequestTelemetryPrivate: System.ArgumentOutOfRangeException: Length cannot be less than zero. #1513
Comments
method is here: ApplicationInsights-dotnet/WEB/Src/Web/Web.Shared.Net/Implementation/RequestTrackingExtensions.cs Line 14 in 35e4bb2
I don't see an explicit call to String.Substring |
I'm also getting this constantly now and it's a bit of a hassle as it swamps the rest of my trace telemetry. It emerged for me at the 2.11.0-21474 version as an IndexOutOfRangeException and then evolved into ArgumentOutOfRangeException in 2.12.0-21496. Version: dotnet:2.10.0-31626 Version: dotnet:2.11.0-21474
Version: dotnet:2.12.0-21496
It's hard to find a consistent pattern between events just prior to the error especially as I'm always working with a sampled subset of the events data. Can't seem to reproduce outside of production which might be a clue (availability?). |
@jakenuts thank you for the extra call stacks, this was a big help! I think the ApplicationInsights-dotnet/WEB/Src/Common/W3C/W3CUtilities.cs Lines 13 to 25 in e9e9347
The
|
We had a fix for this in 2.13-beta1. The plan is to disable compiler in-line optimization for this method only in the 2.13-beta2. |
FYI - 2.13-beta1 did seem to resolve this for us. |
we're no longer seeing this error so i'm going to close this as resolved. |
Repro Steps
SDK telemetry got the following exception trending:
Version Info
SDK Version : 2.12.0-21496
The text was updated successfully, but these errors were encountered: