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.
Solved! Go to Solution.
Content-Type is set for responses to special requests.
Please have a look at the below link for the Firewall constraints for RUM:
@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?
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.