Thank you very much!

I indeed set this to "-1" in the past and forgot about it. Now everything works as expected.

Matthias

Am 08.08.19 um 16:13 schrieb Scott Dickerson:
 From the browser console log:
"09:54:32.004  debug  http GET[7] -> url: "/ovirt-engine/api/options/UserSessionTimeOutInterval", headers: {"Accept":"application/json","Authorization":"*****","Accept-Language":"en_US","Filter":true} transport.js:74:9" "09:54:32.141  debug  Reducing action: {"type":"SET_USER_SESSION_TIMEOUT_INTERVAL","payload":{"userSessionTimeoutInterval":-1}} utils.js:48:13"

Your engine "UserSessionTimeOutInterval" is set to -1.  VM Portal is interpreting this as "auto-logout a second ago" instead of "do not auto-logout".

The simple fix is to set that value to something >0 in your engine configs.

I filed https://github.com/oVirt/ovirt-web-ui/issues/1085 to account for a -1 value properly in VM Portal.


On Thu, Aug 8, 2019 at 4:07 AM Matthias Leopold <matthias.leop...@meduniwien.ac.at <mailto:matthias.leop...@meduniwien.ac.at>> wrote:



    Am 08.08.19 um 07:49 schrieb Scott Dickerson:
     >
     >
     > On Wed, Aug 7, 2019 at 11:06 AM Sharon Gratch <sgra...@redhat.com
    <mailto:sgra...@redhat.com>
     > <mailto:sgra...@redhat.com <mailto:sgra...@redhat.com>>> wrote:
     >
     >     Hi,
     >     @Scott Dickerson <mailto:sdick...@redhat.com
    <mailto:sdick...@redhat.com>>,  the session logout
     >     issue for VM portal 1.5.3 was handled in the following PRs:
     > https://github.com/oVirt/ovirt-web-ui/pull/1014
     > https://github.com/oVirt/ovirt-web-ui/pull/1025
     >
     >     Any idea on what can be the problem?
     >
     >
     > That is very strange.  We saw a problem similar to that where, when
     > web-ui is starting up, the time it took for the app to fetch the
     > "UserSessionTimeOutInterval" config value was longer than the
    time it
     > took to load the auto-logout component.  In that case the value was
     > considered to be 0 and auto logged the user out right away.  That
    issue
     > was dealt with in PR 1025 and the whole login data load process was
     > synchronized properly in PR 1049.
     >
     > I need some additonal info:
     >    - The browser console logs from when the page loads to when
    they're
     > logged out
     >    - the "yum info ovirt-web-ui"
     >
     > I'll be able to better triage the problem with that info.
     >

    Thanks to all for replies. I sent the requested info directly to Scott
    Dickerson.

    Matthias



--
Scott Dickerson
Senior Software Engineer
RHV-M Engineering - UX Team
Red Hat, Inc

--
Matthias Leopold
IT Systems & Communications
Medizinische Universität Wien
Spitalgasse 23 / BT 88 /Ebene 00
A-1090 Wien
Tel: +43 1 40160-21241
Fax: +43 1 40160-921200
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/UQMMGJMJ7AFJGJHSJ7HVOTUCLG6CV6QL/

Reply via email to