on
20 Mar 2024
05:20 PM
- edited on
28 Jul 2025
07:38 AM
by
Adam-Piotrowicz
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.
Responses should have the 200 OK status, and the response body should start with OK. If 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.
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.
If you see that the RUM JavaScript isn't downloadable, there might be a few reasons for that.
For agentless monitoring
The RUM JavaScript is incorrect. Verify setup with Set up agentless Real User Monitoring documentation.
Content Security Policy rules prevent loading of the RUM JavaScript.
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
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.
If you see that the RUM beacons are rejected and not forwarded to the server, there might be several reasons for that.
Rules on firewalls, load balancers, or proxies may need to be adapted. Refer to Firewall constraints for RUM for details.
rb_
prefix. Read more here.Content Security Policy settings may need to be adapted.
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:
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!
Hi ,
Dynatrace Java script is not injecting for me , we have akamai and another webser , what is the trouble shooting that i can do.
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.
Thanks Elena,
I am trying in agentless , do you have any time to connect for 30 minutes.