[erlang-questions] Weird error with Cowboy on restart

Henrý Þór Baldursson henry@REDACTED
Mon Jul 13 17:52:27 CEST 2015


Hey guys

So I got my project up and running. But I seem to be fighting some sort of
corruption on restarting my process.

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:
=ERROR REPORT==== 13-Jul-2015::12:19:31 ===
Error in process <0.328.0> on node 'erlfector@REDACTED' with
exit value:
{{case_clause,{error,closed}},
 [{ranch_acceptor,loop,3,

[{file,"/home/cw/erlfector/_build/default/lib/ranch/src/ranch_acceptor.erl"},
                   {line,28}]}]}

The only way I've found to fix is it is to remove my rel directory and
rebuild my application between restarts.

Anyone have any ideas?

Cowboy version: 1.0.1
Erlang: [{release,"Erlang/OTP","18","7.0",
          [{kernel,"4.0","/usr/lib/erlang/lib/kernel-4.0"},

           {stdlib,"2.5","/usr/lib/erlang/lib/stdlib-2.5"},

           {sasl,"2.5","/usr/lib/erlang/lib/sasl-2.5"}],

          permanent}].



Regards,
Henry.


Henrý Þór Baldursson / Programmer
henry@REDACTED / +354 869-8264 <+3548698264>

CrankWheel
+354 534-5700 <+3545345700>
Ármúli 6, 108 Reykjavík, Iceland
http://crankwheel.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150713/dc322ec1/attachment.htm>


More information about the erlang-questions mailing list