search for: myapikey

Displaying 1 result from an estimated 1 matches for "myapikey".

Did you mean: miapikey
2013 Aug 29
4
Weird behaviour using ssl connection (OpenSSL::SSL::SSLError)
...RoR console it works fine: url = URI.parse("https://us1.api.mailchimp.com/2.0/helper/ping") request = Net::HTTP::Post.new(url.path) http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request.body = "{\"apikey\": \"myapikey\"}" response = http.start {|http| http.request(request) } But when I try to use it on my RoR app I get the following error: OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=unknown state: sslv3 alert handshake failure) Someone know what could be happening? Thank you all...