Open michellewehr opened 3 months ago
We found out the source! postgres 15 has the default parameter group force_ssl set to true whereas our postgres 11 default parameter did not. We updated our metaflow to version 2.4.12 so that we can pass cert to docker start up/ db connection.
Looking at the metadata service environmental variables
ssl_mode = os.environ.get("MF_METADATA_DB_SSL_MODE")
ssl_cert_path = os.environ.get("MF_METADATA_DB_SSL_CERT_PATH")
ssl_key_path = os.environ.get("MF_METADATA_DB_SSL_KEY_PATH")
ssl_root_cert_path = os.environ.get("MF_METADATA_DB_SSL_ROOT_CERT")
Do we include ssl_root_cert_path in our run docker command?
And if so-- where is this running from? What would the path look like-- we run from a repo that exists inside our ec2 instance, yet when I passed a ssl_root_cert_path with a value /home/ec2-user/repo and path where file exists/ it can't find the path...
I'm getting the following error:
Would this be indicative that something is up with the
METAFLOW_SERVICE_URL
or what is returning the 502 error? I am getting the same error when I hit my APIs that use metaflow API client to grab artifacts