<div dir="ltr">Just updated to latest master, error is still happening. I'll look at the CPEs next.<div><br></div><div>Okay, I think I discovered the issue. Some leftover cruft from our old setup was a button that added a task to run a custom command. That custom command no longer exists in our v1.1 setup. When genie tries to run that cmd it dies. Does customCommand now run the external script?</div><div><br></div><div><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:"droid sans mono","courier new",monospace,"droid sans fallback";font-size:14px;line-height:19px">{<span style="color:rgb(156,220,254)">"_id"</span>:<span style="color:rgb(206,145,120)">"591b38c84671d3617e044721"</span>,<span style="color:rgb(156,220,254)">"name"</span>:<span style="color:rgb(206,145,120)">"customCommand"</span>,<span style="color:rgb(156,220,254)">"command"</span>:<span style="color:rgb(206,145,120)">"refresh_params init true"</span>,<span style="color:rgb(156,220,254)">"device"</span>:<span style="color:rgb(206,145,120)">"3c9066-96318REF-SR360NA016%2D5008049"</span>,<span style="color:rgb(156,220,254)">"timestamp"</span>:<span style="color:rgb(206,145,120)">"2017-05-16T17:37:12.836Z"</span>},</div></div><div><pre style="color:rgb(0,0,0);font-family:hack;font-size:9pt">RangeError: Maximum call stack size exceeded<br>    at Object.clearProvisions (/usr/lib64/node_modules/genieacs/lib/session.js:407:27)<br>    at /usr/lib64/node_modules/genieacs/lib/cwmp.js:463:13<br>    at Object.rpcRequest (/usr/lib64/node_modules/genieacs/lib/session.js:704:12)<br>    at nextRpc (/usr/lib64/node_modules/genieacs/lib/cwmp.js:424:18)<br>    at /usr/lib64/node_modules/genieacs/lib/cwmp.js:540:14<br>    at Object.rpcRequest (/usr/lib64/node_modules/genieacs/lib/session.js:704:12)<br>    at nextRpc (/usr/lib64/node_modules/genieacs/lib/cwmp.js:424:18)<br>    at /usr/lib64/node_modules/genieacs/lib/cwmp.js:540:14<br>    at Object.rpcRequest (/usr/lib64/node_modules/genieacs/lib/session.js:704:12)<br>    at nextRpc (/usr/lib64/node_modules/genieacs/lib/cwmp.js:424:18)<br></pre><pre style="color:rgb(0,0,0);font-family:hack;font-size:9pt"><br></pre><pre style="color:rgb(0,0,0);font-family:hack;font-size:9pt">session.js:704</pre><pre style="color:rgb(0,0,0);font-family:hack;font-size:9pt"><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:"droid sans mono","courier new",monospace,"droid sans fallback";font-size:14px;line-height:19px"><div>703  <span style="color:rgb(197,134,192)">if</span> (<span style="color:rgb(156,220,254)">sessionContext</span>.<span style="color:rgb(156,220,254)">virtualParameters</span>.<span style="color:rgb(156,220,254)">length</span> === <span style="color:rgb(181,206,168)">0</span> && <span style="color:rgb(156,220,254)">sessionContext</span>.<span style="color:rgb(156,220,254)">declarations</span>.<span style="color:rgb(156,220,254)">length</span> === <span style="color:rgb(181,206,168)">0</span> && !(<span style="color:rgb(156,220,254)">_declarations</span> != <span style="color:rgb(86,156,214)">null</span> ? <span style="color:rgb(156,220,254)">_declarations</span>.<span style="color:rgb(156,220,254)">length</span> : <span style="color:rgb(86,156,214)">void</span> <span style="color:rgb(181,206,168)">0</span>) && (<span style="color:rgb(156,220,254)">sessionContext</span>.<span style="color:rgb(156,220,254)">doneProvisions</span> || <span style="color:rgb(156,220,254)">sessionContext</span>.<span style="color:rgb(156,220,254)">provisions</span>.<span style="color:rgb(156,220,254)">length</span> === <span style="color:rgb(181,206,168)">0</span>)) {</div><div>704    <span style="color:rgb(197,134,192)">return</span> <span style="color:rgb(220,220,170)">callback</span>();</div><div>705  }</div></div></pre><pre style="color:rgb(0,0,0);font-family:hack;font-size:9pt"><br></pre><pre style="color:rgb(0,0,0);font-family:hack;font-size:9pt">cwmp.js:424</pre><pre style="color:rgb(0,0,0);font-family:hack;font-size:9pt"><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:"droid sans mono","courier new",monospace,"droid sans fallback";font-size:14px;line-height:19px"><div><span style="color:rgb(220,220,170)">423 nextRpc</span> = <span style="color:rgb(86,156,214)">function</span>(<span style="color:rgb(156,220,254)">sessionContext</span>) {</div><div>424   <span style="color:rgb(197,134,192)">return</span> <span style="color:rgb(156,220,254)">session</span>.<span style="color:rgb(220,220,170)">rpcRequest</span>(<span style="color:rgb(156,220,254)">sessionContext</span>, <span style="color:rgb(86,156,214)">null</span>, <span style="color:rgb(86,156,214)">function</span>(<span style="color:rgb(156,220,254)">err</span>, <span style="color:rgb(156,220,254)">fault</span>, <span style="color:rgb(156,220,254)">id</span>, <span style="color:rgb(156,220,254)">acsRequest</span>) {</div><div>425     <span style="color:rgb(86,156,214)">var</span> <span style="color:rgb(156,220,254)">alias</span>, <span style="color:rgb(156,220,254)">channel</span>, <span style="color:rgb(156,220,254)">flags</span>, <span style="color:rgb(156,220,254)">j</span>, <span style="color:rgb(156,220,254)">l</span>, <span style="color:rgb(156,220,254)">len</span>, <span style="color:rgb(156,220,254)">len1</span>, <span style="color:rgb(156,220,254)">len2</span>, <span style="color:rgb(156,220,254)">len3</span>, <span style="color:rgb(156,220,254)">m</span>, <span style="color:rgb(156,220,254)">n</span>, <span style="color:rgb(156,220,254)">o</span>, <span style="color:rgb(156,220,254)">p</span>, <span style="color:rgb(156,220,254)">ref</span>, <span style="color:rgb(156,220,254)">ref1</span>, <span style="color:rgb(156,220,254)">ref2</span>, <span style="color:rgb(156,220,254)">ref3</span>, <span style="color:rgb(156,220,254)">ref4</span>, <span style="color:rgb(156,220,254)">t</span>, <span style="color:rgb(156,220,254)">task</span>, <span style="color:rgb(156,220,254)">taskId</span>;</div><div></div></div></pre><pre style="color:rgb(0,0,0);font-family:hack;font-size:9pt"><br></pre></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 16, 2017 at 3:50 PM, Zaid Abdulla <span dir="ltr"><<a href="mailto:zaid@genieacs.com" target="_blank">zaid@genieacs.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Are you on the latest master? I made some fixes recently around that<br>
part of the code so maybe this one has already been addressed.<br>
<br>
I think you may be able to find which device caused this error by<br>
looking at the last few requests before every one of these exceptions<br>
happened (or last 5 or so) and find which device doesn't have its last<br>
inform parameter updated.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Zaid Abdulla <<a href="mailto:zaid@genieacs.com">zaid@genieacs.com</a>><br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.genieacs.com/<wbr>mailman/listinfo/users</a><br>
</font></span></blockquote></div><br></div>