cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dynatrace OneAgent is removing the Response header <Content -Type>

easwaranM
Newcomer

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

3 REPLIES 3

Babar_Qayyum
DynaMight Leader
DynaMight Leader

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:

https://www.dynatrace.com/support/help/how-to-use-dynatrace/real-user-monitoring/setup-and-configura...

 

Regards,

Babar

Julius_Loman
DynaMight Guru
DynaMight Guru

@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?

TEMPEST a.s., Slovakia, Dynatrace Master Partner

harald_berger
Dynatrace Pro
Dynatrace Pro

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