Not-5e67 | [iDempiere5.1Daily] jenkins built #53 completed (success) http://ci.idempiere.org/job/iDempiere5.1Daily/53/ | 04:30 |
---|---|---|
*** a42niem has joined #idempiere | 04: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 #idempiere | 06:05 | |
*** nmicoud has quit IRC | 06:13 | |
*** nmicoud has joined #idempiere | 06: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-3670 | 07:06 |
*** norbertbede has joined #idempiere | 12:13 | |
norbertbede | hi @nmicoud | 12:13 |
nmicoud | hi norbert | 12:13 |
norbertbede | i forget about my promise - related to htmlreport | 12:13 |
norbertbede | sorry for that | 12:13 |
norbertbede | i will supply it next week | 12:13 |
norbertbede | is this still opened ? | 12:14 |
norbertbede | i mean header fixing | 12:14 |
*** nmicoud_ has joined #idempiere | 12:14 | |
nmicoud_ | no problem, i was busy those days | 12:14 |
nmicoud_ | and on holidays next week | 12:14 |
norbertbede | ok. ah i see | 12:14 |
nmicoud_ | will have a look the you will pubilsh it | 12:14 |
nmicoud_ | *publish* | 12:14 |
norbertbede | then stay in touch, OK | 12:14 |
nmicoud_ | yep | 12:14 |
norbertbede | let me ask related to sessions | 12:14 |
nmicoud_ | thakns | 12:14 |
nmicoud_ | sure | 12:15 |
norbertbede | we installed your plugin validate max sessions | 12:15 |
norbertbede | this works well. | 12:15 |
norbertbede | the problem is related - in such cases - are dead sesssions | 12:16 |
norbertbede | we have multiple servers behind haproxy | 12:16 |
norbertbede | i submit fix for one use case https://idempiere.atlassian.net/browse/IDEMPIERE-3674 | 12:16 |
norbertbede | when we shutdown and/or reboot a server behind balancer. | 12:17 |
norbertbede | this fix properly shutdown server | 12:17 |
norbertbede | on centos/redhat | 12:17 |
nmicoud_ | i also see sometimes dead sessions ; everynight, i execute a sql : update ad_session set processed = 'N' where updated < sysdate-1 | 12:17 |
norbertbede | yes. BUT - we implement another validation DisallowMultipleSessions per user | 12:18 |
*** nmicoud has quit IRC | 12:18 | |
norbertbede | so when user lost his session eg.. network outage - notebook mobile network lost, then user try login again. but cant | 12:19 |
norbertbede | else no reason to implement limit max sessions | 12:19 |
norbertbede | so we would like to find reason | 12:20 |
norbertbede | well | 12:20 |
nmicoud_ | i fear that won't be easy | 12:20 |
nmicoud_ | just an idea : we can kill sessions attached to a server | 12: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 processed | 12:21 |
norbertbede | yes. this can be long term solution | 12:21 |
norbertbede | add to ad_session "last seen" field - can be updated each 5 min | 12:22 |
nmicoud_ | how woud you update it ? | 12:22 |
norbertbede | i spoken with coder. we have idea to send broadcasting "somehow" to each session periodically. | 12:23 |
norbertbede | cant say detail because it is for the developer :) | 12:23 |
nmicoud_ | :) | 12:23 |
norbertbede | another simplest quick win approach can be: kill user session when try login again | 12:23 |
norbertbede | goal: we want to prevent allow user to be login twice | 12:24 |
norbertbede | 1. user login on device 1 | 12:24 |
nmicoud_ | but will it work if the session is dead ? | 12:24 |
norbertbede | 2. user login on device 2 thick kick-out devuce 1 | 12:24 |
nmicoud_ | and what if somebody else try to connect using a coworker credentials ? | 12:24 |
nmicoud_ | That could be dangerous | 12:24 |
norbertbede | this we want prevent | 12:24 |
norbertbede | we plan to send serious broadcast message >> like when kill session | 12:25 |
norbertbede | let say: your session will be ended in 5 minutes - new session initiated for your user | 12:25 |
nmicoud_ | if user don't want to disconnect, he will click on "No" ? | 12:26 |
norbertbede | so when he forget simple we kickout | 12:26 |
nmicoud_ | means that new user will hang on the login panel for 5 mn ? | 12:26 |
norbertbede | no. chance. allways disconnect | 12:26 |
norbertbede | yes he hasnt any chance to survive | 12:26 |
norbertbede | this is for abuse cloud licnce | 12:26 |
nmicoud_ | if someone abuse, it will be traced in logs | 12:27 |
norbertbede | licence agreement says do not use same user twice. if they agree and follow this rule then ok. else kick out seriouslz | 12:27 |
norbertbede | i mean abuse = free user | 12:27 |
nmicoud_ | that's how Citrix licence works | 12:27 |
norbertbede | e.g. customer has 5 user but they are 7 in company and abuse lcences | 12:28 |
norbertbede | im never worked at citrix :) | 12:28 |
nmicoud_ | if i use credentials of a connected user, i take his session ; he's automatically logged out | 12:28 |
norbertbede | we have 2-3 customers they are growing but no new licences requred | 12:30 |
nmicoud_ | that need to be handled then :) | 12:30 |
norbertbede | so first we trying understand why sessions dead… but looks not easy task | 12:31 |
nmicoud_ | gurus may have idea | 12:31 |
nmicoud_ | i just handle them by manually set processed to N | 12:31 |
norbertbede | thanks for ideas. will contact gurus soon :) have a nice weekend !! and enjoy your holiday | 12:35 |
nmicoud_ | thanks :) | 12:35 |
*** norbertbede has quit IRC | 15:13 | |
*** nmicoud_ has quit IRC | 15:23 | |
*** RecordingBot has joined #idempiere | 15:50 | |
*** Escuar has joined #idempiere | 16:37 | |
*** a42niem has quit IRC | 23:26 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!