Andrey Groza
03/13/2023, 5:27 PM2023-03-13T16:35:53.779Z ERROR Unable to connect to SQL database. {"error": "pq: no pg_hba.conf entry for host \"167.172.166.155\", user \"doadmin\", database \"temporal_visibility\", no encryption", "logging-call-at": "handler.go:73"}
To solve it, I added two variables to the docker compose
- SQL_TLS=true
- SQL_TLS_DISABLE_HOST_VERIFICATION=true
The container starts, but still gives an error after a while. How can I solve this problem?