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

 

Problem

This page explains what to do when Real User Monitoring (RUM) isn't working in your environment, specifically when there are issues with the bf.

rumverification5-1390-b3d8596c92

 

 

Responses should have the 200 OK status, and the response body should start with OKIf the response body starts with FL, the RUM beacon was rejected and not forwarded to the server. The response contains additional information about the problem. For further details, check RUM JavaScript doesn't report data to server.

 

RUM JavaScript isn't injected

If you don't see the RUM JavaScript automatically injected by OneAgent into your webpages, it's probably because of one of the following reasons.

  • Dynatrace OneAgent could not identify the content as HTML or canceled the injection attempt due to an invalid HTML structure or incorrect encodings. Make sure that you're using well-formed HTML with opening and closing tags for <HTML> and <HEAD>. See RUM JavaScript injection to learn how OneAgent injects the RUM JavaScript into your application.
  • The request maps to a different application than expected because application detection was set up incorrectly. Either the pattern is incorrect, or the associated web servers operate behind proxies or other components that are rewriting the URL. For details, see What can I do if an uninstrumented component rewrites parts of the URL?.
  • The application that is detected by OneAgent on the first instrumented tier is not propagated to subsequent OneAgents because the x-dynatrace-application header is removed by a firewall or proxy.
  • You have defined exclusion rules for browsers, robots, and spiders.

 

RUM JavaScript isn't downloadable

If you see that the RUM JavaScript isn't downloadable, there might be a few reasons for that.

  • For agentless monitoring

  • For automatic injection on web servers

    • Rules on firewalls, load balancers, or proxies aren't configured to allow RUM JavaScript download. Refer to Firewall constraints for RUM for details.

  • For automatic injection on Java application servers

    • Root application doesn't exist. The RUM JavaScript is usually loaded from the web server root path (.../ruxitagentjs_...).
    • Your Java application server serves static content in a way that doesn't use the servlet stack. In such cases, the RUM JavaScript can't be downloaded.

     

To resolve a JavaScript download issue caused by a missing root application, configure an accessible path (for example, a valid servlet path) as described in Modify the monitoring code URL path.

 

RUM JavaScript doesn't report data to server

If you see that the RUM beacons are rejected and not forwarded to the server, there might be several reasons for that.

 

What's Next?

If you continue to see the unexpected behavior after completing all the troubleshooting above, please contact Dynatrace on the in-product chat/ create ticket. Provide the following information:

  • Link to the RUM application in Dynatrace,
  • Link to the related Service(s) or Process Group(s) in Dynatrace,
  • State the issue and the troubleshooting that you have completed,
  • Link to the application being monitored with steps to reproduce the issue.
    • If the application is not publicly available, provide a har file
Version history
Last update:
‎28 Jul 2025 07:38 AM
Updated by:
Comments
Kenny_Gillette
DynaMight Leader
DynaMight Leader

Wow, great doc!  Definitely saving this.

Taylor-Sanchez
Dynatrace Mentor
Dynatrace Mentor

This is a wonderful reference! Thanks for taking the time to write something like this up - I'm sure a lot of people will find it useful when troubleshooting!

GerardJ
Mentor

Really great work! Many thanks to you

AlvinPeterson
Participant

Great stuff here!  Thank you!

tijust1
Advisor

Very helpful.

Amarnadh_Sunkar
Frequent Guest

Hi ,

 

Dynatrace Java script is not injecting for me , we have akamai and another webser , what is the trouble shooting that i can do. 

 

erh_inetum
Champion

Hi @Amarnadh_Sunkar ,

We had the same situation and we solved it configurating the application as agentless. Here you have the documentation.

Hope it helps.

Regards,

Elena.

Amarnadh_Sunkar
Frequent Guest

Thanks Elena,

 

I am trying in agentless , do you have any time to connect for 30 minutes.

lekpamartin
Visitor

Very helpful

Doaa_Sobhy
Helper

Thank you for that great efforts