#idempiere IRC log for Friday, 2018-04-06

Not-5e67[iDempiere5.1Daily] jenkins built #53 completed (success) http://ci.idempiere.org/job/iDempiere5.1Daily/53/04:30
*** a42niem has joined #idempiere04:33
Not-5e67[iDempiere] hengsin pushed 1 commit to release-5.1 [+0/-0/±1] https://bitbucket.org/idempiere/idempiere/commits/05:41
Not-5e67[iDempiere] hengsin 25cb35b - IDEMPIERE-3670 Schedule process: always recalculate sleep time before start and startAll. Fix context is lost error.05:41
Not-5e67[iDempiere5.1] jenkins built #100 completed (success) http://ci.idempiere.org/job/iDempiere5.1/100/05:55
*** nmicoud has joined #idempiere06:05
*** nmicoud has quit IRC06:13
*** nmicoud has joined #idempiere06:14
Not-5e67[IDEMPIERE] hengsin updated IDEMPIERE-3670 status set to "Resolved" -assignee set to "hengsin" -Fix Version set to "5.1" -resolution set to "Fixed"07:06
Not-5e67[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-367007:06
*** norbertbede has joined #idempiere12:13
norbertbedehi @nmicoud12:13
nmicoudhi norbert12:13
norbertbedei forget about my promise - related to htmlreport12:13
norbertbedesorry for that12:13
norbertbedei will supply it next week12:13
norbertbedeis this still opened ?12:14
norbertbedei mean header fixing12:14
*** nmicoud_ has joined #idempiere12:14
nmicoud_no problem, i was busy those days12:14
nmicoud_and on holidays next week12:14
norbertbedeok. ah i see12:14
nmicoud_will have a look the you will pubilsh it12:14
nmicoud_*publish*12:14
norbertbedethen stay in touch, OK12:14
nmicoud_yep12:14
norbertbedelet me ask related to sessions12:14
nmicoud_thakns12:14
nmicoud_sure12:15
norbertbedewe installed your plugin validate max sessions12:15
norbertbedethis works well.12:15
norbertbedethe problem is related - in such cases - are dead  sesssions12:16
norbertbedewe have multiple servers behind haproxy12:16
norbertbedei submit fix for one use case https://idempiere.atlassian.net/browse/IDEMPIERE-367412:16
norbertbedewhen we shutdown and/or reboot a server behind balancer.12:17
norbertbedethis fix properly shutdown server12:17
norbertbedeon centos/redhat12:17
nmicoud_i also see sometimes dead sessions ; everynight, i execute a sql : update ad_session set processed = 'N' where updated < sysdate-112:17
norbertbedeyes. BUT - we implement another validation DisallowMultipleSessions per user12:18
*** nmicoud has quit IRC12:18
norbertbedeso when user lost his session eg.. network outage - notebook mobile network lost, then user try login again. but cant12:19
norbertbedeelse no reason to implement limit max sessions12:19
norbertbedeso we would like to find reason12:20
norbertbedewell12:20
nmicoud_i fear that won't be easy12:20
nmicoud_just an idea : we can kill sessions attached to a server12:21
nmicoud_so perhaps we can write a process which will try to "contact" sessions to see if they are still alive ?12:21
nmicoud_if not, the session could be processed12:21
norbertbedeyes. this can be long term solution12:21
norbertbedeadd to ad_session "last seen" field - can be updated each 5 min12:22
nmicoud_how woud you update it ?12:22
norbertbedei spoken with coder. we have idea to send broadcasting "somehow" to each session periodically.12:23
norbertbedecant say detail because it is for the developer :)12:23
nmicoud_:)12:23
norbertbedeanother simplest quick win approach can be: kill user session when try login again12:23
norbertbedegoal: we want to prevent allow user to be login twice12:24
norbertbede1. user login on device 112:24
nmicoud_but will it work if the session is dead ?12:24
norbertbede2. user login on device 2 thick kick-out devuce 112:24
nmicoud_and what if somebody else try to connect using a coworker credentials ?12:24
nmicoud_That could be dangerous12:24
norbertbedethis we want prevent12:24
norbertbedewe plan to send serious broadcast message >> like when kill session12:25
norbertbedelet say: your session will be ended in 5 minutes - new session initiated for your user12:25
nmicoud_if user don't want to disconnect, he will click on "No" ?12:26
norbertbedeso when he forget simple we kickout12:26
nmicoud_means that new user will hang on the login panel for 5 mn ?12:26
norbertbedeno. chance. allways disconnect12:26
norbertbedeyes he hasnt any chance to survive12:26
norbertbedethis is for abuse cloud licnce12:26
nmicoud_if someone abuse, it will be traced in logs12:27
norbertbedelicence agreement says do not use same user twice. if they agree and follow this rule then ok. else kick out seriouslz12:27
norbertbedei mean abuse = free user12:27
nmicoud_that's how Citrix licence works12:27
norbertbedee.g. customer has 5 user but they are 7 in company and abuse lcences12:28
norbertbedeim never worked at citrix :)12:28
nmicoud_if i use credentials of a connected user, i take his session ; he's automatically logged out12:28
norbertbedewe have 2-3 customers they are growing but no new licences requred12:30
nmicoud_that need to be handled then :)12:30
norbertbedeso first we trying understand why sessions dead… but looks not easy task12:31
nmicoud_gurus may have idea12:31
nmicoud_i just handle them by manually set processed to N12:31
norbertbedethanks for ideas. will contact gurus soon :) have a nice weekend !! and enjoy your holiday12:35
nmicoud_thanks :)12:35
*** norbertbede has quit IRC15:13
*** nmicoud_ has quit IRC15:23
*** RecordingBot has joined #idempiere15:50
*** Escuar has joined #idempiere16:37
*** a42niem has quit IRC23:26

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!