Hello everyone!
We have been facing some issues on various of our Umbraco installations where we are being redirected back to the login screen randomly while working.
Our server logs show the following:
GET /umbraco/backoffice/UmbracoApi/Authentication/GetRemainingTimeoutSeconds - HTTP/2.0 https://www.cretamaris.gr/umbraco Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 268 IIS access
2022-06-21 11:53:20 62.74.200.13 200 GET / - HTTP/1.1 Uptime-Kuma/1.16.1 70.2 K IIS access
2022-06-21 11:53:27 62.74.200.13 200 GET /umbraco/backoffice/UmbracoApi/Authentication/GetRemainingTimeoutSeconds - HTTP/2.0 https://www.cretamaris.gr/umbraco Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 268 IIS access
2022-06-21 11:54:01 62.74.200.13 302 GET /umbraco/backoffice/UmbracoApi/Authentication/GetRemainingTimeoutSeconds - HTTP/2.0 https://www.cretamaris.gr/umbraco Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 534 IIS access
2022-06-21 11:54:02 62.74.200.13 404 GET /login.aspx ReturnUrl=%2fumbraco%2fbackoffice%2fUmbracoApi%2fAuthentication%2fGetRemainingTimeoutSeconds HTTP/2.0 https://www.cretamaris.gr/umbraco Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 55.8 K IIS access
2022-06-21 11:54:08 62.74.200.13 401 GET /umbraco/backoffice/UmbracoApi/Media/GetById id=1285 HTTP/2.0
I have the following setting in web.config:
<add key="umbracoTimeOutInMinutes" value="120" />
But it does not help.
Any advice on how to fix or debug this?
Thank you very much,
F.K
Edit: This one is hosted on W2K16 Server with Plesk
I am not facing any issues during development.
It happens on the production on some websites.
We have somewhat around 400 umbraco sites and some of them have this issue which I cannot understand why is happening.
I think that something is happening there at the:
Yours has 120 as the value which translates to 2 hours so of course you're being logged out every 2 hours. 3600 translates to 60 hours, 720 will translate to 12 hours so just choose the interval you want.
From the docs:
Configures the number of minutes without any requests being made
before the Umbraco user will be required to re-login. Any backoffice
request will reset the clock. Default setting is 20 minutes.
I think i have not explained my problem correctly.
I will try to explain in more detail:
I have a setting of 120 minutes in the web.config.
I have to the keepUserLoggedIn set to true.
Still umbraco disconnects the users randomly in a much shorter time.
Some times it will kick them out after 2 minutes, other times after 5 minutes, regardless if the are idle or if they are doing actual work in the cms.
Issue with regular timeouts
Hello everyone! We have been facing some issues on various of our Umbraco installations where we are being redirected back to the login screen randomly while working.
Our server logs show the following:
I have the following setting in web.config:
But it does not help.
Any advice on how to fix or debug this?
Thank you very much, F.K
Edit: This one is hosted on W2K16 Server with Plesk
In umbracoSettings.config there is a property called "keepUserLoggedIn", set that to true.
Thank you very much for you reply, I forgot to mention that I have that property set to true already. It still keeps disconnecting the users.
I usually set "umbracoTimeOutInMinutes" to 3600 in my development web.config, I would think that 60 hours is enough.
I am not facing any issues during development. It happens on the production on some websites. We have somewhat around 400 umbraco sites and some of them have this issue which I cannot understand why is happening. I think that something is happening there at the:
But I am not quite sure what or how to fix it.
Add this to your web.config
Yours has 120 as the value which translates to 2 hours so of course you're being logged out every 2 hours. 3600 translates to 60 hours, 720 will translate to 12 hours so just choose the interval you want.
From the docs:
https://our.umbraco.com/Documentation/Reference/Configuration-for-Umbraco-7-and-8/webconfig/index-v7#umbracotimeoutinminutes
I think i have not explained my problem correctly. I will try to explain in more detail:
I have a setting of 120 minutes in the web.config. I have to the keepUserLoggedIn set to true.
Still umbraco disconnects the users randomly in a much shorter time. Some times it will kick them out after 2 minutes, other times after 5 minutes, regardless if the are idle or if they are doing actual work in the cms.
Again thank you for your time.
is working on a reply...