Monthly Archives: October 2012

Postgres down in Flask

I'm using Flask and Flask-SqlAlchemy for a personal project. One of the recent ubuntu upgrades had a change in postgres.conf

Suddenly my integration between flask-openid / flask-login or just flask in general wasn't working at all.

After a couple of debugging hours, I found the following link:

Basically they added as a default in postgres.conf

ssl = true

Since I don't have ssl I didn't knew what hit my box

I can't find nothing directly related in the changelog: that mentions why that setting is forced to true, but either way, if you are using Postgres, and celery or flask, you will notice that the application will start to crash and it will start throwing , using sqlalchemy, operational errors exceptions.