<?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 502 Bad Gateway - nginx after RUM Injection in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/502-Bad-Gateway-nginx-after-RUM-Injection/m-p/207770#M25291</link>
    <description>&lt;P&gt;Hello everyone&lt;BR /&gt;&lt;BR /&gt;We rolled out Dynatrace to our Kubernetes Azure Cluster, We have a landingpage which redirects to another page.&lt;BR /&gt;However with RUM on for the landiongpage we get now a &lt;STRONG&gt;502 Bad Gateway&lt;/STRONG&gt; message. If I refresh the page the redirection works fine, however in case I remove the &lt;STRONG&gt;dtCookie &lt;/STRONG&gt;the redirection doesnt work and I still have the same error message. &lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;My quick solution is to add the website for the landing page and &lt;STRONG&gt;disable RUM.&lt;BR /&gt;&lt;BR /&gt;The redirect is done via &lt;A href="https://learn.microsoft.com/en-us/azure/active-directory-b2c/b2clogin" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/active-directory-b2c/b2clogin&lt;/A&gt; (Set redirect URLs to b2clogin.com for Azure Active Directory B2C)&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Any Ideas what could be the issue?&lt;BR /&gt;&lt;BR /&gt;Thanks and cheers&lt;BR /&gt;Marco&lt;/P&gt;</description>
    <pubDate>Fri, 24 Mar 2023 10:27:34 GMT</pubDate>
    <dc:creator>MarcoCritti</dc:creator>
    <dc:date>2023-03-24T10:27:34Z</dc:date>
    <item>
      <title>502 Bad Gateway - nginx after RUM Injection</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/502-Bad-Gateway-nginx-after-RUM-Injection/m-p/207770#M25291</link>
      <description>&lt;P&gt;Hello everyone&lt;BR /&gt;&lt;BR /&gt;We rolled out Dynatrace to our Kubernetes Azure Cluster, We have a landingpage which redirects to another page.&lt;BR /&gt;However with RUM on for the landiongpage we get now a &lt;STRONG&gt;502 Bad Gateway&lt;/STRONG&gt; message. If I refresh the page the redirection works fine, however in case I remove the &lt;STRONG&gt;dtCookie &lt;/STRONG&gt;the redirection doesnt work and I still have the same error message. &lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;My quick solution is to add the website for the landing page and &lt;STRONG&gt;disable RUM.&lt;BR /&gt;&lt;BR /&gt;The redirect is done via &lt;A href="https://learn.microsoft.com/en-us/azure/active-directory-b2c/b2clogin" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/active-directory-b2c/b2clogin&lt;/A&gt; (Set redirect URLs to b2clogin.com for Azure Active Directory B2C)&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Any Ideas what could be the issue?&lt;BR /&gt;&lt;BR /&gt;Thanks and cheers&lt;BR /&gt;Marco&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 10:27:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/502-Bad-Gateway-nginx-after-RUM-Injection/m-p/207770#M25291</guid>
      <dc:creator>MarcoCritti</dc:creator>
      <dc:date>2023-03-24T10:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: 502 Bad Gateway - nginx after RUM Injection</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/502-Bad-Gateway-nginx-after-RUM-Injection/m-p/207997#M25322</link>
      <description>&lt;P&gt;Hi Marco,&lt;BR /&gt;to be honest, I don't know what is the issue exactly, but you can add a custom injection rule from the app settings to prevent the injection for this URL.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamed_Hamdy_0-1679692529003.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/10676i4CBA4A1384647D63/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mohamed_Hamdy_0-1679692529003.png" alt="Mohamed_Hamdy_0-1679692529003.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;and for XHR you can add an XHR exclusion rule.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamed_Hamdy_1-1679692617542.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/10677iBB637AA6F2091433/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mohamed_Hamdy_1-1679692617542.png" alt="Mohamed_Hamdy_1-1679692617542.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 21:17:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/502-Bad-Gateway-nginx-after-RUM-Injection/m-p/207997#M25322</guid>
      <dc:creator>Mohamed_Hamdy</dc:creator>
      <dc:date>2023-03-24T21:17:29Z</dc:date>
    </item>
  </channel>
</rss>

