Acces to manager, seem to get disconnected every two action
Concerned version
Version: %X2.0.0
Platform: (Nginx/Apache/Node.js)
Summary
- Attemp to get in manager web site
- was prompt to login
- login succes and acces to manager page
- try to change anything like the defaut SKIN
- click save
- getting back to the loggin form without any save¸
Logs
[info] No cookie found
[debug] Build URL https://auth.beta.urgences-sante.qc.ca:81/?url=aHR0cDovL21hbmFnZXIuYmV0YS51cmdlbmNlcy1zYW50ZS5xYy5jYTo4MS8jIS9jb25mcy9sYXRlc3Q=
[debug] Redirect 10.193.11.11 to portal (url was /?url=aHR0cDovL21hbmFnZXIuYmV0YS51cmdlbmNlcy1zYW50ZS5xYy5jYTo4MS8jIS9jb25mcy9sYXRlc3Q=)
[debug] User not authenticated, Try in use, cancel redirection
[debug] Start routing default route
[debug] Processing controlUrl
[debug] Processing code ref
[debug] Processing code ref
[debug] Launching ::Issuer::CAS::storeEnvAndCheckGateway
[debug] Processing code ref
[debug] Launching ::Issuer::OpenIDConnect::exportRequestParameters
[debug] Processing extractFormInfo
[debug] Prepare token
[debug] Token 1532534086_5982 created
[debug] Returned error: 9
[debug] Display type standardform
[debug] Skin returned: login
[debug] Calling sendHtml with template login
[debug] Starting HTML generation using /var/lib/lemonldap-ng/portal/templates/us_skin/login.tpl
[debug] Sending /var/lib/lemonldap-ng/portal/templates/us_skin/login.tpl
[info] No cookie found
[debug] Build URL https://auth.beta.urgences-sante.qc.ca:81/?url=aHR0cDovL21hbmFnZXIuYmV0YS51cmdlbmNlcy1zYW50ZS5xYy5jYTo4MS8jIS9jb25mcy9sYXRlc3Q=
[debug] Redirect 10.193.11.11 to portal (url was /?url=aHR0cDovL21hbmFnZXIuYmV0YS51cmdlbmNlcy1zYW50ZS5xYy5jYTo4MS8jIS9jb25mcy9sYXRlc3Q=)
[debug] User not authenticated, Try in use, cancel redirection
[debug] Start routing default route
[debug] Processing restoreArgs
[debug] Processing controlUrl
[debug] Processing code ref
[debug] Processing code ref
[debug] Launching ::Issuer::CAS::storeEnvAndCheckGateway
[debug] Processing code ref
[debug] Launching ::Issuer::OpenIDConnect::exportRequestParameters
[debug] Processing extractFormInfo
[debug] Trying to load token 1532534086_5982
[debug] Processing getUser
[debug] Processing authenticate
[debug] Processing setAuthSessionInfo
[debug] Processing setSessionInfo
[debug] Processing setMacros
[debug] Processing setGroups
[debug] Searching LDAP groups in OU=Groupes,OU=Comptes,DC=urgences-sante,DC=local for CN=Mathieu Lecompte-Melançon,OU=S_Systeme,OU=M_SystemTelecom,OU=DRI,OU=Utilisateurs,OU=Comptes,DC=urgences-sante,DC=local
[debug] Group search filter: (&(objectClass=group)(|(member=CN=Mathieu Lecompte-Melançon,OU=S_Systeme,OU=M_SystemTelecom,OU=DRI,OU=Utilisateurs,OU=Comptes,DC=urgences-sante,DC=local)))
[debug] Processing setPersistentSessionInfo
[debug] Persistent session found for lecomptm
[debug] Restore persistent parameter _oidc_consent_scope_oicBdCorpo
[debug] Restore persistent parameter loginHistory
[debug] Restore persistent parameter _loginHistory
[debug] Restore persistent parameter notification_disclaimer
[debug] Restore persistent parameter _updateTime
[debug] Restore persistent parameter updateTime
[debug] Restore persistent parameter _oidc_consent_time_oicBdCorpo
[debug] Processing setLocalGroups
[debug] Processing store
[debug] Store HASH(0x4574070) in session key loginHistory
[debug] Dump: $VAR1 = {'successLogin' => [{'ipAddr' => '10.193.11.11','_utime' => '1532521223'},{'ipAddr' => '10.193.11.11','_utime' => '1530198490'},{'ipAddr' => '10.193.11.11','_utime' => '1530126803'},{'ipAddr' => '10.193.11.11','_utime' => '1529422350'},{'ipAddr' => '10.193.11.11','_utime' => '1528626400'}],'failedLogin' => [{'error' => 'Mot de passe ou identifiant incorrect','ipAddr' => '10.193.11.11','_utime' => '1525380547'},{'error' => 'Mot de passe ou identifiant incorrect','ipAddr' => '10.193.11.11','_utime' => '1505755921'},{'error' => 'Mot de passe ou identifiant incorrect','ipAddr' => '10.193.11.11','_utime' => '1502737842'},{'error' => 'Mot de passe ou identifiant incorrect','ipAddr' => '10.193.11.11','_utime' => '1500309608'},{'error' => 'Mot de passe ou identifiant incorrect','ipAddr' => '10.193.11.11','_utime' => '1500034718'}]};
[debug] Store 2697 in session key matricule
[debug] Store Mathieu Lecompte-Melançon in session key cn
[debug] Store 2 in session key authenticationLevel
[debug] Store 131764823048543696 in session key _AD_pwdLastSet
[debug] Store 1503057672 in session key notification_disclaimer
[debug] Store 20180316150543 in session key updateTime
[debug] Store 1532605974 in session key _utime
[debug] Store LecomptM in session key uid
[debug] Store in session key ldapgroups
[debug] Store Lecompte-Melançon in session key name
[debug] Store 512 in session key _AD_userAccountControl
[debug] Store openid CdUsagerScope in session key _oidc_consent_scope_oicBdCorpo
[debug] Store HASH(0x4576aa8) in session key _loginHistory
[debug] Dump: $VAR1 = {'successLogin' => [{'ipAddr' => '10.193.11.11','_utime' => '1532605833'},{'ipAddr' => '10.193.11.11','_utime' => '1532605782'},{'ipAddr' => '10.193.11.11','_utime' => '1532605681'},{'ipAddr' => '10.193.11.11','_utime' => '1532605648'},{'ipAddr' => '10.193.11.11','_utime' => '1532605590'}]};
[debug] Store 10.193.11.11 in session key ipAddr
[debug] Store AD in session key _auth
[debug] Store Mathieu.Lecompte@urgences-sante.qc.ca in session key TEST_EXP
[debug] Store lecomptm in session key _whatToTrace
[debug] Store 1532605974 in session key _lastAuthnUTime
[debug] Store Mathieu.Lecompte@urgences-sante.qc.ca in session key mail
[debug] Store lecomptm in session key _user
[debug] Store 1521227143 in session key _oidc_consent_time_oicBdCorpo
[debug] Store AD in session key _userDB
[debug] Store LecomptM in session key sAMAccountName
[debug] Store 20180726075254 in session key _startTime
[debug] Store http://manager.beta.urgences-sante.qc.ca:81/#!/confs/latest in session key _url
[debug] Store in session key _AD_msDS_UACC
[debug] Store CN=Mathieu Lecompte-Melançon,OU=S_Systeme,OU=M_SystemTelecom,OU=DRI,OU=Utilisateurs,OU=Comptes,DC=urgences-sante,DC=local in session key _dn
[debug] Store in session key UA
[debug] Store 20180726075033 in session key _updateTime
[debug] Try to get a new SSO session
[debug] Return SSO session 4939a4c931cb73125f6d3852ea37362f
[debug] Processing secondFactor
[debug] Processing storeHistory
[debug] Current login saved into successLogin
[debug] Update lecomptm persistent session
[debug] Update sessionInfo _loginHistory with HASH(0x4576aa8)
[debug] Try to get SSO session 4939a4c931cb73125f6d3852ea37362f
[debug] Return SSO session 4939a4c931cb73125f6d3852ea37362f
[debug] Processing buildCookie
[debug] Processing code ref
[debug] Launching ::Plugins::CDA::changeUrldc
[debug] Processing code ref
[debug] Launching ::Plugins::Notifications::checkNotifDuringAuth
[debug] Processing code ref
[debug] Cleaning pdata
[debug] Calling autoredirect
[debug] Building redirection to http://manager.beta.urgences-sante.qc.ca:81/#!/confs/latest
[debug] Get session 4939a4c931cb73125f6d3852ea37362f
[debug] manager.beta.urgences-sante.qc.ca: Apply default rule
[debug] removing cookie
[debug] User lecomptm was granted to access to /
[debug] User authenticated, calling handler()
[debug] Start routing default route
[debug] Starting HTML generation using /usr/share/lemonldap-ng/manager/htdocs/templates/manager.tpl
[debug] Sending /usr/share/lemonldap-ng/manager/htdocs/templates/manager.tpl
[debug] Get session 4939a4c931cb73125f6d3852ea37362f from Handler internal cache
[debug] manager.beta.urgences-sante.qc.ca: Apply default rule
[debug] removing cookie
[debug] User lecomptm was granted to access to /manager.fcgi/confs/latest
[debug] User authenticated, calling handler()
[debug] Start routing confs
[debug] Search for cfgNum in conf
[debug] Cfgnum set to latest
[debug] Search for cfgAuthor in conf
[debug] Cfgnum set to 2
[debug] Search for cfgDate in conf
[debug] Cfgnum set to 2
[debug] Search for cfgAuthorIP in conf
[debug] Cfgnum set to 2
[debug] Search for cfgLog in conf
[debug] Cfgnum set to 2
[debug] Search for cfgVersion in conf
[debug] Cfgnum set to 2
[info] User lecomptm ask for configuration metadata (2)
[debug] Get session 4939a4c931cb73125f6d3852ea37362f from Handler internal cache
[debug] manager.beta.urgences-sante.qc.ca: Apply default rule
[debug] removing cookie
[debug] User lecomptm was granted to access to /manager.fcgi/confs/2/portal
[debug] User authenticated, calling handler()
[debug] Start routing confs
[info] User lecomptm asks for key portal
[debug] Search for portal in conf
[debug] Cfgnum set to 2
[debug] Get session 4939a4c931cb73125f6d3852ea37362f from Handler internal cache
[debug] manager.beta.urgences-sante.qc.ca: Apply default rule
[debug] removing cookie
[debug] User lecomptm was granted to access to /manager.fcgi/confs/2/domain
[debug] User authenticated, calling handler()
[debug] Start routing confs
[info] User lecomptm asks for key domain
[debug] Search for domain in conf
[debug] Cfgnum set to 2
[debug] Get session 4939a4c931cb73125f6d3852ea37362f from Handler internal cache
[debug] manager.beta.urgences-sante.qc.ca: Apply default rule
[debug] removing cookie
[debug] User lecomptm was granted to access to /manager.fcgi/confs/2/portalSkin
[debug] User authenticated, calling handler()
[debug] Start routing confs
[info] User lecomptm asks for key portalSkin
[debug] Search for portalSkin in conf
[debug] Cfgnum set to 2
[info] No cookie found
[debug] Build URL https://manager.beta.urgences-sante.qc.ca:81/manager.fcgi/confs/?cfgNum=2
[debug] Redirect 10.193.11.11 to portal (url was /manager.fcgi/confs/?cfgNum=2)
Backends used
We use NGINX / HTTPD for debug issue We use MongoDB for configuration and sessions