<div dir="ltr">Figured it out. Not that hard with clear eyes really. Bigwig still refers to an older version of cowboy. I could revery back to that compatible version. But, what I would really like is to upgrade my fork to be compatible with the latest. <div>
<br></div><div>So, what I am looking for is documentation or changelogs to help me with this upgrade. like the cowboy:start_listener/6 -> cowboy:start_http migration.</div><div><br></div><div>I'll keep fumbling my way through but any insight from those whom have been through it would be greatly appreciated.</div>
<div><br></div><div>Thanks.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 18, 2014 at 8:31 PM, Ryan Brown <span dir="ltr"><<a href="mailto:ryankbrown@gmail.com" target="_blank">ryankbrown@gmail.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">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/" target="_blank">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>
<span class="HOEnZb"><font color="#888888">
<div><br></div>-- <br>-rb
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>-rb
</div>