OpenSSL::SSL::SSLError: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read server hello A

前端 未结 2 508
醉话见心
醉话见心 2020-12-03 01:04

The code below yields the following error: OpenSSL::SSL::SSLError: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read server hello A

require \'net/https         


        
2条回答
  •  广开言路
    2020-12-03 01:43

    Solution is to upgrade to openssl 1.0.2g-1​ubuntu4.6 (from 1.0.1f-1​ubuntu2.21) (e.g. from cedar-14 to heroku-16 stack).

    heroku stack:set heroku-16 -a your-app
    

    And in app.json:

    {
      ...
      "stack": "heroku-16",
      ...
    }
    

提交回复
热议问题