[erlang-questions] Programming Erlang: Chap 18, Websockets

Jesper Louis Andersen jesper.louis.andersen@REDACTED
Sun Jun 25 22:12:32 CEST 2017


The error suggest the `ssl` application has not been started by something
depends on it. My bet is that a dependency was updated somewhere between
that code was written and your Erlang release, so things goes awry. If you
look at the line

{"init terminating in do_boot",{{badmatch,{error,{no
t_started,ssl}}},[{ezwebframe,start_link,2,[{file,"src/
ezwebframe.erl"},{line,22}]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}

You have the stack of where the error occurred. The topmost frame is in
ezwebframe:start_link/2 (src/ezwebframe.erl:22). To fix the problem, this
is probably where you should look.

On Sun, Jun 25, 2017 at 10:02 PM 7stud <7stud@REDACTED> wrote:

> I'm having trouble running the demos for the ezwebframe.  I installed the
> old rebar (v. rebar3), but I'm getting the error:
>
>     {badmatch,{error,{not_started,ssl}}
>
> I'm on Mac OSX 10.10.5.  Here is my output:
>
> ===========
> ../ezwebframe-master$ gmake
> ...
> ....
> Erlang/OTP 19 [erts-8.2] [source] [64-bit] [smp:4:4] [async-threads:10]
> [hipe] [kernel-poll:false]
>
> a simple_demo of websockets....
> Load the page http://localhost:1456/ in your browser
>
> Starting:{ok,"/Users/7stud/erlang_programs/ezwebframe/ezwebframe-master/demos"}
> Eshell V8.2  (abort with ^G)
> 1> {"init terminating in
> do_boot",{{badmatch,{error,{not_started,ssl}}},[{ezwebframe,start_link,2,[{file,"src/ezwebframe.erl"},{line,22}]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
> init terminating in do_boot ()
>
> Crash dump is being written to: erl_crash.dump...done
> make[1]: *** [all] Error 1
> gmake: *** [Makefile:4: all] Error 2
> ===========
>
> Thanks for any help is solving this problem!
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170625/b8ec701f/attachment.htm>


More information about the erlang-questions mailing list