[erlang-questions] Trouble getting bigwig to run

Ryan Brown ryankbrown@REDACTED
Tue Aug 19 07:44:44 CEST 2014


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.

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.

I'll keep fumbling my way through but any insight from those whom have been
through it would be greatly appreciated.

Thanks.


On Mon, Aug 18, 2014 at 8:31 PM, Ryan Brown <ryankbrown@REDACTED> wrote:

> 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.
>
> =INFO REPORT==== 18-Aug-2014::20:23:37 ===
> Bigwig listening on http://127.0.0.1:40829/
>
> =CRASH REPORT==== 18-Aug-2014::20:23:37 ===
>   crasher:
>     initial call: bigwig_http:init/1
>     pid: <0.4861.0>
>     registered_name: []
>     exception exit: {undef,
>                      [{cowboy,start_listener,
>                        [http,16,cowboy_tcp_transport,
>                         [{port,40829}],
>                         cowboy_http_protocol,
>                         [{dispatch,
>                           [{'_',
>                             [{[],bigwig_http_static,
>                               [<<"html">>,<<"index.html">>]},
>                              {[<<"static">>,'...'],bigwig_http_static,[]},
>                              {[<<"vm">>],bigwig_http_vm,[]},
>                              {[<<"rb">>,<<"stream">>],
>                               bigwig_http_rb_stream,[]},
>                              {[<<"rb">>,'...'],bigwig_http_rb,[]},
>                              {[<<"pid">>,'...'],bigwig_http_pid,[]},
>                              {[<<"module">>,'...'],bigwig_http_module,[]},
>                              {[<<"top">>,'...'],bigwig_http_etop2,[]},
>                              {[<<"appmon">>,'...'],bigwig_http_appmon,[]},
>                              {[<<"stats-stream">>],
>                               bigwig_http_stats_stream,[]},
>                              {'_',bigwig_http_catchall,[]}]}]}]],
>                        []},
>                       {bigwig_http,init,1,
>                        [{file,"src/bigwig_http.erl"},{line,54}]},
>                       {gen_server,init_it,6,
>                        [{file,"gen_server.erl"},{line,304}]},
>                       {proc_lib,init_p_do_apply,3,
>                        [{file,"proc_lib.erl"},{line,227}]}]}
>       in function  gen_server:init_it/6 (gen_server.erl, line 328)
>     ancestors: [bigwig_sup,<0.4853.0>]
>     messages: []
>     links: [<0.4854.0>]
>     dictionary: []
>     trap_exit: false
>     status: running
>     heap_size: 610
>     stack_size: 24
>     reductions: 911
>   neighbours:
>
> =SUPERVISOR REPORT==== 18-Aug-2014::20:23:37 ===
>      Supervisor: {local,bigwig_sup}
>      Context:    start_error
>      Reason:     {undef,
>                      [{cowboy,start_listener,
>                           [http,16,cowboy_tcp_transport,
>                            [{port,40829}],
>                            cowboy_http_protocol,
>                            [{dispatch,
>                                 [{'_',
>                                      [{[],bigwig_http_static,
>                                        [<<"html">>,<<"index.html">>]},
>                                       {[<<"static">>,'...'],
>                                        bigwig_http_static,[]},
>                                       {[<<"vm">>],bigwig_http_vm,[]},
>                                       {[<<"rb">>,<<"stream">>],
>                                        bigwig_http_rb_stream,[]},
>                                       {[<<"rb">>,'...'],bigwig_http_rb,[]},
>
> {[<<"pid">>,'...'],bigwig_http_pid,[]},
>                                       {[<<"module">>,'...'],
>                                        bigwig_http_module,[]},
>
> {[<<"top">>,'...'],bigwig_http_etop2,[]},
>                                       {[<<"appmon">>,'...'],
>                                        bigwig_http_appmon,[]},
>                                       {[<<"stats-stream">>],
>                                        bigwig_http_stats_stream,[]},
>                                       {'_',bigwig_http_catchall,[]}]}]}]],
>                           []},
>                       {bigwig_http,init,1,
>                           [{file,"src/bigwig_http.erl"},{line,54}]},
>                       {gen_server,init_it,6,
>                           [{file,"gen_server.erl"},{line,304}]},
>                       {proc_lib,init_p_do_apply,3,
>                           [{file,"proc_lib.erl"},{line,227}]}]}
>      Offender:   [{pid,undefined},
>                   {name,bigwig_http},
>                   {mfargs,{bigwig_http,start_link,[]}},
>                   {restart_type,permanent},
>                   {shutdown,5000},
>                   {child_type,worker}]
>
>
> =INFO REPORT==== 18-Aug-2014::20:23:37 ===
>     application: bigwig
>     exited: {shutdown,{bigwig_app,start,[normal,[]]}}
>     type: temporary
> {error,{shutdown,{bigwig_app,start,[normal,[]]}}}
>
> --
> -rb
>



-- 
-rb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140818/87065696/attachment.htm>


More information about the erlang-questions mailing list