502 Bad Gateway - nginx after RUM Injection

Hello everyone

We rolled out Dynatrace to our Kubernetes Azure Cluster, We have a landingpage which redirects to another page.
However with RUM on for the landiongpage we get now a 502 Bad Gateway message. If I refresh the page the redirection works fine, however in case I remove the dtCookie the redirection doesnt work and I still have the same error message.

My quick solution is to add the website for the landing page and **disable RUM.

The redirect is done via Migrate applications and APIs to b2clogin.com - Azure AD B2C | Microsoft Learn (Set redirect URLs to b2clogin.com for Azure Active Directory B2C)**

Any Ideas what could be the issue?

Thanks and cheers
Marco

Hi Marco,
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.

and for XHR you can add an XHR exclusion rule.