[erlang-questions] SSL Example does not work

Roger Wenham roger.wenham@REDACTED
Fri Feb 19 15:55:45 CET 2016


Hi,
Having had some difficulty writing a TLS server, I decided to run the 
example in the sources for SSL
(.../erlang/lib/ssl-7.2/examples/...) and to my surprise, it fails also.

What I get is:

Erlang/OTP 18 [erts-7.2.1] [source] [64-bit] [smp:8:8] 
[async-threads:10] [hipe] [kernel-poll:false]

Eshell V7.2.1  (abort with ^G)

1> client_server:start().
** exception exit: {noproc,{gen_server,call,
                                        [ssl_listen_tracker_sup,
{start_child,[#Port<0.748>,
                                              [{active,false},
{packet_size,0},
                                                        {packet,0},
                                                        {header,0},
                                                        {mode,list}],
{ssl_options,tls,
[{3,3},{3,2},{3,1}],
verify_peer,undefined,#Fun<ssl.9.76101806>,true,false,
undefined,2,<<"/opt/local/lib/erlang/li"...>>,undefined,
<<"/opt/local/lib/e"...>>,undefined,[],undefined,<<...>>,...}]},
infinity]}}
      in function  gen_server:call/3 (gen_server.erl, line 212)
      in call from ssl:listen/2 (ssl.erl, line 155)
      in call from client_server:start/0 (client_server.erl, line 35)

I have tried this on several platforms, and the failure appears to be 
the same...

I checked back trough the archive for the last few months, but no joy...

Anyone have any idea about what I'm doing wrong?

Thanks

Roger


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


More information about the erlang-questions mailing list