[erlang-bugs] Can't connect to smtp.gmail.com via SSL in R14

Ingela Anderton Andin <>
Wed Aug 18 09:44:07 CEST 2010


Hi!

Thank you for reporting this we will look further into this, I managed 
to repeat it from home but
currently I can not do it from work due to our firewall.  A work around 
for the moment would
be to use {ssl_impl, old}.

Regards Ingela Erlang/OTP team - Ericsson AB

Andrew Thompson wrote:
> So, when I try to connect to the SSL SMTP socket for gmail, I get this
> failure:
>
> Erlang R14B (erts-5.8.1) [source] [64-bit] [smp:4:4] [rq:4]
> [async-threads:0] [hipe] [kernel-poll:false]
>
> Eshell V5.8.1  (abort with ^G)
> 1> application:start(crypto).
> ok
> 2> application:start(public_key).
> ok
> 3> application:start(ssl).
> ok
> 4> ssl:connect("smtp.gmail.com", 465, []).
> {ok,{sslsocket,new_ssl,<0.51.0>}}
> 5> 
> =ERROR REPORT==== 13-Aug-2010::13:27:09 ===
> SSL: decipher_error: ./ssl_record.erl:648:Fatal error: bad record mac
> flush().
> Shell got {#Ref<0.0.0.59>,{error,"bad record mac"}}
> ok
>
>
> This happens with the R14A release, with the latest github/dev AND the
> latest github/pu branches on OSX. 
>
> It doesn't happen on R13b02 on another machine, there it works as
> expected. It should be pretty easy to reproduce without further
> information.
>
> Andrew
>
> ________________________________________________________________
> erlang-bugs (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:
>
>   



More information about the erlang-bugs mailing list