Deeplink generates ERR_TOO_MANY_REDIRECTS in the browser

0
We implemented the Deeplink module in our Mendix 6 project. In our local environments it works, but after deploying it to our test node in the Mendix cloud, we get an ERR_ TOO_ MANY_ REDIRECTS error in our browser when we try to visit a deeplink. Does anyone have an idea what is causing this error?
asked
3 answers
0

This error can happen if you redirect get's in an endless loop. So you redirect to a page that redirects you to your original page. So check your deeplink config if something like this can happen.

Regards,

Ronald

answered
0

While Ronald's answer was probably the right answer after all, I decided to post the definitive, more concrete answer and solution to the problem as a separate answer. Thank you for your help, Ronald!

We found the solution for the error. Constant DeepLink.LoginLocation was populated with the domain name of the test node. That was not supposed to happen since we want to use the login page that is included in the resource folder of the deeplink module. After I cleaned the constant and restarted the node, the deeplink works fine and shows the login page correctly.

answered
0

We received the same ERR TOO MANY REDIRECTS error message in the browser when trying to deep link.
The solution in our case was to the set the runtime setting com.mendix.core.SameSiteCookies the value LAX

answered