Mark Swardstrom
Mark Swardstrom

Reputation: 18080

Ruby On Rails Heroku Postgres databases SSL Connection

I received an email from Heroku saying that I may have a postgres database that is not connecting via ssl. Heroku is going to start requiring ssl and will begin brownout tests in February 2018 to determine definitively if your app is OK. From what I understand, the Rails Postgres driver will try ssl first by default.

I can't find a thing on how to confirm this.

Heroku offers a document that has information about postgres, ssl and brownouts, but it doesn't say how to test ahead of time. Node and Java apps are most likely to be affected.

I don't want to have my app go down for a few minutes. How do I confirm that my connection will be OK ahead of the brownout?

Upvotes: 7

Views: 490

Answers (1)

Mark Swardstrom
Mark Swardstrom

Reputation: 18080

The upgrade was trivial. Provisioned a new db and copied the data over. Then promoted the new db. No problem.

https://devcenter.heroku.com/articles/upgrading-heroku-postgres-databases#upgrading-with-pg-copy

Thanks @stefan-magnuson

Upvotes: 0

Related Questions