You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 5, 2020. It is now read-only.
Ok, so I was able to find the root cause of this issue and repro it locally.
Apparently, it happens when multiple apps are hosted in the same process (somewhat typical for ServiceFabric and possible on AspNet Core).
In this case, each app initializes its own AppInsights pipeline and multiple modules start working in parallel.
Because of changes in #952, we in some cases we stop an Activity on the first app. Causing all other hosts to fail with null Current Activity and preventing duplicate dependency collection.
We have a bunch of errors like:
Current Activity is null for event = 'System.Net.Http.HttpRequestOut.Stop'
it also affects ServiceBus.Receive and Process.
It prevents telemetry from being collected.
I was not able to reproduce it and cannot imagine a valid case where this could happen. It indicates some bug.
The text was updated successfully, but these errors were encountered: