Re: Errno::ECONNRESET: Connection reset by peer - SSL_connect

3,733 views
Skip to first unread message

apes...@gmail.com

unread,
Jun 13, 2013, 12:01:38 PM6/13/13
to sav...@googlegroups.com, plag...@gmail.com, brianbe...@gmail.com
I guess Im running into the same problem. With no response from the author, since January, seems like Savon might be abandonware.

On Tuesday, June 4, 2013 9:30:40 AM UTC-4, brianbe...@gmail.com wrote:
Have you had any luck with this? I've recompiled Ruby after installing OpenSSL.

On Thursday, January 10, 2013 9:45:54 PM UTC-4, plag...@gmail.com wrote:
Hi, Im using savon to implement a simple REST API.

The code Im trying to run is this:

client = Savon::Client.new(url+"?wsdl")
client.wsdl.endpoint = url #I rewrite the endpoint because the wsdl is configured to use http, but the server is expecting https.
client.wsdl.soap_actions

The scripts hangs for about a minute or so and the I get:
Errno::ECONNRESET: Connection reset by peer - SSL_connect

I'm using savon 1.2.0 with ruby-1.9.2-p320 and rails 3.2.9.

PS. I'm sure that I have the correct host and that it has to be https.




brianbe...@gmail.com

unread,
Jun 13, 2013, 12:19:59 PM6/13/13
to sav...@googlegroups.com, plag...@gmail.com, brianbe...@gmail.com, apes...@gmail.com

Artie Peshimam

unread,
Jun 13, 2013, 12:20:32 PM6/13/13
to brianbe...@gmail.com, sav...@googlegroups.com, plag...@gmail.com
Im on 2.2 already. I'll check out those links.

Thanks.

Artie Peshimam

unread,
Jun 13, 2013, 12:24:59 PM6/13/13
to brianbendpoint, savonrb, plaga701
aha forcing to ssl l3 solved it.

Artie Peshimam

unread,
Nov 4, 2013, 4:56:48 PM11/4/13
to peter.be...@gmail.com, savonrb, brianbendpoint, plaga701
Hey Peter,

Assuming you're using v2: http://savonrb.com/version2/globals.html

ssl_version

Change the SSL version to use.


Savon.client(ssl_version: :SSLv3)  # or one of [:TLSv1, :SSLv2]


On Mon, Nov 4, 2013 at 4:28 PM, <peter.be...@gmail.com> wrote:
Hi Artie,

How did you forced it to use ssl3? Have you any code to share? 

I tried by monkey patching Wasabi to force the ssl version, but that seems not to be the fix for me.

Thanks!
Peter.
Reply all
Reply to author
Forward
0 new messages