<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Forgot to attach config.coffee.patch to my previous post. Sorry
for that.</p>
<p>Best regards,</p>
<p>George Chelidze<br>
</p>
<div class="moz-cite-prefix">On 2/21/19 3:16 PM, George Chelidze
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:e5ac71b1-9ce7-e439-dd60-561317c850ba@magticom.ge">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p><tt>Hi Rick,</tt></p>
<p><tt>I came across the same issue recently and hacked
server.coffee to support new option "KEEP_ALIVE_TIMEOUT".
Attached you can find a quick patch for genieacs-1.2. </tt><tt>Use
it at your own risk :)<br>
</tt></p>
<p><tt>Step by step guide to patch your server:</tt></p>
<p><tt>1. Apply patch to lib/server.coffee:</tt></p>
<p><tt>$ patch -p0 < server.coffee.patch</tt><tt><br>
</tt></p>
<p><tt>can't find file to patch at input line 3</tt><tt><br>
</tt> <tt>Perhaps you used the wrong -p or --strip option?</tt><tt><br>
</tt> <tt>The text leading up to this was:</tt><tt><br>
</tt> <tt>--------------------------</tt><tt><br>
</tt> <tt>|--- server.coffee.orig 2018-03-29
03:56:49.000000000 +0400</tt><tt><br>
</tt> <tt>|+++ server.coffee.patched 2019-02-18
09:46:03.396189759 +0400</tt><tt><br>
</tt> <tt>--------------------------</tt><tt><br>
</tt> <tt>File to patch: server.coffee </tt><tt><br>
</tt> <tt>patching file server.coffee</tt> </p>
<p><tt>2. rebuild server.js:</tt></p>
<p><tt>$ </tt><code>npm run compile</code></p>
<p><code>3. </code><tt>put the following option to
config/config.json:</tt></p>
<p><tt>"KEEP_ALIVE_TIMEOUT" : 20000</tt></p>
<p><tt>4. restart genieacs-cwmp, genieacs-fs, genieacs-nbi</tt></p>
<p><tt># DONE</tt><tt><br>
</tt></p>
<code>I plan to request merge commit for this.</code>
<p><code>Best regards,</code></p>
<p><code>George Chelidze<br>
</code></p>
<p><code></code></p>
On 2/20/19 10:57 PM, Rickard Johansson wrote:
<blockquote type="cite"
cite="mid:CAL=OsD=ChJG62KPTAsY_bdB0bUx3Nvyc4T2G2EMcyOmRSr7jcA@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Hi,
<div><br>
</div>
<div>Whenever I try to refresh the entire
parameter tree I get error Session Timeout
followed by Invalid Session. I tried
setting SESSION_TIMEOUT, CONNECTION_REQUEST_TIMEOUT,
and GET_PARAMETER_NAMES_DEPTH_THRESHOLD
without success.</div>
<div><br>
</div>
<div>I came across this previous question <a
href="http://lists.genieacs.com/pipermail/users/2017-August/001648.html"
moz-do-not-send="true">http://lists.genieacs.com/pipermail/users/2017-August/001648.html</a>
and wanted to try to change
http_server_timeout in nodejs as described
here <a
href="https://github.com/nodejs/node/issues/13391"
moz-do-not-send="true">https://github.com/nodejs/node/issues/13391</a></div>
<div>But I can't figure out where to add this
configuration, or how to start genieacs with
the --keepAliveTimeout 20000 option? </div>
<div><br>
</div>
<div>Running ./genieacs-cwmp --keepAliveTimeout
20000 doesn't seem to do anything.</div>
<div><br>
</div>
<div>Thanks in advance.</div>
<div><br>
</div>
<div>Regards,</div>
<div>
<div>Rick</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.genieacs.com" moz-do-not-send="true">Users@lists.genieacs.com</a>
<a class="moz-txt-link-freetext" href="http://lists.genieacs.com/mailman/listinfo/users" moz-do-not-send="true">http://lists.genieacs.com/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a>
<a class="moz-txt-link-freetext" href="http://lists.genieacs.com/mailman/listinfo/users">http://lists.genieacs.com/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>