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

Ingela Andin ingela.andin@REDACTED
Tue Jun 25 17:48:48 CEST 2013


Hi!

2013/6/25 Bhasker Kode <bosky101@REDACTED>

> Going off the forums.
>
> One more thing, can you try with ?USE_VERIFY_PEER , ?USE_ACCEPT_TIMEOUT
> both to true ?
>
>

Yes works too, I would be very disappointed if it did not ;)

Regards Ingela Erlang/OTP team - Ericsson AB


~B
>
> On Tue, Jun 25, 2013 at 7:24 PM, Ingela Andin <ingela.andin@REDACTED>wrote:
>
>> Hi!
>>
>>
>> 2013/6/25 Bhasker Kode <bosky101@REDACTED>
>>
>>> 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).
>>>
>>>
>>
>> I tested it on Ubuntu 12.04.2 and sles-10. So maybe something is off with
>> the environment.
>>
>>
>> Regards Ingela Erlang/OTP - Ericsson AB
>>
>>
>>> ~B
>>>
>>>
>>> On Tue, Jun 25, 2013 at 6:24 PM, Ingela Andin <ingela.andin@REDACTED>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 <bosky101@REDACTED>
>>>>
>>>>> 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
>>>>> 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/20130625/f1af7579/attachment.htm>


More information about the erlang-questions mailing list