<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Duplicate Injection: ruxitagentjs and dtjsagent After Second Page Load Action In RUM Session in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Duplicate-Injection-ruxitagentjs-and-dtjsagent-After-Second-Page/m-p/120561#M2060</link>
    <description>&lt;P&gt;Hello Ian,&lt;/P&gt;&lt;P&gt;I had faced almost a similar issue with an application in the past. I found that the same application was instrumented by AppMon and UEM feature was enabled on it.&lt;/P&gt;&lt;P&gt;Once I disabled the UEM from the AppMon then duplication of scripts gone and UEM started work accordingly.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Babar&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 03 Jul 2019 07:03:15 GMT</pubDate>
    <dc:creator>Babar_Qayyum</dc:creator>
    <dc:date>2019-07-03T07:03:15Z</dc:date>
    <item>
      <title>Duplicate Injection: ruxitagentjs and dtjsagent After Second Page Load Action In RUM Session</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Duplicate-Injection-ruxitagentjs-and-dtjsagent-After-Second-Page/m-p/120559#M2058</link>
      <description>&lt;P&gt;I've instrumented a web application in Dynatrace, and all of my applications automatically inject the ruxitagentjs file with a snippet like this:&lt;/P&gt;&lt;PRE&gt;&amp;lt;script type="text/javascript" src="/ruxitagentjs_27SVdfjqrux_10171190702121620.js" data-dtconfig="app=aa1423c5ea7c8b7d|srms=1,1,,,|uxrgcm=100,25,300,3;100,25,300,3|featureHash=27SVdfjqrux|lastModification=1562124269798|srsr=25000|dtVersion=10171190702121620|tp=500,50,0,1|rdnt=1|uxrgce=1|uxdcw=1500|bp=2|agentUri=/ruxitagentjs_27SVdfjqrux_10171190702121620.js|reportUrl=/rb_bf71503msz|rid=RID_1447354126|rpid=-851053352|domain=syscolabs.com"&amp;gt;&amp;lt;/script&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;But then on &lt;EM&gt;only one&lt;/EM&gt; of my applications I get this injected immediately after the above snippet:&lt;/P&gt;&lt;PRE&gt;&amp;lt;script id="dtjsagent" type="text/javascript" src="/ruxitagentjs_27SVdfjqrux_10171190702121620.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/PRE&gt;&lt;P&gt;When this secondary dtjsagent is injected, we get a console log like this:&lt;/P&gt;&lt;PRE&gt;Duplicate agent injection detected, turning off redundant initConfig.&lt;BR /&gt;Initconfig not found or agent already initialized! This is an injection issue.&lt;BR /&gt;Duplicate agent injection detected or no initCode available, turning off redundant core.&lt;BR /&gt;WARNING: Module "2" already enabled!&lt;BR /&gt;WARNING: Module "7" already enabled!&lt;BR /&gt;WARNING: Module "V" already enabled!&lt;BR /&gt;WARNING: Module "d" already enabled!&lt;BR /&gt;WARNING: Module "f" already enabled!&lt;BR /&gt;WARNING: Module "j" already enabled!&lt;BR /&gt;WARNING: Module "q" already enabled!&lt;BR /&gt;WARNING: Module "r" already enabled!&lt;BR /&gt;WARNING: Module "x" already enabled!&lt;/PRE&gt;&lt;P&gt;When the application has a double injection like this, NO USER ACTIONS or RUM occurs.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Here's the &lt;EM&gt;really&lt;/EM&gt; weird part: The first time a user loads this app everything is fine and works normally.  Afterwards, when the user refreshes or loads another page, the duplicate injection occurs.  If the user clears their cookies or opens an incognito/private browser the injection is fine.  It's only starting with the 2nd page load action during a session that a duplicate injection occurs.&lt;/P&gt;&lt;P&gt;I'm so confused!  Has anyone else encountered this type of situation?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jul 2019 05:17:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Duplicate-Injection-ruxitagentjs-and-dtjsagent-After-Second-Page/m-p/120559#M2058</guid>
      <dc:creator>ian_cervantez1</dc:creator>
      <dc:date>2019-07-03T05:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Injection: ruxitagentjs and dtjsagent After Second Page Load Action In RUM Session</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Duplicate-Injection-ruxitagentjs-and-dtjsagent-After-Second-Page/m-p/120560#M2059</link>
      <description>&lt;P&gt;The question is: do you have manual injection on tho single application with double agents? Is it still available when you disable rum for this application? Are you sure that only this application is covering requests from it’s uri pattern?&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jul 2019 05:25:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Duplicate-Injection-ruxitagentjs-and-dtjsagent-After-Second-Page/m-p/120560#M2059</guid>
      <dc:creator>skrystosik</dc:creator>
      <dc:date>2019-07-03T05:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Injection: ruxitagentjs and dtjsagent After Second Page Load Action In RUM Session</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Duplicate-Injection-ruxitagentjs-and-dtjsagent-After-Second-Page/m-p/120561#M2060</link>
      <description>&lt;P&gt;Hello Ian,&lt;/P&gt;&lt;P&gt;I had faced almost a similar issue with an application in the past. I found that the same application was instrumented by AppMon and UEM feature was enabled on it.&lt;/P&gt;&lt;P&gt;Once I disabled the UEM from the AppMon then duplication of scripts gone and UEM started work accordingly.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Babar&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jul 2019 07:03:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Duplicate-Injection-ruxitagentjs-and-dtjsagent-After-Second-Page/m-p/120561#M2060</guid>
      <dc:creator>Babar_Qayyum</dc:creator>
      <dc:date>2019-07-03T07:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Injection: ruxitagentjs and dtjsagent After Second Page Load Action In RUM Session</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Duplicate-Injection-ruxitagentjs-and-dtjsagent-After-Second-Page/m-p/120562#M2061</link>
      <description>&lt;P&gt;Negative, no manual injection.&lt;/P&gt;&lt;P&gt;Yes, sure that no other applications match this uri.  However, when I disable RUM on the application the ruxitagentjs is &lt;EM&gt;still&lt;/EM&gt; injected.  I continue to get duplicate injection.  Not sure how or why, but maybe a cache is preventing the injection from leaving?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jul 2019 07:20:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Duplicate-Injection-ruxitagentjs-and-dtjsagent-After-Second-Page/m-p/120562#M2061</guid>
      <dc:creator>ian_cervantez1</dc:creator>
      <dc:date>2019-07-03T07:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Injection: ruxitagentjs and dtjsagent After Second Page Load Action In RUM Session</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Duplicate-Injection-ruxitagentjs-and-dtjsagent-After-Second-Page/m-p/120563#M2062</link>
      <description>&lt;P&gt;Ah, unfortunately we're not using AppMon but rather Dynatrace.  These are, evidently, separate products. But thanks for the input!&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jul 2019 07:20:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Duplicate-Injection-ruxitagentjs-and-dtjsagent-After-Second-Page/m-p/120563#M2062</guid>
      <dc:creator>ian_cervantez1</dc:creator>
      <dc:date>2019-07-03T07:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Injection: ruxitagentjs and dtjsagent After Second Page Load Action In RUM Session</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Duplicate-Injection-ruxitagentjs-and-dtjsagent-After-Second-Page/m-p/120564#M2063</link>
      <description>&lt;P&gt;Ok another idea. Please confirm if I am correct. You have some application process working on tomcat for example and then you have nginx/apache as reverse proxy? If yes than go to process group related to tomcat and disable injecting rum on this level. This should help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sebastian &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jul 2019 07:44:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Duplicate-Injection-ruxitagentjs-and-dtjsagent-After-Second-Page/m-p/120564#M2063</guid>
      <dc:creator>skrystosik</dc:creator>
      <dc:date>2019-07-03T07:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Injection: ruxitagentjs and dtjsagent After Second Page Load Action In RUM Session</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Duplicate-Injection-ruxitagentjs-and-dtjsagent-After-Second-Page/m-p/120565#M2064</link>
      <description>&lt;P&gt;Yes, we've got nginx serving as a reverse proxy for tomcat.  However, that's the setup for _all_ of the applications, and they're actually powered by the exact same nginx/tomcat with domain names causing tomcat to load a different context path.  Why would this only affect 1 webapp and not all 5 of them?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jul 2019 16:01:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Duplicate-Injection-ruxitagentjs-and-dtjsagent-After-Second-Page/m-p/120565#M2064</guid>
      <dc:creator>ian_cervantez1</dc:creator>
      <dc:date>2019-07-03T16:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Injection: ruxitagentjs and dtjsagent After Second Page Load Action In RUM Session</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Duplicate-Injection-ruxitagentjs-and-dtjsagent-After-Second-Page/m-p/120566#M2065</link>
      <description>&lt;P&gt;So, it's been about 12 hours since I disabled the RUM on the problem app, and now that some caches have had a chance to clear I am no longer seeing any injection in the problem app.  I haven't restarted any processes or disabled RUM anywhere else.&lt;/P&gt;&lt;P&gt;RUM injection still working perfectly for all other apps served by the same host.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jul 2019 16:09:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Duplicate-Injection-ruxitagentjs-and-dtjsagent-After-Second-Page/m-p/120566#M2065</guid>
      <dc:creator>ian_cervantez1</dc:creator>
      <dc:date>2019-07-03T16:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Injection: ruxitagentjs and dtjsagent After Second Page Load Action In RUM Session</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Duplicate-Injection-ruxitagentjs-and-dtjsagent-After-Second-Page/m-p/120567#M2066</link>
      <description>&lt;P&gt;It may be case for support, but I've seen such issue before in this context. &lt;/P&gt;&lt;P&gt;Sebastian &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jul 2019 16:24:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Duplicate-Injection-ruxitagentjs-and-dtjsagent-After-Second-Page/m-p/120567#M2066</guid>
      <dc:creator>skrystosik</dc:creator>
      <dc:date>2019-07-03T16:24:11Z</dc:date>
    </item>
  </channel>
</rss>

