[rabbitmq-discuss] SSL client error after upgrade to 2.3.1

Matthias Radestock matthias at rabbitmq.com
Sat Feb 5 20:08:50 GMT 2011


Robin,

Robin Harvey wrote:
> When I try to make an SSL connection, I see the following in the server 
> logs:
> 
> =ERROR REPORT==== 5-Feb-2011::11:29:05 ===
> exception on TCP connection <0.1043.0> from 127.0.0.1:33683 
> <http://127.0.0.1:33683>
> {channel0_error,opening,
>     {error,function_clause,'connection.open',
>         [{rabbit_reader,'-i/2-fun-5-',
>              [{tlsv1,{rsa,'3des_ede_cbc',sha,no_export}}]},
>          {rabbit_reader,'-infos/2-lc$^0/1-0-',2},
>          {rabbit_reader,'-infos/2-lc$^0/1-0-',2},
>          {rabbit_reader,handle_method0,2},
>          {rabbit_reader,handle_method0,3},
>          {rabbit_reader,mainloop,2},
>          {rabbit_reader,start_connection,7},
>          {proc_lib,init_p_do_apply,3}]}}
> 
> =INFO REPORT==== 5-Feb-2011::11:29:05 ===
> closing TCP connection <0.1043.0> from 127.0.0.1:33683 
> <http://127.0.0.1:33683>

Looks like you have stumbled across a bug in our code, or rather 
Erlang's documentation or code for the ssl module - the 
{rsa,'3des_ede_cbc',sha,no_export} tuple in the above is meant to be a 
triple of {key_exchange(), cipher(), hash()}. Alas it's a 4-tuple. What 
version of Erlang are you running?

Regards,

Matthias.


More information about the rabbitmq-discuss mailing list