22 Nov 2021 02:13 PM - last edited on 23 Nov 2021 08:31 AM by MaciejNeumann
Dear All,
We are facing a strange issue here.
Once we enabled OneAgent on the node, Application is not working ,once we disabled OneAgent application is working fine.
And we found that, after enabled one Agent there is a header called <Content-Type> is missing in the response header. which causing the issue.
Attached sample response headers after and before.
It is a Java based application. and latest Dynatrace agent.
Is anyone faced the similar issue, and what could be solution for this.
Thanks,
Easwaran M
Solved! Go to Solution.
24 Nov 2021 07:36 AM
Hello @easwaranM
Content-Type is set for responses to special requests.
Please have a look at the below link for the Firewall constraints for RUM:
Regards,
Babar
24 Nov 2021 07:43 AM
@easwaranM do you have maybe a WAF or other component in place between the browser and the application servers which could modify the requests?
In addition, I see a larger response size in the OneAgent reply. If it's JSON, then Dynatrace won't do anything with the payload anyway. Did you check the payload?
25 Nov 2021 01:21 PM
Hi,
The content type is never removed from any agent. RUM usually removes the content-length when doing successful injection, so the webserver starts chunking. Please check if your agent is up-to-date. There have been issues with agents using the beta feature RUMv2 in the past. Please do not activate it, as it will be removed in the future.
Best
Harry
18 Dec 2021 07:34 AM
Dear All,
Thanks for your valuable updates, This issue has been resolved after 2 agent upgrades.
Regards,
Easwaran M