<?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 CSP and CORS errors from RUM inline script implementation on Web application in Dynatrace Managed Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/CSP-and-CORS-errors-from-RUM-inline-script-implementation-on-Web/m-p/290198#M4555</link>
    <description>&lt;P&gt;We are running self-hosted Dynatrace Managed for my project.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are trying to enable the Dynatrace RUM inline script in our UAT web application (placed inside the &amp;lt;head&amp;gt; of our login page), and we are encountering looping errors and warnings related to CSP and CORS. The error really loops non-stop.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have also tried adding our UAT domain (e.g., https://&amp;lt;my-uat-domain&amp;gt;) into Dynatrace’s CORS Configuration and Allowed Origins settings, but this did not resolve the issue.&lt;/P&gt;
&lt;P&gt;The browser console shows the following errors:&lt;/P&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;LI-SPOILER&gt;
&lt;P&gt;Access to fetch at 'https://&amp;lt;dynatrace-collector-domain&amp;gt;/bf/&amp;lt;id&amp;gt;?type=js3...'&lt;BR /&gt;from origin 'https://&amp;lt;my-uat-domain&amp;gt;' has been blocked by CORS policy:&lt;BR /&gt;No 'Access-Control-Allow-Origin' header is present on the requested resource.&lt;/P&gt;
&lt;P&gt;Failed to load resource: net::ERR_FAILED&lt;/P&gt;
&lt;P&gt;POST https://&amp;lt;dynatrace-collector-domain&amp;gt;/bf/&amp;lt;id&amp;gt;?type=js3... net::ERR_FAILED&lt;/P&gt;
&lt;/LI-SPOILER&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Has anyone encountered similar CSP or CORS issues when enabling Dynatrace RUM inline script, and is there any known workaround or configuration that can resolve it?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance, any help are deeply appreciated.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;</description>
    <pubDate>Mon, 05 Jan 2026 11:57:30 GMT</pubDate>
    <dc:creator>janelle</dc:creator>
    <dc:date>2026-01-05T11:57:30Z</dc:date>
    <item>
      <title>CSP and CORS errors from RUM inline script implementation on Web application</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/CSP-and-CORS-errors-from-RUM-inline-script-implementation-on-Web/m-p/290198#M4555</link>
      <description>&lt;P&gt;We are running self-hosted Dynatrace Managed for my project.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are trying to enable the Dynatrace RUM inline script in our UAT web application (placed inside the &amp;lt;head&amp;gt; of our login page), and we are encountering looping errors and warnings related to CSP and CORS. The error really loops non-stop.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have also tried adding our UAT domain (e.g., https://&amp;lt;my-uat-domain&amp;gt;) into Dynatrace’s CORS Configuration and Allowed Origins settings, but this did not resolve the issue.&lt;/P&gt;
&lt;P&gt;The browser console shows the following errors:&lt;/P&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;LI-SPOILER&gt;
&lt;P&gt;Access to fetch at 'https://&amp;lt;dynatrace-collector-domain&amp;gt;/bf/&amp;lt;id&amp;gt;?type=js3...'&lt;BR /&gt;from origin 'https://&amp;lt;my-uat-domain&amp;gt;' has been blocked by CORS policy:&lt;BR /&gt;No 'Access-Control-Allow-Origin' header is present on the requested resource.&lt;/P&gt;
&lt;P&gt;Failed to load resource: net::ERR_FAILED&lt;/P&gt;
&lt;P&gt;POST https://&amp;lt;dynatrace-collector-domain&amp;gt;/bf/&amp;lt;id&amp;gt;?type=js3... net::ERR_FAILED&lt;/P&gt;
&lt;/LI-SPOILER&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Has anyone encountered similar CSP or CORS issues when enabling Dynatrace RUM inline script, and is there any known workaround or configuration that can resolve it?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance, any help are deeply appreciated.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;</description>
      <pubDate>Mon, 05 Jan 2026 11:57:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/CSP-and-CORS-errors-from-RUM-inline-script-implementation-on-Web/m-p/290198#M4555</guid>
      <dc:creator>janelle</dc:creator>
      <dc:date>2026-01-05T11:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: CSP and CORS errors from RUM inline script implementation on Web application</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/CSP-and-CORS-errors-from-RUM-inline-script-implementation-on-Web/m-p/290199#M4556</link>
      <description>&lt;P&gt;Access to fetch at 'https://&amp;lt;dynatrace-collector-domain&amp;gt;/bf/&amp;lt;id&amp;gt;?type=js3...'&lt;BR /&gt;from origin 'https://&amp;lt;my-uat-domain&amp;gt;' has been blocked by CORS policy:&lt;BR /&gt;No 'Access-Control-Allow-Origin' header is present on the requested resource.&lt;/P&gt;&lt;P&gt;Failed to load resource: net::ERR_FAILED&lt;/P&gt;&lt;P&gt;POST https://&amp;lt;dynatrace-collector-domain&amp;gt;/bf/&amp;lt;id&amp;gt;?type=js3... net::ERR_FAILED&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;I re-paste the error message here again, as it is not showing properly in my first post.&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 01:48:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/CSP-and-CORS-errors-from-RUM-inline-script-implementation-on-Web/m-p/290199#M4556</guid>
      <dc:creator>janelle</dc:creator>
      <dc:date>2025-11-25T01:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: CSP and CORS errors from RUM inline script implementation on Web application</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/CSP-and-CORS-errors-from-RUM-inline-script-implementation-on-Web/m-p/290279#M4563</link>
      <description>&lt;P&gt;Hi Dynatrace folks,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am reading through other related to CORS issue from Dynatrace, and based on this link&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/Real-User-Monitoring/CORS-error-on-agentless-RUM-page-with-JavaScript-tag/m-p/164690" target="_blank" rel="noopener"&gt;https://community.dynatrace.com/t5/Real-User-Monitoring/CORS-error-on-agentless-RUM-page-with-JavaScript-tag/m-p/164690&lt;/A&gt;&lt;BR /&gt;which has something similar.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Open DevTools → &lt;STRONG&gt;Application&lt;/STRONG&gt; tab → Clear storage → “Clear site data” for domain&lt;/LI&gt;&lt;LI&gt;Also in DevTools → Network → “Disable cache” checked, then refresh while DevTools is open.&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#FF0000"&gt;And the Errors are GONE&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;I did a clear storage cache, and the errors are gone. But it does not send any stats to dynatrace.&amp;nbsp;&lt;BR /&gt;We checked the inline script are correctly injected, but not working. What can the possible problem?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2025 03:55:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/CSP-and-CORS-errors-from-RUM-inline-script-implementation-on-Web/m-p/290279#M4563</guid>
      <dc:creator>janelle</dc:creator>
      <dc:date>2025-11-26T03:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: CSP and CORS errors from RUM inline script implementation on Web application</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/CSP-and-CORS-errors-from-RUM-inline-script-implementation-on-Web/m-p/290627#M4569</link>
      <description>&lt;P&gt;@&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;MaciejNeumann&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;May I know how i can get any help?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 04:33:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/CSP-and-CORS-errors-from-RUM-inline-script-implementation-on-Web/m-p/290627#M4569</guid>
      <dc:creator>janelle</dc:creator>
      <dc:date>2025-12-02T04:33:37Z</dc:date>
    </item>
  </channel>
</rss>

