28 Sep 2023
03:02 PM
- last edited on
29 Sep 2023
08:30 AM
by
MaciejNeumann
After enabling the request body using any json key or even * according to the documentation, the APIs stop responding, the parameters do not reach the API.
The error only happens when using Request Body, any other parameter works correctly.
Message after enable capture request body:
A non-empty request body is required.
Stack:
Azure Web Apps with OneAgent Version: 1.269.166.20230715-203547
Dotnet 6.0
Dynatrace Biz Events
Hi @phmonte,
I recommend you that if you find an impediment in the configuration of bizevent for .NET, use the Support portal. The agents will help you with more detail, for example asking for images, logs, and any other file that helps to identify and reproduce your problem. Here, the community will help too, but could be answered in hours or maybe days.
https://dt-url.net/lb626l9
Hi @phmonte,
What happens when you enable the configuration of bizevent?
Your application is not working? Do the captured events contain empty values on the request body variable?
Could you share with us a screenshot of the error you refer to?
Thanks for responding @cesarsaravia
The oneagent log file does not save any error or action information other than conventionally.
I made a drawing to show what is happening.
Remembering that the error only happens with the Request Body, the other options are working correctly.
Hi @phmonte
Did you enable the feature flag of capturing .net bizevents? If yes, do you restarted the Asep.Net application?
Yes, it is enabled and I tried restarting it again.
I tested with other apps (another OneAgent/Webapp) and I have the same problem.
The problem is not resolved, but an alternative is to disable Webserver Business Events [Opt-In].
A ticket was opened, as soon as it was updated by the dynatrace team, I updated it here with the response.
I'm also having this problem and have been working with support to resolve. Can update this thread if/when we get to a resolution.
I suspect I've just come across this problem with .Net as well. Has anyone had an update?
Also, does this problem only occur with .Net, or have people experienced this with other technologies, such as JAVA?
.Net here too..
Technologies: .NET (.NET Core 3.1.32.0), ADO.NET (System.Data.Common 4.700.22.56512), ASP.NET Core (3.100.3222.56610), IIS App Pool (10.0.1776 .NET (.NET Core 3.1.32.0), ADO.NET (System.Data.Common 4.700.22.56512), ASP.NET Core (3.100.3222.56610), IIS App Pool (10.0.17763.1), MSSQL Client (4.700.20.6702)
Service technology types: ASP.NET CORE, IIS, IIS app pool, DotNet