<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div><div>Hi!<br><br></div>This is fixed in the latest version 17.0 (comming soon) or check master branch at github.<br><br></div>Regards Ingela Erlang/OTP team - Ericsson AB<br>
<div><div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">2014-04-04 10:33 GMT+02:00 atul atri <span dir="ltr"><<a href="mailto:atulatri2004@gmail.com" target="_blank">atulatri2004@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
<div dir="ltr"><div><div><div><div>Hi,<br><br></div>I am using httpc to connect to a website that is using invalid certificate. But it is crashing while ssl handshake.<br><br>======<br>7> httpc:request(post, {"<a href="https://somewhere.com" target="_blank">https://somewhere.com</a>", [],  "application/x-www-form-urlencoded", ""}, [{ssl, [{verify, verify_none}]}], []).                               {error,{failed_connect,[{to_address,{"<a href="http://somewhere.com" target="_blank">somewhere.com</a>",<br>



                                     443}},<br>                        {inet,[inet],<br>                              {eoptions,{{function_clause,[{tls_connection,handle_alert,<br>                                                                           [{alert,1,112,{"tls_connection.erl",375}},<br>



                                                                            hello,<br>                                                                            {state,client,<br>                                                                                   {#Ref<0.0.0.137>,<0.74.0>},<br>



                                                                                   gen_tcp,tls_connection,tcp,tcp_closed,tcp_error,...}],<br>                                                                           [{file,"tls_connection.erl"},{line,834}]},<br>



                                                           {tls_connection,handle_alerts,2,<br>                                                                           [{file,"tls_connection.erl"},{line,832}]},<br>



                                                           {gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,505}]},<br>                                                           {proc_lib,init_p_do_apply,3,<br>



                                                                     [{file,"proc_lib.erl"},{line,239}]}]},<br>                                         {gen_fsm,sync_send_all_state_event,<br>                                                  [<0.75.0>,{start,infinity},infinity]}}}}]}}<br>



=======<br><br></div>I am able to browse website in Firefox.<br><br></div><div>My elang version is <br>====<br>[root@chatgateway1 ~]# erl<br>Erlang R16B03-1 (erts-5.10.4) [source] [64-bit] [smp:2:2] [async-threads:10] [hipe] [kernel-poll:false]<br>



<br>Eshell V5.10.4  (abort with ^G)<br>====<br></div><br>I googled it and it looks some thing related to <a href="http://permalink.gmane.org/gmane.comp.lang.erlang.bugs/4302" target="_blank">http://permalink.gmane.org/gmane.comp.lang.erlang.bugs/4302</a>.<br>



<br></div>Any help to fix or work around this is much appreciated.<br><br>Thanks & Regards,<br>Atul Atri.<br><br></div>
<br></div></div>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div></div></div></div></div></div>
</div><br></div>