I am setting up bors-ng to run in Docker using the prebuilt Docker image on dockerhub. I’m deploying the Docker container on AWS Fargate/ECS using a hosted PostgreSQL RDS instance.
When my application is starting up I’m getting
[error] Postgrex.Protocol (#PID<0.123.0>) failed to connect: ** (DBConnection.ConnectionError) ssl connect: Unexpected error: ssl_not_started - :ssl_not_started
I’m not familiar with Ecto/Elixir. Does anyone know what could be wrong? The TCP check when the Docker image is starting up seem to connect well.
I’ve tried adding ?ssl=false
and ?ssl=true
in DATABASE_URL
but that didn’t help.