Ruby “错误”;read将阻止OpenSSL::SSL::SSLError“;使用考拉时

Ruby “错误”;read将阻止OpenSSL::SSL::SSLError“;使用考拉时,ruby,error-handling,koala-gem,Ruby,Error Handling,Koala Gem,我正在尝试用代码禁用ssl验证 "read would block OpenSSL::SSL::SSLError" 但没有成功,同样的错误 如何修复它?为什么上面的代码被忽略 Koala.http_service.http_options = { # Faraday options :ssl => { # see below for info on ca_path and ca_file #:ca_file => file, #:ca_path =&

我正在尝试用代码禁用ssl验证

"read would block OpenSSL::SSL::SSLError"
但没有成功,同样的错误

如何修复它?为什么上面的代码被忽略

Koala.http_service.http_options = {
  # Faraday options
  :ssl => {
    # see below for info on ca_path and ca_file
    #:ca_file => file,
    #:ca_path => path,
    # SSL verify defaults to true unless you explicitly set it to false
    :verify => false
  }
}