Session Timeout issue

Zaid Abdulla zaid at genieacs.com
Tue Aug 1 21:06:36 EDT 2017


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>


More information about the Users mailing list