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 }}
Repository navigation
Events are not sent in AWS Lambda (ASP.NET Core Web API) . #215
As far as AWS lambda freezes all background threads right after returning results, exceptionless is not working, seems to be because of Timers also get frozen.
changed the title [-]AWS Lambda ASP.NET Web API Exceptionless not working.[/-][+]Events are not sent AWS Lambda (ASP.NET Core Web API) . [/+]on Aug 19, 2019
changed the title [-]Events are not sent AWS Lambda (ASP.NET Core Web API) . [/-][+]Events are not sent in AWS Lambda (ASP.NET Core Web API) . [/+]on Aug 19, 2019
The inner for loop won't do anything because the compiler will remove it. You'd be better to just call ProcessQueueAsync and await it otherwise a deadlock could occur. Were you able to get any further on this issue?
Activity
[-]AWS Lambda ASP.NET Web API Exceptionless not working.[/-][+]Events are not sent AWS Lambda (ASP.NET Core Web API) . [/+][-]Events are not sent AWS Lambda (ASP.NET Core Web API) . [/-][+]Events are not sent in AWS Lambda (ASP.NET Core Web API) . [/+]niemyjski commentedon Aug 19, 2019
You could call ProcessQueue inside of here:
context.Response.OnCompleted(() =>
{
// Perform slow code here.
return Task.CompletedTask;
});
or on the last line of your function. Did that solve it?
hmvs commentedon Aug 20, 2019
I've tried these two variants. Both of them responds only when the whole code executes, including part in
OnCompletedblock.niemyjski commentedon Sep 20, 2019
The inner for loop won't do anything because the compiler will remove it. You'd be better to just call ProcessQueueAsync and await it otherwise a deadlock could occur. Were you able to get any further on this issue?
niemyjski commentedon Jan 16, 2020
Were you able to get any further on this issue?
hmvs commentedon Feb 20, 2020
Unfortunately, no. Just thought we need some very lightweight client.
niemyjski commentedon Jan 4, 2021
What happens if you call ExceptionlessClient.Default.Startup() in your app. Does it always report the events?
niemyjski commentedon Jan 10, 2021
We just made some huge improvements to our ASP.NET Core client to better support functions. Can you please upgrade to https://github.com/exceptionless/Exceptionless.Net/releases/tag/v4.6.2 and let us know if you run into any issues.
ejsmith commentedon Jan 12, 2021
Take a look at these sample apps as well:
https://github.com/exceptionless/Exceptionless.Net/tree/master/samples/Exceptionless.SampleLambda
https://github.com/exceptionless/Exceptionless.Net/tree/master/samples/Exceptionless.SampleLambdaAspNetCore