mdtro
04/15/2025, 10:18 PM{
"mysql": "could not connect to db: tls: failed to verify certificate: x509: cannot validate certificate for 10.100.0.2 because it doesn't contain any IP SANs, sleeping 9s",
"ts": "2025-04-15T22:02:11.356279548Z"
}
I have the following environment variables set:
• fleet_mysql_address
(set to private IP of Cloud SQL instance)
• fleet_mysql_username
• fleet_mysql_password
• fleet_mysql_database
• fleet_mysql_tls_ca
(path to the cloud sql root CA)
• fleet_mysql_tls_cert
(path to client public cert)
• `fleet_mysql_tls_key`(path to client private key)
I’ve attempted to set fleet_mysql_tls_config
to several values, including skip-verify
as well as the Cloud SQL connection name that is in the format of: <project id>:<region>:<sql instance name>
.
I’ve also tried setting fleet_mysql_address
to the connection name but received a DNS error.
{
"mysql": "could not connect to db: dial tcp: lookup <project id>:<region>:<sql instance name>: no such host, sleeping 14s",
"ts": "2025-04-15T21:45:37.961214916Z"
}
Mason Buettner
04/15/2025, 10:32 PMMason Buettner
04/15/2025, 10:34 PMmdtro
04/15/2025, 10:34 PMmdtro
04/15/2025, 10:36 PMMason Buettner
04/15/2025, 10:37 PMmdtro
04/15/2025, 10:39 PMMason Buettner
04/15/2025, 10:50 PM