SSL_connect error when accessing Shopify API with rubygem

后端 未结 1 621
你的背包
你的背包 2021-01-05 20:06

I\'m having trouble accessing the Shopify API using the shopify_api gem.

Here\'s what happens:

>> require \"shopify_api\" #=> false
>>         


        
相关标签:
1条回答
  • 2021-01-05 20:45

    Most likely, your client is trying to connect using TLS 1.2, one of the more recent SSL/TLS protocols used in HTTPS. Our load balancing hardware has a known problem with TLS 1.2, although we weren't aware of it until I independently stumbled upon this bug myself.

    I've made the rest of the Operations team aware of this, and I expect we'll be fixing this as soon as possible. Until then, you can use

    http.ssl_version = :TLSv1

    to force Ruby to use TLS 1.0 instead.

    0 讨论(0)
提交回复
热议问题