Robert Put
10/12/2022, 10:29 PMRobert Put
10/12/2022, 10:56 PM+ temporal-sql-tool --plugin postgres --ep <http://airbyte-staging-01.cv0s9my58zow.us-east-2.rds.amazonaws.com|airbyte-staging-01.cv0s9my58zow.us-east-2.rds.amazonaws.com> -u superuser -p 5432 create --db temporal
2022-10-12T22:53:36.777Z ERROR Unable to create SQL database. {"error": "unable to connect to DB, tried default DB names: postgres,defaultdb, errors: [pq: no pg_hba.conf entry for host \"10.1.102.94\", user \"superuser\", database \"postgres\", SSL off pq: no pg_hba.conf entry for host \"10.1.102.94\", user \"superuser\", database \"defaultdb\", SSL off]", "logging-call-at": "handler.go:97"}
+ temporal-sql-tool --plugin postgres --ep <http://airbyte-staging-01.cv0s9my58zow.us-east-2.rds.amazonaws.com|airbyte-staging-01.cv0s9my58zow.us-east-2.rds.amazonaws.com> -u superuser -p 5432 --db temporal setup-schema -v 0.0
2022-10-12T22:53:36.797Z ERROR Unable to connect to SQL database. {"error": "pq: no pg_hba.conf entry for host \"10.1.102.94\", user \"superuser\", database \"temporal\", SSL off", "logging-call-at": "handler.go:52"}
+ temporal-sql-tool --plugin postgres --ep <http://airbyte-staging-01.cv0s9my58zow.us-east-2.rds.amazonaws.com|airbyte-staging-01.cv0s9my58zow.us-east-2.rds.amazonaws.com> -u superuser -p 5432 create --db temporal_visibility
2022-10-12T22:53:36.821Z ERROR Unable to create SQL database. {"error": "unable to connect to DB, tried default DB names: postgres,defaultdb, errors: [pq: no pg_hba.conf entry for host \"10.1.102.94\", user \"superuser\", database \"postgres\", SSL off pq: no pg_hba.conf entry for host \"10.1.102.94\", user \"superuser\", database \"defaultdb\", SSL off]", "logging-call-at": "handler.go:97"}
+ temporal-sql-tool --plugin postgres --ep <http://airbyte-staging-01.cv0s9my58zow.us-east-2.rds.amazonaws.com|airbyte-staging-01.cv0s9my58zow.us-east-2.rds.amazonaws.com> -u superuser -p 5432 --db temporal_visibility setup-schema -v 0.0
2022-10-12T22:53:36.842Z ERROR Unable to connect to SQL database. {"error": "pq: no pg_hba.conf entry for host \"10.1.102.94\", user \"superuser\", database \"temporal_visibility\", SSL off", "logging-call-at": "handler.go:52"}
I only allow SSL connections... is that the issue? If so how can i configure it to connect over ssl?Robert Put
10/12/2022, 11:25 PM- SQL_TLS=true
- SQL_TLS_DISABLE_HOST_VERIFICATION=true
- SQL_TLS_ENABLED=trueRobert Put
10/12/2022, 11:26 PMuser
10/13/2022, 12:00 AMSunny Hashmi (Airbyte)
10/13/2022, 7:39 PM