planetscale / planetscale-ruby

Ruby client for PlanetScale databases
Apache License 2.0
30 stars 6 forks source link

couldn't initiate TLS handshake to remote addr: x509 #54

Closed mscoutermarsh closed 2 years ago

mscoutermarsh commented 2 years ago
2021-11-08T18:08:29.407+0100    INFO    new connection  {"conn_addr": "127.0.0.1:3305"}
2021-11-08T18:08:29.407+0100    INFO    using tls.Config from the cache {"instance": "xyz/xyz/main"}
2021-11-08T18:08:29.407+0100    INFO    connecting to remote server     {"remote_addr": "main.xyz.xyz.us-east-1.psdb.cloud:3307"}
2021-11-08T18:08:29.689+0100    ERROR   error proxying conns    {"error": "couldn't initiate TLS handshake to remote addr: x509: certificate signed by unknown authority"}
mscoutermarsh commented 2 years ago

FYI the fix for this is upgrading to the latest version of the Gem.