asanghi / omniauth-constantcontact2

OmniAuth Strategy for Constant Contact using OAuth2
MIT License
5 stars 18 forks source link

Connection reset by peer - SSL_connect #2

Closed ehudyalinmor closed 12 years ago

ehudyalinmor commented 12 years ago

Hi,

We are developing some integration with ConstantContact and we found your gem so we decided to give it a try. We keep getting the following error 'Faraday::Error::ConnectionFailed (Connection reset by peer - SSL_connect)'. I know that it has to do with the SSL configuration on my computer but I was wondering if you might have had this problem and you know how to solve it? (Initiating a simple https request using ruby's Net:HTTP also returns an error)

Thanks, Ehud

asanghi commented 12 years ago

Sounds like you might be missing OpenSSL libs? Try asking the same question on StackOverflow. I'll try to investigate this later in the week as well.

ehudyalinmor commented 12 years ago

Thanks for your response

I found the problem yesterday after a few hours of debugging and googling, it was indeed related to OpenSSL. The problem was with OpenSSL on Ubuntu 12.04 and the following article http://railsapps.github.com/openssl-certificate-verify-failed.html was of an help for me. Re-installing ruby (RVM) with a standalone version of openssl did the trick.