<?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 EUM - Browser violation error in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/EUM-Browser-violation-error/m-p/721878#M2883</link>
    <description>&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;I'm getting an error &lt;STRONG&gt;after loading the adrum.js:&lt;/STRONG&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;Refused to frame https://cdn.appdynamics.com/ because it violates the following Content Security Policy directive: frame-src 'self' www.google.comwww.google.com&amp;nbsp;&lt;/P&gt;&lt;P&gt;The EUM is reachable.EUM-processor: version-'24.4.0.0', commit-cd:XXXXXXXXXXXXXXb, build-release/24.4.0.next #24.4.0-35342, timestamp=2024-05-02 01:18:33&lt;/P&gt;&lt;P&gt;The backend is Microsoft SharePoint.&amp;nbsp;CSP has added both the CDN and EUM servers.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Khalid&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KhalidRehan_0-1726052805533.png" style="width: 519px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35617iDFA331E0002B9621/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Sep 2024 11:09:18 GMT</pubDate>
    <dc:creator>Khalid_Rehan2</dc:creator>
    <dc:date>2024-09-11T11:09:18Z</dc:date>
    <item>
      <title>EUM - Browser violation error</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/EUM-Browser-violation-error/m-p/721878#M2883</link>
      <description>&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;I'm getting an error &lt;STRONG&gt;after loading the adrum.js:&lt;/STRONG&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;Refused to frame https://cdn.appdynamics.com/ because it violates the following Content Security Policy directive: frame-src 'self' www.google.comwww.google.com&amp;nbsp;&lt;/P&gt;&lt;P&gt;The EUM is reachable.EUM-processor: version-'24.4.0.0', commit-cd:XXXXXXXXXXXXXXb, build-release/24.4.0.next #24.4.0-35342, timestamp=2024-05-02 01:18:33&lt;/P&gt;&lt;P&gt;The backend is Microsoft SharePoint.&amp;nbsp;CSP has added both the CDN and EUM servers.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Khalid&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KhalidRehan_0-1726052805533.png" style="width: 519px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35617iDFA331E0002B9621/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 11:09:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/EUM-Browser-violation-error/m-p/721878#M2883</guid>
      <dc:creator>Khalid_Rehan2</dc:creator>
      <dc:date>2024-09-11T11:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: EUM - Browser violation error</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/EUM-Browser-violation-error/m-p/721879#M2884</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/171665"&gt;@Khalid.Rehan&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;I found this AppDynamics Docs page that I think would be helpful. Please have a read and let me know if it helped.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.appdynamics.com/appd/22.x/latest/en/end-user-monitoring/browser-monitoring/browser-real-user-monitoring/enable-the-content-security-policy-csp" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/appd/22.x/latest/en/end-user-monitoring/browser-monitoring/browser-real-user-monitoring/enable-the-content-security-policy-csp&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 20:40:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/EUM-Browser-violation-error/m-p/721879#M2884</guid>
      <dc:creator>iamryan</dc:creator>
      <dc:date>2024-09-12T20:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: EUM - Browser violation error</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/EUM-Browser-violation-error/m-p/721880#M2885</link>
      <description>&lt;P&gt;Hi Ryan,&lt;/P&gt;&lt;P&gt;unfortunately, it did not work applying what is recommended in the doc you shared:&lt;/P&gt;&lt;PRE class="lia-code-sample language-javascript"&gt;&lt;CODE&gt;C:\inetpub\wwwroot\wss\VirtualDirectories\{your-site}
Add the CSP Header to the &amp;lt;httpProtocol&amp;gt; section of the Web.config file.

&amp;lt;system.webServer&amp;gt;
   &amp;lt;httpProtocol&amp;gt;
      &amp;lt;customHeaders&amp;gt;
         &amp;lt;add name="Content-Security-Policy" value="script-src 'unsafe-inline' cdn.appdynamics.com; connect-src peum.kaska.com; img-src cdn.appdynamics.com; child-src cdn.appdynamics.com;" /&amp;gt;
      &amp;lt;/customHeaders&amp;gt;
   &amp;lt;/httpProtocol&amp;gt;
&amp;lt;/system.webServer&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The application crashed and we had to rollback.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Notes: the agent is loaded successfully.&lt;/P&gt;&lt;P&gt;Any other suggestions? Where else to look?&lt;/P&gt;</description>
      <pubDate>Sun, 20 Oct 2024 11:17:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/EUM-Browser-violation-error/m-p/721880#M2885</guid>
      <dc:creator>Khalid_Rehan2</dc:creator>
      <dc:date>2024-10-20T11:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: EUM - Browser violation error</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/EUM-Browser-violation-error/m-p/721881#M2886</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/171665"&gt;@Khalid.Rehan&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;If I find any new info, I'll share it here. If you find any new information or a solution, please share it here.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 15:52:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/EUM-Browser-violation-error/m-p/721881#M2886</guid>
      <dc:creator>iamryan</dc:creator>
      <dc:date>2024-10-22T15:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: EUM - Browser violation error</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/EUM-Browser-violation-error/m-p/721882#M2887</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/142051"&gt;@Ryan.Paredez&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;We were able to fix the problem by disabling the config.xd in the EUM snippet &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;config.xd = {enable : false};&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;PRE class="lia-code-sample language-javascript"&gt;&lt;CODE&gt;&amp;lt;script charset='UTF-8'&amp;gt;
window['adrum-start-time'] = new Date().getTime();
(function(config){
    config.appKey = 'EUM-XYZ-ABC';
    config.adrumExtUrlHttp = 'https://cdn.appdynamics.com';
    config.adrumExtUrlHttps = 'https://cdn.appdynamics.com';
    config.beaconUrlHttp = 'https://eum.myappd.com';
    config.beaconUrlHttps = 'https://eum.myappd.com';
    config.xd = {enable : false};
})(window['adrum-config'] || (window['adrum-config'] = {}));
&amp;lt;/script&amp;gt;
&amp;lt;script src='https://cdn.appdynamics.com/adrum/adrum-latest.js'&amp;gt;&amp;lt;/script&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Khalid&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 10:27:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/EUM-Browser-violation-error/m-p/721882#M2887</guid>
      <dc:creator>Khalid_Rehan2</dc:creator>
      <dc:date>2024-11-19T10:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: EUM - Browser violation error</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/EUM-Browser-violation-error/m-p/721883#M2888</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/171665"&gt;@Khalid.Rehan&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for sharing the solution!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 16:51:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/EUM-Browser-violation-error/m-p/721883#M2888</guid>
      <dc:creator>iamryan</dc:creator>
      <dc:date>2024-11-19T16:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: EUM - Browser violation error</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/EUM-Browser-violation-error/m-p/721884#M2889</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/142051"&gt;@Ryan.Paredez&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that the solution I posted does not apply to most cases.&lt;/P&gt;&lt;P&gt;I faced the same issue twice and the solution was to allow some policies on F5 loadbalancer related to CORS error.&lt;/P&gt;&lt;P&gt;It worked on one case, but I now have about 3 cases one of them F5 could not resolve it until now &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I will update the post once I resolve it.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Khalid&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 11:28:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/EUM-Browser-violation-error/m-p/721884#M2889</guid>
      <dc:creator>Khalid_Rehan2</dc:creator>
      <dc:date>2024-12-12T11:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: EUM - Browser violation error</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/EUM-Browser-violation-error/m-p/721885#M2890</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/171665"&gt;@Khalid.Rehan&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for updating the thread and letting us know.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 16:35:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/EUM-Browser-violation-error/m-p/721885#M2890</guid>
      <dc:creator>iamryan</dc:creator>
      <dc:date>2024-12-12T16:35:30Z</dc:date>
    </item>
  </channel>
</rss>

