The answer it is here: https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-rdweb-gateway-ha Configure the server to be part of an RD Web Access farm. The steps below configure the Validation and Decryption Machine Keys to be the same on both RDWeb sites. Please reply to me if is work. This issue take me about 4-5 months!
RDWEB timeout/ user disconnect redirect to login page
Hello i have an issue with RDWEB.
In my configuration it is two RDWEB server high availability with DNS Round Robin.
My issue is identical like this:
RDS Redirecting User to Login Page
https://social.technet.microsoft.com/Forums/en-US/93e23846-3450-4a3b-b26f-1a5af7d31923/rds-redirecting-user-to-login-page?forum=winserverTS
Odd RD Web Time Out Issue
https://social.technet.microsoft.com/Forums/en-US/2f6ea75c-03c5-446e-ba21-d510df6a3ed0/odd-rd-web-time-out-issue?forum=winserverTS
The issue manifests itself like this:
- the user logs into the page with username and password, accesses an application and then for the next ~30 minutes does not interact with the page.
- Wait 30 minutes and page still display apps – no evidence of timeout
- If I click on an app the browser then displays the RD Web login page but the URL bar now says: https://example.co.uk/RDWeb/Pages/en-US/login.aspx?ReturnUrl=%2fRDWeb%2fPages%2frdp%2fcpub-WINWORD-17G_Test-CmsRdsh.rdp
(The url for the app/.rdp file I clicked on in the previous step) - I then type the password in and click on login button
- The page doesn’t log into RD Web but instead downloads/runs the app .rdp from the url in the bar
- The only way to login back in normally is to manually edit the URL back to https://example.co.uk/RDWeb/Pages/en-US/default.aspx
Note: IIS timeout settings are: Public 20, private 240
I tried to reproduce this behavior.
I have reproduced it in the following form:
The user logs in to the page and then clears the browser cache, tries to access a new application. When clicking on the new application the browser redirects the user to the login page with a similar url:
https://example.co.uk/RDWeb/Pages/en-US/login.aspx?ReturnUrl=%2fRDWeb%2fPages%2frdp%2fcpub-WINWORD-17G_Test-CmsRdsh.rdp
Basically it has attached to the normal URL the name of the application and .rdp
When you enter your username and password and click on the sign in button instead of the user being logged in to the application page, it downloads the .rdp application you requested before redirecting to the log in page.