<div dir="ltr">I am testing-out bigwig for a possible monitoring solution for my application. When I attempt to hook it up to my application I get the following cowboy error. I am having trouble deciphering it. Any help would be greatly appreciated.<div>
<br></div><div><div>=INFO REPORT==== 18-Aug-2014::20:23:37 ===</div><div>Bigwig listening on <a href="http://127.0.0.1:40829/">http://127.0.0.1:40829/</a></div><div><br></div><div>=CRASH REPORT==== 18-Aug-2014::20:23:37 ===</div>
<div>  crasher:</div><div>    initial call: bigwig_http:init/1</div><div>    pid: <0.4861.0></div><div>    registered_name: []</div><div>    exception exit: {undef,</div><div>                     [{cowboy,start_listener,</div>
<div>                       [http,16,cowboy_tcp_transport,</div><div>                        [{port,40829}],</div><div>                        cowboy_http_protocol,</div><div>                        [{dispatch,</div><div>
                          [{'_',</div><div>                            [{[],bigwig_http_static,</div><div>                              [<<"html">>,<<"index.html">>]},</div>
<div>                             {[<<"static">>,'...'],bigwig_http_static,[]},</div><div>                             {[<<"vm">>],bigwig_http_vm,[]},</div><div>                             {[<<"rb">>,<<"stream">>],</div>
<div>                              bigwig_http_rb_stream,[]},</div><div>                             {[<<"rb">>,'...'],bigwig_http_rb,[]},</div><div>                             {[<<"pid">>,'...'],bigwig_http_pid,[]},</div>
<div>                             {[<<"module">>,'...'],bigwig_http_module,[]},</div><div>                             {[<<"top">>,'...'],bigwig_http_etop2,[]},</div>
<div>                             {[<<"appmon">>,'...'],bigwig_http_appmon,[]},</div><div>                             {[<<"stats-stream">>],</div><div>                              bigwig_http_stats_stream,[]},</div>
<div>                             {'_',bigwig_http_catchall,[]}]}]}]],</div><div>                       []},</div><div>                      {bigwig_http,init,1,</div><div>                       [{file,"src/bigwig_http.erl"},{line,54}]},</div>
<div>                      {gen_server,init_it,6,</div><div>                       [{file,"gen_server.erl"},{line,304}]},</div><div>                      {proc_lib,init_p_do_apply,3,</div><div>                       [{file,"proc_lib.erl"},{line,227}]}]}</div>
<div>      in function  gen_server:init_it/6 (gen_server.erl, line 328)</div><div>    ancestors: [bigwig_sup,<0.4853.0>]</div><div>    messages: []</div><div>    links: [<0.4854.0>]</div><div>    dictionary: []</div>
<div>    trap_exit: false</div><div>    status: running</div><div>    heap_size: 610</div><div>    stack_size: 24</div><div>    reductions: 911</div><div>  neighbours:</div><div><br></div><div>=SUPERVISOR REPORT==== 18-Aug-2014::20:23:37 ===</div>
<div>     Supervisor: {local,bigwig_sup}</div><div>     Context:    start_error</div><div>     Reason:     {undef,</div><div>                     [{cowboy,start_listener,</div><div>                          [http,16,cowboy_tcp_transport,</div>
<div>                           [{port,40829}],</div><div>                           cowboy_http_protocol,</div><div>                           [{dispatch,</div><div>                                [{'_',</div><div>
                                     [{[],bigwig_http_static,</div><div>                                       [<<"html">>,<<"index.html">>]},</div><div>                                      {[<<"static">>,'...'],</div>
<div>                                       bigwig_http_static,[]},</div><div>                                      {[<<"vm">>],bigwig_http_vm,[]},</div><div>                                      {[<<"rb">>,<<"stream">>],</div>
<div>                                       bigwig_http_rb_stream,[]},</div><div>                                      {[<<"rb">>,'...'],bigwig_http_rb,[]},</div><div>                                      {[<<"pid">>,'...'],bigwig_http_pid,[]},</div>
<div>                                      {[<<"module">>,'...'],</div><div>                                       bigwig_http_module,[]},</div><div>                                      {[<<"top">>,'...'],bigwig_http_etop2,[]},</div>
<div>                                      {[<<"appmon">>,'...'],</div><div>                                       bigwig_http_appmon,[]},</div><div>                                      {[<<"stats-stream">>],</div>
<div>                                       bigwig_http_stats_stream,[]},</div><div>                                      {'_',bigwig_http_catchall,[]}]}]}]],</div><div>                          []},</div><div>                      {bigwig_http,init,1,</div>
<div>                          [{file,"src/bigwig_http.erl"},{line,54}]},</div><div>                      {gen_server,init_it,6,</div><div>                          [{file,"gen_server.erl"},{line,304}]},</div>
<div>                      {proc_lib,init_p_do_apply,3,</div><div>                          [{file,"proc_lib.erl"},{line,227}]}]}</div><div>     Offender:   [{pid,undefined},</div><div>                  {name,bigwig_http},</div>
<div>                  {mfargs,{bigwig_http,start_link,[]}},</div><div>                  {restart_type,permanent},</div><div>                  {shutdown,5000},</div><div>                  {child_type,worker}]</div><div><br>
</div><div><br></div><div>=INFO REPORT==== 18-Aug-2014::20:23:37 ===</div><div>    application: bigwig</div><div>    exited: {shutdown,{bigwig_app,start,[normal,[]]}}</div><div>    type: temporary</div><div>{error,{shutdown,{bigwig_app,start,[normal,[]]}}}</div>
<div><br></div>-- <br>-rb
</div></div>