Replies: 3 comments 5 replies
-
Also adding
|
Beta Was this translation helpful? Give feedback.
-
This sounds like an issue with your environment. Can you verify that |
Beta Was this translation helpful? Give feedback.
-
Turns out that diesel_async does not support postgres tls - https://github.com/weiznich/diesel_async/blob/main/src/pg/mod.rs#L124 |
Beta Was this translation helpful? Give feedback.
-
Setup
Versions
Feature Flags
["postgres","numeric","chrono"]
Problem Description
diesel-cli runs migrations successfully with
sslmode=require
attached to database urlbut when performing
diesel_insert
in program, it sayserror performing TLS handshake: no TLS implementation configured"
What are you trying to accomplish?
Connect to postgres database with
sslmode
required.What is the expected output?
Successful database insert
What is the actual output?
error performing TLS handshake: no TLS implementation configured"
Are you seeing any additional errors?
N/A
Steps to reproduce
Setup postgres 14 database with encryption only connection.
Create insert query using diesel with
sslmode
requiredChecklist
sgrif/pq-sys#25
closed if this is not the case)
Beta Was this translation helpful? Give feedback.
All reactions