salesforce-marketingcloud / FuelSDK-Ruby

Fuel SDK for Ruby
BSD 3-Clause "New" or "Revised" License
52 stars 155 forks source link

Connection reset by peer - SSL_connect #67

Open JPMallow opened 7 years ago

JPMallow commented 7 years ago

Hi,

Since today, I am getting SSL error when trying to access Marketing cloud APIs using FuelSDK-Ruby. It keep on throwing the two errors

SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A and Connection reset by peer - SSL_connect.

I am using OpenSSL version: 1.0.2l (macOS Sierra version: 10.12)

Below is the trace of the error:

SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A

/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/httpi-2.0.2/lib/httpi/adapter/net_http.rb:36:in `rescue in request'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/httpi-2.0.2/lib/httpi/adapter/net_http.rb:27:in `request'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/httpi-2.0.2/lib/httpi.rb:137:in `request'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/httpi-2.0.2/lib/httpi.rb:103:in `get'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/wasabi-3.1.0/lib/wasabi/resolver.rb:42:in `load_from_remote'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/wasabi-3.1.0/lib/wasabi/resolver.rb:32:in `resolve'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/wasabi-3.1.0/lib/wasabi/document.rb:120:in `xml'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/wasabi-3.1.0/lib/wasabi/document.rb:138:in `parse'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/wasabi-3.1.0/lib/wasabi/document.rb:125:in `parser'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/wasabi-3.1.0/lib/wasabi/document.rb:61:in `soap_actions'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/savon-2.2.0/lib/savon/operation.rb:21:in `ensure_exists!'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/savon-2.2.0/lib/savon/operation.rb:14:in `create'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/savon-2.2.0/lib/savon/client.rb:32:in `operation'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/savon-2.2.0/lib/savon/client.rb:36:in `call'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/bundler/gems/FuelSDK-Ruby-384a48ab965a/lib/marketingcloudsdk/soap.rb:275:in `soap_request'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/bundler/gems/FuelSDK-Ruby-384a48ab965a/lib/marketingcloudsdk/soap.rb:219:in `soap_get'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/bundler/gems/FuelSDK-Ruby-384a48ab965a/lib/marketingcloudsdk/objects.rb:43:in `get'
Connection reset by peer - SSL_connect
/Users/jayaprakash/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/net/http.rb:933:in `connect_nonblock'
/Users/jayaprakash/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/net/http.rb:933:in `connect'
/Users/jayaprakash/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/net/http.rb:863:in `do_start'
/Users/jayaprakash/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/net/http.rb:852:in `start'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/httpi-2.0.2/lib/httpi/adapter/net_http.rb:54:in `do_request'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/httpi-2.0.2/lib/httpi/adapter/net_http.rb:31:in `request'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/httpi-2.0.2/lib/httpi.rb:137:in `request'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/httpi-2.0.2/lib/httpi.rb:103:in `get'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/wasabi-3.1.0/lib/wasabi/resolver.rb:42:in `load_from_remote'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/wasabi-3.1.0/lib/wasabi/resolver.rb:32:in `resolve'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/wasabi-3.1.0/lib/wasabi/document.rb:120:in `xml'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/wasabi-3.1.0/lib/wasabi/document.rb:138:in `parse'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/wasabi-3.1.0/lib/wasabi/document.rb:125:in `parser'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/wasabi-3.1.0/lib/wasabi/document.rb:61:in `soap_actions'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/savon-2.2.0/lib/savon/operation.rb:21:in `ensure_exists!'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/savon-2.2.0/lib/savon/operation.rb:14:in `create'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/savon-2.2.0/lib/savon/client.rb:32:in `operation'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/gems/savon-2.2.0/lib/savon/client.rb:36:in `call'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/bundler/gems/FuelSDK-Ruby-384a48ab965a/lib/marketingcloudsdk/soap.rb:275:in `soap_request'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/bundler/gems/FuelSDK-Ruby-384a48ab965a/lib/marketingcloudsdk/soap.rb:219:in `soap_get'
/Users/jayaprakash/.rvm/gems/ruby-2.3.1@mcapp/bundler/gems/FuelSDK-Ruby-384a48ab965a/lib/marketingcloudsdk/objects.rb:43:in `get'

Can anyone help me please.

Thank you.