NeonN
Neon2y ago
7 replies
dry-scarlet

insecure connection: secure channel data mismatch

Hi, I'm trying to use the Tailscale pgproxy to connect to our database:

https://tailscale.com/blog/introducing-pgproxy
https://github.com/tailscale/tailscale/tree/main/cmd/pgproxy

After running it locally and trying to connect to the database using psql with the connection url postgresql://<database-username>:<database-password>@<tailscale-hostname>:<port>/<database-name> , I get this error:

insecure connection: secure channel data mismatch

Any idea what might be causing this? It seems like it's probably making it to Neon servers but then getting denied at the door. Thanks!
… But if you must, we made something that can help you do it right.
Don’t make databases available on the public internet
GitHub
The easiest, most secure way to use WireGuard and 2FA. - tailscale/tailscale
tailscale/cmd/pgproxy at main · tailscale/tailscale
Was this page helpful?