We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I get this error when trying to connect to railway's Postgres database using sqlx
// Features: "postgres", "runtime-tokio-rustls" // Error: error communicating with database: invalid peer certificate: Other(UnsupportedCertVersion) let pool = PgPool::connect("postgresql://...").await?;
There is no problem using native-tls, it only occurs when using rustls.
native-tls
rustls
TLSv1.3
rustc --version
The text was updated successfully, but these errors were encountered:
Likely not a bug. Rustls (via webpki) only supports x.509v3 certificates: rustls/webpki#29 (comment)
webpki
You should ask railway to get new TLS certificates. Or just use native-tls.
Sorry, something went wrong.
No branches or pull requests
Bug Description
I get this error when trying to connect to railway's Postgres database using sqlx
Minimal Reproduction
There is no problem using
native-tls
, it only occurs when usingrustls
.TLSv1.3
Info
rustc --version
: rustc 1.73.0 (cc66ad468 2023-10-03)The text was updated successfully, but these errors were encountered: