Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails Excon无法识别我的SSL路由_Ruby On Rails_Ssl_Heroku_Excon - Fatal编程技术网

Ruby on rails Excon无法识别我的SSL路由

Ruby on rails Excon无法识别我的SSL路由,ruby-on-rails,ssl,heroku,excon,Ruby On Rails,Ssl,Heroku,Excon,推送到Heroku时,my db:migrate在以下位置失败: ! Heroku client internal error. Error: Unable to verify certificate, please set `Excon.defaults[:ssl_ca_path] = path_to_certs`, `Excon.defaults[:ssl_ca_file] = path_to_file`, or `Excon.defaults[:ssl_verify_pe

推送到Heroku时,my db:migrate在以下位置失败:

!    Heroku client internal error.
Error:       Unable to verify certificate, please set `Excon.defaults[:ssl_ca_path] = path_to_certs`, `Excon.defaults[:ssl_ca_file] = path_to_file`, or `Excon.defaults[:ssl_verify_peer] = false` (less secure). (Excon::Errors::SocketError)
因此,我在production.rb文件的底部添加了以下内容(根文件中的证书位于)

同样的错误

于是我试着退一步:

Excon.defaults[:ssl_verify_peer] = false
同样的错误

我被难住了,几个小时来一直在兜圈子。有什么想法吗

提前谢谢

Excon.defaults[:ssl_verify_peer] = false