You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering a TLS connection issue when attempting to connect to my PostgreSQL database using Prisma Migrate Dev. The specific error message is P1011: Error opening a TLS connection: bad protocol version. However, using psql for the same database, host, and user credentials does not result in any error, suggesting that the issue is specific to how Prisma handles TLS connections.
How to reproduce
Configure Prisma with a PostgreSQL database that requires a TLS connection.
Ensure the environment is set up with Python 3.10.10 and OpenSSL 3.1.0.
Run prisma migrate dev to apply migrations.
Encounter the TLS protocol version error.
Expected behavior
I expect Prisma to successfully establish a TLS connection using the same protocol version as supported by psql and not encounter any protocol version errors.
Thanks for the report, support for TLS v1.3 will need to be added to the core of Prisma and isn't something that can be changed directly in the Python client so I've opened an issue with them.
Bug description
I am encountering a TLS connection issue when attempting to connect to my PostgreSQL database using Prisma Migrate Dev. The specific error message is
P1011: Error opening a TLS connection: bad protocol version
. However, usingpsql
for the same database, host, and user credentials does not result in any error, suggesting that the issue is specific to how Prisma handles TLS connections.How to reproduce
prisma migrate dev
to apply migrations.Expected behavior
I expect Prisma to successfully establish a TLS connection using the same protocol version as supported by
psql
and not encounter any protocol version errors.Prisma information
Environment & setup
The text was updated successfully, but these errors were encountered: