cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

502 Bad Gateway - nginx after RUM Injection

MarcoCritti
Contributor

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 https://learn.microsoft.com/en-us/azure/active-directory-b2c/b2clogin (Set redirect URLs to b2clogin.com for Azure Active Directory B2C)

Any Ideas what could be the issue?

Thanks and cheers
Marco

1 REPLY 1

Mohamed_Hamdy
DynaMight Champion
DynaMight Champion

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.

Mohamed_Hamdy_0-1679692529003.png

 and for XHR you can add an XHR exclusion rule.

Mohamed_Hamdy_1-1679692617542.png

 

Certified Dynatrace Professional | Certified Dynatrace Services Delivery - Observability & CloudOps | Dynatrace Partner - yourcompass.ca

Featured Posts