Session Timeout issue

Simon Ryf simon.ryf at dualstack.ch
Thu Aug 3 06:37:44 EDT 2017


Hi Zaid,

On the other issue:

    This is likely a bug. I have a few fixes coming up tomorrow so that
    will hopefully get resolved. But let me know if it doesn't.
I was NOT checking log properly. This was due to “endless_cycle”.

Could you expose MAX_CYCLES in ./lib/cwmp.js and MAX_ITERATIONS in ./lib/session.js
to config.json?

I had by now several times the issue that those thresholds were somewhat tight in certain conditions and it would help me
not to mess around in the code.

br
Simon


On 02.08.17, 03:06, "Users on behalf of Zaid Abdulla" <users-bounces at lists.genieacs.com on behalf of zaid at genieacs.com> wrote:

    On Fri, 2017-07-28 at 16:47 +0000, Simon Ryf wrote: 
    > Refreshing the whole tree (IGW.*) the device takes some time to
    > respond but GenieACS is sending a TCP-FIN to the device after 5
    > seconds.
    > Setting the SESSION_TIMEOUT in ./config/config.json had no effect. On
    > other installations, the timeout seems to be 30 seconds. I’m not sure
    > where this is coming from.
    
    So you're not seeing any exceptions in the log? Genie defaults to the
    30 seconds timeout or whatever you have specified in config.json. The
    device may also suggest a session timeout value in the inform message 
    but I doubt your device sets the timeout to 5 seconds.
     
    > When I use GET_PARAMETER_NAMES_DEPTH_THRESHOLD=2
    > I have the problem that on the first run the ACS is only collecting
    > PARAMTER_NAMES but not their values.
    > In the next inform it does then collect the values as well. But I
    > guess that is not the intended behaviour?
    
    This is likely a bug. I have a few fixes coming up tomorrow so that
    will hopefully get resolved. But let me know if it doesn't.
     
    > Do you have any thoughts where I need to look to change the timeout
    > so the tcp-session is not closed after (only) 5 seconds?
    
    It's possible that the device sends "Connection: close" header. A CWMP
    session can span across multiple TCP connections so this could be
    normal.
    
    -- 
    Zaid Abdulla <zaid at genieacs.com>
    _______________________________________________
    Users mailing list
    Users at lists.genieacs.com
    http://lists.genieacs.com/mailman/listinfo/users
    



More information about the Users mailing list