Comments (7)
The accompanying call on the client application that observes this error is actually quite useful and may serve to suggest how to log the exception
A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. Response status code does not indicate success: 500 (Internal Server Error)
from applicationinsights-owinextensions.
This may be my only hope without changing the code:
from applicationinsights-owinextensions.
Hi Colin,
Could you please say something more about your scenario. Do you control the client? Is the A Task's exception(s) were not observed...
error something you see on the client when TaskCanceledException
is logged in application insights? Do you also observe this problem when owin extensions are not used?
from applicationinsights-owinextensions.
Hi Marcin, Yes we control the client too. I was reluctant to remove the middleware as our CI pipeline and getting us into our PerfTest environment is a little cumbersome (but I agree its a good test) . The "good thing" is that this really is a drop in the ocean and its a fraction of 1 percent of calls. I was just keen to get understanding of what the issue was. (I could fork and add additional logging, but I was reluctant to do this too as "in the main" the middleware works)
I am understanding that our architecture protects us from these failures anyway and will confirm this today, which makes this a known issue but a non issue "as it were".
from applicationinsights-owinextensions.
Let me know if you are able to confirm that the middleware is causing the issues.
from applicationinsights-owinextensions.
@marcinbudny Any fix for this issue. we are still getting Task Cancelled exception. Any pointers would be really helpfull.
from applicationinsights-owinextensions.
Moving all discussions to #20
from applicationinsights-owinextensions.
Related Issues (20)
- Add paramters from OwinContext? HOT 4
- When to remove the optional TelemetryInitializers HOT 2
- HTTP 500s not being logged HOT 4
- Support for DependencyCollector? HOT 3
- Assembly Not Signed HOT 3
- Under Load we see this exception HOT 12
- Service Fabric Owin OperationIdContext is null HOT 3
- Support for getContextPropertiesAsync HOT 5
- Support HTTP Protocol for Correlation HOT 4
- Set requestId and parentId to correlate dependencies to requests in the azure portal HOT 7
- System.OperationCanceledException and System.ObjectDisposedException HOT 8
- Could not install package 'ApplicationInsights.OwinExtensions 0.6.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5.2' HOT 2
- ObjectDisposedException at ApplicationInsights.OwinExtensions.HttpRequestTrackingMiddleware HOT 11
- This extension killed my webapp performance HOT 5
- How to set the user context of RequestTelemetry HOT 1
- Nuget package is missing strong name HOT 1
- operation_Name Missing From Custom Event Data HOT 4
- ApplicationInsights.OwinExtensions.HttpRequestTrackingMiddleware+<Invoke>d__4.MoveNext HOT 1
- Conflicting version of Microsoft.Owin HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from applicationinsights-owinextensions.