<div dir="ltr">SSL not started? Try:<br><br><div>application:ensure_all_started(ssl).<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 19, 2016 at 8:25 PM, Roger Wenham <span dir="ltr"><<a href="mailto:roger.wenham@gmx.net" target="_blank">roger.wenham@gmx.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi,
    <br>
    Having had some difficulty writing a TLS server, I decided to run
    the example in the sources for SSL
    <br>
    (...<i><span>/</span>erlang/lib/ssl-7.2/examples<span>/</span></i>...) and to my surprise, it
    fails also.
    <br>
    <br>
    What I get is:
    <br>
    <br>
    Erlang/OTP 18 [erts-7.2.1] [source] [64-bit] [smp:8:8]
    [async-threads:10] [hipe] [kernel-poll:false]
    <br>
    <br>
    Eshell V7.2.1  (abort with ^G)
    <br>
    <br>
    1> client_server:start().
    <br>
    ** exception exit: {noproc,{gen_server,call,
    <br>
                                           [ssl_listen_tracker_sup,
    <br>
                                                
    {start_child,[#Port<0.748>,
    <br>
                                                 [{active,false},
    <br>
                                                          
    {packet_size,0},
    <br>
                                                           {packet,0},
    <br>
                                                           {header,0},
    <br>
                                                           {mode,list}],
    <br>
                                                          
    {ssl_options,tls,
    <br>
                                                          
    [{3,3},{3,2},{3,1}],
    <br>
                                                                 
    verify_peer,undefined,#Fun<ssl.9.76101806>,true,false,
    <br>
                                                                 
    undefined,2,<<"/opt/local/lib/erlang/li"...>>,undefined,
    <br>
                                                                 
<<"/opt/local/lib/e"...>>,undefined,[],undefined,<<...>>,...}]},<br>
                                                                 
    infinity]}}
    <br>
         in function  gen_server:call/3 (gen_server.erl, line 212)
    <br>
         in call from ssl:listen/2 (ssl.erl, line 155)
    <br>
         in call from client_server:start/0 (client_server.erl, line 35)
    <br>
    <br>
    I have tried this on several platforms, and the failure appears to
    be the same...<br>
    <br>
    I checked back trough the archive for the last few months, but no
    joy...
    <br>
    <br>
    Anyone have any idea about what I'm doing wrong?
    <br>
    <br>
    Thanks
    <br><span class="HOEnZb"><font color="#888888">
    <br>
    Roger
    <br>
    <br>
    <br>
  </font></span></div>

<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>