Test Manager Infinite URL Loopback Due to the URL Length

How to resolve the issue of Test Manager redirecting multiple times

Issue Description

Sometimes the Test Manager URL loops back until IIS returns an error because the URL is too long.

In this case, the initial URL is:

https://[host]:[port]/

After opening this URL, there is a redirection to:

https://[host]:[port]//api/userauth/authenticate?return_uri=https://[host]:[port]

and then to:

https://[host]:[port]//api/userauth/authenticate?return_uri=https://[host]:[port]//api/userauth/authenticate?return_uri=https://[host]:[port]/

and so on, until an error is thrown:

HTTP 404.15 - Not Found

Resolution

Change the frontedUrl from:

https://[host]:[port]/

to:

https://[host]:[port]