<div dir="ltr">Seems that if I just delete the mnesia directory, I'm golden to start cowboy up again. Guess I need to die more gracefully when I'm testing?<div><br></div><div>Regards,</div><div>Henry.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><p style="margin:0px 0px 10px;color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;font-size:10px;line-height:12px"><img src="https://docs.google.com/a/crankwheel.com/uc?id=0B55iT_nUnUX2eUJzWW1CanZVUVp2cFl6VnAtZVhlQlgzX3RJ&export=download" width="96" height="39"><br></p><p style="margin:0px 0px 10px;font-family:Helvetica,Arial,sans-serif;font-size:10px;line-height:12px"><span style="color:rgb(33,33,33);font-weight:bold">Henrý Þór Baldursson</span><font color="#212121"> </font><span style="color:rgb(33,33,33)">/</span><font color="#212121"> Programmer</font><span style="color:rgb(33,33,33)"><br></span><span style="color:rgb(33,33,33)"><a href="mailto:henry@crankwheel.com" target="_blank">henry@crankwheel.com</a> / <a href="tel:+3548698264" target="_blank">+354 869-8264</a></span></p><p style="margin:0px 0px 10px;font-family:Helvetica,Arial,sans-serif;font-size:10px;line-height:12px"><span style="color:rgb(0,0,0);font-weight:bold">CrankWheel</span><font color="#000000"> </font><span style="color:rgb(0,0,0)"><br></span><span style="color:rgb(0,0,0)"><a href="tel:+3545345700" value="+3545345700" style="color:rgb(17,85,204)" target="_blank">+354 534-5700</a></span><font color="#000000"> </font><span style="color:rgb(0,0,0)"><br></span><span style="color:rgb(0,0,0)">Ármúli 6, 108 Reykjavík, Iceland</span><font color="#000000"> </font><span style="color:rgb(0,0,0)"><br></span><font color="#000000"><a href="http://crankwheel.com/" target="_blank">http://crankwheel.com/</a></font></p></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Jul 13, 2015 at 3:52 PM, Henrý Þór Baldursson <span dir="ltr"><<a href="mailto:henry@crankwheel.com" target="_blank">henry@crankwheel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey guys<div><br></div><div>So I got my project up and running. But I seem to be fighting some sort of corruption on restarting my process.</div><div><br></div><div>If I stop my task (as it's still in staging) and start it up again, I get a bunch of these messages before my program exits:</div><div><div>=ERROR REPORT==== 13-Jul-2015::12:19:31 ===</div><div>Error in process <0.328.0> on node '<a href="mailto:erlfector@micro-2.crankwheel.com" target="_blank">erlfector@micro-2.crankwheel.com</a>' with exit value:</div><div>{{case_clause,{error,closed}},</div><div> [{ranch_acceptor,loop,3,</div><div>                  [{file,"/home/cw/erlfector/_build/default/lib/ranch/src/ranch_acceptor.erl"},</div><div>                   {line,28}]}]}</div><div><br></div><div>The only way I've found to fix is it is to remove my rel directory and rebuild my application between restarts.</div><div><br></div><div>Anyone have any ideas?</div><div><br></div><div>Cowboy version: 1.0.1</div><div>Erlang: [{release,"Erlang/OTP","18","7.0",</div><div>          [{kernel,"4.0","/usr/lib/erlang/lib/kernel-4.0"},                                       </div><div>           {stdlib,"2.5","/usr/lib/erlang/lib/stdlib-2.5"},                                       </div><div>           {sasl,"2.5","/usr/lib/erlang/lib/sasl-2.5"}],                                          </div><div>          permanent}].</div><div><br></div><div><br></div><div><br></div><div>Regards,</div><div>Henry.</div><div><div><div dir="ltr"><div><div dir="ltr"><p style="margin:0px 0px 10px;color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;font-size:10px;line-height:12px"><img src="https://docs.google.com/a/crankwheel.com/uc?id=0B55iT_nUnUX2eUJzWW1CanZVUVp2cFl6VnAtZVhlQlgzX3RJ&export=download" width="96" height="39"><br></p><p style="margin:0px 0px 10px;font-family:Helvetica,Arial,sans-serif;font-size:10px;line-height:12px"><span style="color:rgb(33,33,33);font-weight:bold">Henrý Þór Baldursson</span><font color="#212121"> </font><span style="color:rgb(33,33,33)">/</span><font color="#212121"> Programmer</font><span style="color:rgb(33,33,33)"><br></span><span style="color:rgb(33,33,33)"><a href="mailto:henry@crankwheel.com" target="_blank">henry@crankwheel.com</a> / <a href="tel:+3548698264" target="_blank">+354 869-8264</a></span></p><p style="margin:0px 0px 10px;font-family:Helvetica,Arial,sans-serif;font-size:10px;line-height:12px"><span style="color:rgb(0,0,0);font-weight:bold">CrankWheel</span><font color="#000000"> </font><span style="color:rgb(0,0,0)"><br></span><span style="color:rgb(0,0,0)"><a href="tel:+3545345700" value="+3545345700" style="color:rgb(17,85,204)" target="_blank">+354 534-5700</a></span><font color="#000000"> </font><span style="color:rgb(0,0,0)"><br></span><span style="color:rgb(0,0,0)">Ármúli 6, 108 Reykjavík, Iceland</span><font color="#000000"> </font><span style="color:rgb(0,0,0)"><br></span><font color="#000000"><a href="http://crankwheel.com/" target="_blank">http://crankwheel.com/</a></font></p></div></div></div></div></div>
</div></div>
</blockquote></div><br></div>