Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Fragiskos Kaffetzakis 4 posts 24 karma points
    4 days ago
    Fragiskos Kaffetzakis
    0

    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:

    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

  • B. Gunnarsson (Bryns) 25 posts 180 karma points c-trib
    4 days ago
    B. Gunnarsson (Bryns)
    0

    In umbracoSettings.config there is a property called "keepUserLoggedIn", set that to true.

  • Fragiskos Kaffetzakis 4 posts 24 karma points
    4 days ago
    Fragiskos Kaffetzakis
    0

    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.

  • B. Gunnarsson (Bryns) 25 posts 180 karma points c-trib
    4 days ago
    B. Gunnarsson (Bryns)
    0

    I usually set "umbracoTimeOutInMinutes" to 3600 in my development web.config, I would think that 60 hours is enough.

  • Fragiskos Kaffetzakis 4 posts 24 karma points
    3 days ago
    Fragiskos Kaffetzakis
    0

    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:

     GET /../GetRemainingTimeoutSeconds 
    

    But I am not quite sure what or how to fix it.

  • B. Gunnarsson (Bryns) 25 posts 180 karma points c-trib
    3 days ago
    B. Gunnarsson (Bryns)
    0

    Add this to your web.config

    <add key="umbracoTimeOutInMinutes" value="3600" />
    

    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.

    https://our.umbraco.com/Documentation/Reference/Configuration-for-Umbraco-7-and-8/webconfig/index-v7#umbracotimeoutinminutes

  • Fragiskos Kaffetzakis 4 posts 24 karma points
    3 days ago
    Fragiskos Kaffetzakis
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft