Created
February 10, 2013 03:52
-
-
Save wmealing/4748284 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dispatch_rules() -> | |
%% {Host, list({Path, Handler, Opts})} | |
{'_', [ | |
{[], cowboy_static, [<<"index.html">>] } | |
] | |
}. | |
{ok, _} = cowboy:start_http(http, NumAcceptors, [{port, 8080}], [ | |
{env, [{dispatch, Dispatch}]} | |
]), | |
=ERROR REPORT==== 10-Feb-2013::13:48:58 === | |
Error in process <0.101.0> with exit value: {badarg,[{binary,match,[[<<1 byte>>,<<1 byte>>,<<1 byte>>,<<3 bytes>>],<<1 byte>>],[]},{cowboy_router,split_host,2,[{file,"src/cowboy_router.erl"},{line,310}]},{cowboy_router,match,3,[{file,"src/cowboy_router.erl"},{line,244}]},{cowboy_router,execute,2,[{file,"src/cowboy_route... | |
=SUPERVISOR REPORT==== 10-Feb-2013::13:48:58 === | |
Supervisor: {<0.67.0>,ranch_conns_sup} | |
Context: child_terminated | |
Reason: {badarg, | |
[{binary,match, | |
[[<<"1">>,<<"0">>,<<"0">>,<<"127">>],<<".">>], | |
[]}, | |
{cowboy_router,split_host,2, | |
[{file,"src/cowboy_router.erl"},{line,310}]}, | |
{cowboy_router,match,3, | |
[{file,"src/cowboy_router.erl"},{line,244}]}, | |
{cowboy_router,execute,2, | |
[{file,"src/cowboy_router.erl"},{line,173}]}, | |
{cowboy_protocol,execute,4, | |
[{file,"src/cowboy_protocol.erl"},{line,494}]}]} | |
Offender: [{pid,<0.101.0>}, | |
{name,ranch_conns_sup}, | |
{mfargs,{ranch_conns_sup,start_protocol,undefined}}, | |
{restart_type,temporary}, | |
{shutdown,brutal_kill}, | |
{child_type,worker}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment