Heroku support says this has to do with their version of libssl on shared databases, but we\'ve encountered it on a project that\'s on a dedicated database, too.
Bas
Heroku support suggested that I add this to my Unicorn config:
Append to your config/unicorn.rb:
config/unicorn.rb
after_fork do |server, worker| if defined?(ActiveRecord::Base) ActiveRecord::Base.establish_connection end end
I added it and we haven't seen a single PGError: SSL SYSCALL error all day.
PGError: SSL SYSCALL