I'm experiencing the exact same issue and I'm on Fedora 20 using R16B02 and the most recent ChicagoBoss. Like the OP said, it seem's to be cosmetic in that the app still works but these errors keep spitting out into the console. However, if I try switching back to mochiweb then the app does not work and error is the same as Alexey's.
On Tuesday, September 10, 2013 2:37:08 PM UTC-5, Kai Janson wrote: > > Does cowboy work on Windows? > I think I recall something that Cowboy can't be used on Windows. > > --Kai > > On Sep 10, 2013, at 3:30 PM, Alexey Marunin <[email protected]<javascript:>> > wrote: > > I have the same problem. > > Changing cowboy to mochiweb in boss.config is not work: > > 23:26:31.838 [error] CRASH REPORT Process <0.147.0> with 0 neighbours > crashed with reason: bad argument in call to > erlang:iolist_size([1071,32,1084,1086,1075,1091,32,1075,1086,1074,1086,1088,1080,1090,1100,32,1087,1086,45,1088,1091,...]) > > in mochiweb_request:respond/2 line 337 > > > среда, 7 августа 2013 г., 19:49:40 UTC+4 пользователь Evgeny M написал: >> >> Regular project. >> Just create a test project as described in tutorial pdf, create a single >> controller with an action, change mochiweb to cowboy in boss.config, run >> init-dev.sh, navigate to a view page and press F5 for a couple of seconds. >> Then have a look on the console output. >> There're no such error messages with mochiweb as a server. >> >> суббота, 27 июля 2013 г., 17:09:58 UTC+4 пользователь Evgeny M написал: >>> >>> When a browser closes connection before data gets written to a socket >>> (not sure 100%, but I think it happens because of that), there are errors >>> printed to console, like >>> >>> 16:50:41.711 [error] Supervisor ranch_conns_sup had child >>> ranch_conns_sup started with {ranch_conns_sup,start_protocol,undefined} at >>> <0.1318.0> exit with reason no case clause matching closed in >>> cowboy_protocol:execute/4 line 514 in context child_terminated >>> 16:50:42.011 [info] GET /test/hello/ [mytestapp] 200 1600ms >>> 16:50:42.012 [error] Error in process <0.1322.0> on node >>> 'mytestapp@atomic' with exit value: >>> {{case_clause,closed},[{cowboy_protocol,execute,4,[{file,"src/cowboy_protocol.erl"},{line,514}]}]} >>> >>> This is very common situation, just press and hold F5 to refresh a boss >>> page rapidly and there will be plenty of such messages in debug console. >>> This is just cosmetic error, as everything works all right, but I'm not >>> sure if this error supposed to be raised at all? >>> >>> >>> >>> > -- > You received this message because you are subscribed to the Google Groups > "ChicagoBoss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "ChicagoBoss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
