[erlang-questions] Un-identifiable SSL issue when upgrading from R 15B-03 to 16A, 16B, 16B-01

Bhasker Kode <>
Tue Jun 25 15:20:16 CEST 2013


Did you run this on a mac?

Interestingly it worked for me on my desktop( mac osx lion), but not in the
environment where R15-03 worked (ubuntu 11.04).

~B

On Tue, Jun 25, 2013 at 6:24 PM, Ingela Andin <>wrote:

> It works fine for me on both R16B01 and R16B .... (I edited out the real
> hostnames)
>
> Erlang R16B01 (erts-5.10.2) [smp:4:4] [async-threads:10] [hipe]
> [kernel-poll:false]
>
> Eshell V5.10.2  (abort with ^G)
> 1>  c(test).
> {ok,test}
> 2> test:start().
> <0.54.0>
>
>  <0.54.0> listening on 8443 use_verify_peer:false use_accept_timeout:false
> 3>  test:client("XXX").
>
> New connection
> loopdata Accepted! Ready to receive data
> Socket received data...
> <<"GET / HTTP/1.1\r\nHost:XXX:8443\r\n">>
>
> client got back
> <<"{\"ok\":true}">>
> 4>
>
> loopdata Accepted! Ready to receive data4>
>
>
> Erlang R16B (erts-5.10.1) [source] [64-bit] [smp:8:8] [async-threads:10]
> [hipe] [kernel-poll:false]
>
> Eshell V5.10.1  (abort with ^G)
> 1> c(test).
> test.erl:124: Warning: variable 'Port' is unused
> {ok,test}
> 2> test:start().
> <0.54.0>
>
>  <0.54.0> listening on 8443 use_verify_peer:false use_accept_timeout:false
> 3> test:client("XXX").
>
> New connection
> loopdata Accepted! Ready to receive data
> Socket received data...
> <<"GET / HTTP/1.1\r\nHost:XXX:8443\r\n">>
>
> client got back
> <<"{\"ok\":true}">>
>
> loopdata Accepted! Ready to receive data4>
>
>
> Regards Ingela Erlang/OTP team - Ericsson AB
>
>
>
>
> 2013/6/25 Bhasker Kode <>
>
>> Ping!
>>
>> I'm posting my experience upgrading from an Ubuntu 11.04 image R15B-02 to
>> a more recent release.
>> tl;dr https://gist.github.com/bosky101/5844535
>>
>> I began with R16B01, R16B, R16A, R15B-03 respectively and was only able
>> to run the expected TLS behaviour in R15-03.
>> I tested them on different instances of the ubuntu 11.04 image. Various
>> OpenSSL made no difference.
>>
>> Here is a module to test the same with accompanying notes
>> https://gist.github.com/bosky101/5844535
>> It has constants for ?USE_VERIFY_PEER, ?USE_SSL_ACCEPT. You may have to
>> pass ?CERT,?KEY,?CA as well.
>>
>> Considering that under the same circumstances - only R15B-03 worked - I
>> wonder if this is a regression issue.
>> Will be happy to pass ssh access if it helps.
>>
>> ~Bosky | Verbs.im | @bhaskerkode
>>
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130625/5ebe140c/attachment.html>


More information about the erlang-questions mailing list