# RUM - frontend application not visible

**URL:** <https://community.dynatrace.com/t/rum-frontend-application-not-visible/43271>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic, iis\
**Created:** [December 18, 2023, 9:30pm UTC](https://community.dynatrace.com/t/rum-frontend-application-not-visible/43271 "2023-12-18T21:30:17Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarwanC](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/marwanc/32/34480_2.png) [@MarwanC](https://community.dynatrace.com/u/MarwanC)\
**Post date:** [December 18, 2023, 9:30pm UTC](https://community.dynatrace.com/t/rum-frontend-application-not-visible/43271/1 "2023-12-18T21:30:17Z")

</div>

Dear Gurus,

I have an issue with IIS on Windows that is not showing neither in Default App or Specifically created Frontend App,

We have successfully enabled all capture setting required as we did in other Apps but is not capturing anything

However, if we invoke the application URL&nbsp; by IP it shows in the default application, otherwise it is not showing anywhere.

The two IIS services are serving the website via a load balancer and the frontend app that we created in DT checks for the rule of the domain that the users are using, They do not use the DNS ip to invoke the URL.

Any idea, what is going on, any config you suggest in Dynatrace to resolve this issue

I appreciate your support in this,

Marwan

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [December 18, 2023, 9:55pm UTC](https://community.dynatrace.com/t/rum-frontend-application-not-visible/43271/2 "2023-12-18T21:55:22Z")

</div>

There are practically unlimited reasons for this. I’d suggest using dtHealthCheck as the user agent and then checking the response headers. You can see that in action in one of the community episodes here

[![](https://global.discourse-cdn.com/dynatrace/original/3X/b/1/b152852e5ebdd3695248fc4ff4d59d10f5fa9f92.jpeg "Dynatrace Tips & Tricks – Episode #2 with Julius Loman") ](https://www.youtube.com/watch?v=cBQ_AF5J8m8&t=850s)

---

<div class="post-metadata">

**Author:** ![Islam\_Zedan](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/islam_zedan/32/31999_2.png) [@Islam\_Zedan](https://community.dynatrace.com/u/Islam_Zedan)\
**Post date:** [December 19, 2023, 6:34am UTC](https://community.dynatrace.com/t/rum-frontend-application-not-visible/43271/3 "2023-12-19T06:34:54Z")

</div>

In addition to&nbsp;[@Julius\_Loman](https://community.dynatrace.com/user/3364)&nbsp;advice, you need also to make sure of all the security requirements for RUM in case that you are using loadbalancer and most probably a WAF.

> **[Infrastructure pass-through requirements for RUM Classic](https://docs.dynatrace.com/docs/observe/digital-experience/rum-classic/web-applications/initial-setup/infrastructure-pass-through-requirements-classic)**
>
> Learn which requests, headers, and cookies must pass through your infrastructure for RUM Classic to work as expected.

Thanks,

Islam

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [December 19, 2023, 7:23am UTC](https://community.dynatrace.com/t/rum-frontend-application-not-visible/43271/4 "2023-12-19T07:23:44Z")

</div>

Yes exactly. First, check if the JavaScript gets injected. If not, validate it using the dtHealthCheck or you can also use the Health Check in the UI:

 ![Julius_Loman_0-1702970095003.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/8/b872cc16303615e26a0d8371ab07e8472932ad6d.png)

Maybe the RUM JS cannot be downloaded, or the beacon it sends back cannot be received because of a different context path.

---

<div class="post-metadata">

**Author:** ![MarwanC](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/marwanc/32/34480_2.png) [@MarwanC](https://community.dynatrace.com/u/MarwanC)\
**Post date:** [December 20, 2023, 10:40am UTC](https://community.dynatrace.com/t/rum-frontend-application-not-visible/43271/5 "2023-12-20T10:40:27Z")

</div>

We ran the health check. The two items are not clear. As I said the APP the URL with IP is showing correctly in the defaults APP but not showing in the dedicated APP that I created. It means the injection is working but somehow the DT injection is not working on the domain (see attached screenshot)

 ![1.PNG](https://global.discourse-cdn.com/dynatrace/original/2X/1/1ed74aee08ff97f49bffce80c13b5e8285a9f59a.png)

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [December 20, 2023, 10:52am UTC](https://community.dynatrace.com/t/rum-frontend-application-not-visible/43271/6 "2023-12-20T10:52:25Z")

</div>

Most likely the domain is not propagated to the webserver (host request header is different on the IIS host as some reverse proxy modifies it). Dynatrace then cannot determine the host name. Check the host header on the webserver in Dynatrace (in the distributed traces).

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [December 20, 2023, 11:38am UTC](https://community.dynatrace.com/t/rum-frontend-application-not-visible/43271/7 "2023-12-20T11:38:03Z")

</div>

Hi,

Maybe because you are using [opt-mode](https://docs.dynatrace.com/docs/shortlink/configure-rum-privacy#user-opt-in-mode-gdpr)? It is disabled by default.

If it is turned on, be sure you are calling “dtrum.enable()”.

[This tip](https://community.dynatrace.com/topic/211010) maybe helps.

Best regards

---

<div class="post-metadata">

**Author:** ![MarwanC](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/marwanc/32/34480_2.png) [@MarwanC](https://community.dynatrace.com/u/MarwanC)\
**Post date:** [January 26, 2024, 10:03am UTC](https://community.dynatrace.com/t/rum-frontend-application-not-visible/43271/8 "2024-01-26T10:03:31Z")

</div>

resolved now by enabling opt-mode.

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [January 26, 2024, 2:03pm UTC](https://community.dynatrace.com/t/rum-frontend-application-not-visible/43271/9 "2024-01-26T14:03:42Z")

</div>

Nice, maybe you want to say disabling opt-mode, right?

---

<div class="post-metadata">

**Author:** ![MarwanC](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/marwanc/32/34480_2.png) [@MarwanC](https://community.dynatrace.com/u/MarwanC)\
**Post date:** [February 7, 2024, 5:40pm UTC](https://community.dynatrace.com/t/rum-frontend-application-not-visible/43271/10 "2024-02-07T17:40:49Z")

</div>

indeed.&nbsp;resolved now by disabling opt-mode. The description of this flag is confusing may be a rephrase of the description needs to be updated.

---

<div class="post-metadata">

**Author:** ![sujit\_k\_singh](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sujit\_k\_singh](https://community.dynatrace.com/u/sujit_k_singh)\
**Post date:** [February 12, 2024, 11:56pm UTC](https://community.dynatrace.com/t/rum-frontend-application-not-visible/43271/11 "2024-02-12T23:56:19Z")

</div>

[@MarwanC](https://community.dynatrace.com/user/64346)&nbsp;Thanks for this post, I had similar issue which got fixed after disabling opt-mode. Even i was bit confused after the going through the description. However, it got fixed.

Thanks

Tijust

---

<div class="post-metadata">

**Author:** ![MarwanC](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/marwanc/32/34480_2.png) [@MarwanC](https://community.dynatrace.com/u/MarwanC)\
**Post date:** [February 20, 2024, 2:53pm UTC](https://community.dynatrace.com/t/rum-frontend-application-not-visible/43271/12 "2024-02-20T14:53:27Z")

</div>

To put it bluntly, the current description is like this.

“With&nbsp;Data-collection and opt-in mode&nbsp;enabled, Real User Monitoring data isn’t captured until dtrum.enable()  
is called for specific user sessions”

As this is the most important flag to make the whole capturing to work,

I suggest&nbsp;Dynatrace product team to rephrase it to the layman to avoid extra double work

I suggest the following:

If the Data-collection and opt-in mode (radio button off) are disabled, Real User Monitoring data  
will be captured without needing to call dtrum.enable() for specific user sessions.  
When the Data-collection and opt-in mode are enabled (radio button on), Real User Monitoring  
data won’t be captured until dtrum.enable() is called for specific user sessions.

I hope this is clear to everyone

I have seen many occasions where the double negation is used I will try to help from experience  
when possible.

Marwan…
