Closed ghost closed 12 years ago
I am using softlayer_api gem but when i called any method like "getOpenTickets" after
creating SoftLayer::Service object i get this exception:
OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed):
my code that is executed in dashboard controller is:
def index
begin
account_service = SoftLayer::Service.new("SoftLayer_Account",
:username => "sl221517a1233tyy", :api_key =>
"25f38a342079c07f4336543a0fccc54ee8755cb92b53cjfhggergd78d0ed4aa1d9961b85hgtet")
account = account_service.getOpenTickets
rescue Exception => exception
puts "Unable to retrieve account information: #{exception}"
end end
i also require related libraries as well
require 'rubygems'
require 'softlayer_api'
require 'pp'
require 'openssl'
Which version of Ruby are you using? Can you tell me more about your operating system and computing environment?
Closing due to inactivity...
I am using softlayer_api gem but when i called any method like "getOpenTickets" after
creating SoftLayer::Service object i get this exception:
OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed):
my code that is executed in dashboard controller is:
def index
begin
account_service = SoftLayer::Service.new("SoftLayer_Account",
"25f38a342079c07f4336543a0fccc54ee8755cb92b53cjfhggergd78d0ed4aa1d9961b85hgtet")
account = account_service.getOpenTickets
rescue Exception => exception
puts "Unable to retrieve account information: #{exception}"
end end
i also require related libraries as well
require 'rubygems'
require 'softlayer_api'
require 'pp'
require 'openssl'