You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to deploy self-hosted Temporal on AWS EKS cluster with AWS Postgres RDS as persistence layer.
I'm following this custom values file for reference.
however, the setup-schema job is failing with the below-mentioned error.
2024-02-12T12:45:27.121Z ERROR Unable to connect to SQL database. {"error": "pq: no pg_hba.conf entry for host \"x.x.x.x\", user \"postgres\", database \"temporal_visibility\", no encryption", "logging-call-at": "handler.go:73"}
I tried with auto-setup k8s job and admintools pod manually by running temporal-sql-tool commands. but error is same.
I'm able to connect with postgres using postgres-client in the kubernetes cluster as well as using pgadmin.
ip which is showing up in the error, that's not from RDS dns.
also tried updating the parameter group of rds for pg_hba.conf to rds.force_ssl=0
Describe the bug
Minimal Reproduction
get eks cluster version 1.28
get existing rds postgres 15.4
deploy temporal using helm from release 0.33.0 with this custom-values file as a reference.
Environment/Versions
Temporal release Version: 0.33.0
Temporal version: 1.22.4
EKS Kubernetes: 1.28
Additional context
The text was updated successfully, but these errors were encountered:
MayurDuduka
changed the title
[Bug] self-hosted temporal with AWS RDS
[Bug] self-hosted temporal with AWS RDS (Unable to connect to SQL database)
Feb 13, 2024
I had the same issue
The error shows "no encryption"
The default rds.force_ssl parameter is set to 1 since RDS PostgreSQL version 15
You need to run temporal-sql-tool with parameters --tls --tls-ca-file bundle.pem
Regarding bundle.pem file, certificate bundles for specific aws regions can be found here
Also, in values.yaml, enable tls sections:
What are you trying to do?
Trying to deploy self-hosted Temporal on AWS EKS cluster with AWS Postgres RDS as persistence layer.
I'm following this custom values file for reference.
however, the setup-schema job is failing with the below-mentioned error.
Describe the bug
Minimal Reproduction
Environment/Versions
Additional context
The text was updated successfully, but these errors were encountered: