hydra icon indicating copy to clipboard operation
hydra copied to clipboard

FATAL: no pg_hba.conf entry for host "xxx", user "hydra", database "hydra", no encryption (SQLSTATE 28000))

Open atliuhui opened this issue 9 months ago • 0 comments

Preflight checklist

Ory Network Project

No response

Describe the bug

migration error, using Azure Postgres service

Reproducing the bug

WIndows Powershell

  1. .\hydra.exe migrate sql -y postgres://hydra:[email protected]:5432/hydra?sslmode=disable

Relevant log output

time=2024-05-07T12:46:01+08:00 level=info msg=No tracer configured - skipping tracing setup audience=application service_name=Ory Hydra service_version=v2.2.0
time=2024-05-07T12:46:01+08:00 level=info msg=Retrying in 0.100000 seconds... audience=application error=map[message:failed to connect to `host=xxx.postgres.database.azure.com user=hydra database=hydra`: server error (FATAL: no pg_hba.conf entry for host "xxx", user "hydra", database "hydra", no encryption (SQLSTATE 28000))] service_name=Ory Hydra service_version=v2.2.0

Relevant configuration

No response

Version

2.2.0

On which operating system are you observing this issue?

None

In which environment are you deploying?

None

Additional Context

No response

atliuhui avatar May 07 '24 06:05 atliuhui