Skip to content

Error connecting to PostgreSQL with SSL #228

Open
@kidsil

Description

@kidsil

When trying to connect to a PostgreSQL the following error occurs (on yarn run setup):
error: no pg_hba.conf entry for host "HOSTNAME", user "USERNAME", database "PASSWORD", SSL off

This is due to TypeORM not having the ssl: on option (and I couldn't find an existing .env var corresponding to it).

For now, to avoid changing the code for initial setup I've been running PGSSLMODE=require to fix this issue
(full command PGSSLMODE=require yarn run setup)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions