Then I dig out this older post…
We are internally still using UD 2.9 without Universal as standalone sites in production. The migration process to Universal with UD 2/3 unfortunately will take a while, because we have to change a lot to get it to work…
Back to topic:
I am using UD 2.9.0 running inside IIS. We have a few sites with UD Community and one Enterprise site. Using different UD Websites on one IIS Server (working with host headers). also using IIS URL Rewrite feature for redirecting all http traffic to https (Also Kestrel Webserver in UD is using https).
Usually I find the problem on my own but at the moment I’m a bit stuck. Perhaps someone can help me out.
The idle timeout settings are not working as expected and after about 25 minutes (this is the UD default) the sessions will time out. I am not using UdHelmet right now, and if it is not necessary, I would gladly do without it for the time being. (About 100 pages, i want a global solution for 2.9.0).
I get not redirected to the login page, the ud-page content only displays a white background. i can also browse through the navigation menu and open other pages, same effect, only a white site (page content). After i reload the page or pres F5, i get redirected to the login page.
After the 9 hours timeout i am using @psDevUK UD Component UDTimeOut to show a modal with a redirect to login page button (btw. is there any url to access the UD “Sign Out” button, so triggering a sign out? Source code says
/api/internal/signout but there i only get a white screen, currently i am redirecting to /login)
So i have done the following:
Idle Timeout (minutes): 43200
(Scheduled) Recycle Timeout (minutes): 0
ConnectionTimeout (seconds): 0 (also tested other values like 43200)
<aspNetCore processPath="C:\Program Files\PowerShell\7\pwsh.exe" arguments=".\dashboard.ps1" stdoutLogEnabled="true" stdoutLogFile=".\logs\\stdout" forwardWindowsAuthToken="true" requestTimeout="09:00:00" /
New-UDDashboard -Name ... -IdleTimeout (New-TimeSpan -Minutes 540)
No Windows Auth, using a custom function to validate the Active Directory credentials. (New-UDAuthenticationResult -Success if ok)
-Passtru. Using custom function for validating ActiveDirectory Credentials (from different domains). Forms based.
Edit: After hitting the “timeout”, the browser console throwing this:
After that, the console shows this error:
Error: WhatUnauthorized fetch-service.jsx:56
Pointing to the else part in response function in fetch-service.jsx:
Any idea? @adam ?