Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/64.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/22.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 橡胶导轨PG::连接不良未连接到EC2_Ruby On Rails_Ruby_Amazon Ec2_Capistrano_Rubber - Fatal编程技术网

Ruby on rails 橡胶导轨PG::连接不良未连接到EC2

Ruby on rails 橡胶导轨PG::连接不良未连接到EC2,ruby-on-rails,ruby,amazon-ec2,capistrano,rubber,Ruby On Rails,Ruby,Amazon Ec2,Capistrano,Rubber,更新到rubber 3.1.0并在3.2.22 rails应用程序上使用postgres 9.3后,我尝试在Ec2上部署的应用程序在日志中显示: ** [out :: app01.foo.com] PG::ConnectionBad: FATAL: no pg_hba.conf entry for host "172.35.45.216", user "foo", database "foo_production", SSL on ** [out :: app01.foo.com] ** [o

更新到rubber 3.1.0并在3.2.22 rails应用程序上使用postgres 9.3后,我尝试在Ec2上部署的应用程序在日志中显示:

** [out :: app01.foo.com] PG::ConnectionBad: FATAL: no pg_hba.conf entry for host "172.35.45.216", user "foo", database "foo_production", SSL on
** [out :: app01.foo.com] 
** [out :: app01.foo.com] FATAL: no pg_hba.conf entry for host "172.35.45.216", user "foo", database "foo_production", SSL off

有人遇到了相同的问题?

可能重复?否,因为这是橡胶ec2issue@dcalixto如果你想在rubber gem中找到一个bug修复程序,你应该在他们的github页面上打开一个问题