-
I'm currently playing arround with some dependencies. Which right now involves me trying to get a Asynchronous, pooled, diesel connection to postgres. Thats quite a lot and at the moment I've got all of it wokring, except the TLS part. Every time I use TLS i get That is unless I make it fail in otherways:
Anyone else got it to work? I would love to see how! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
See this example. You need some additional setup for TLS. There are different crates out there depending on which TLS implementation you want to use. |
Beta Was this translation helpful? Give feedback.
-
I just want to add here, in case someone else try to do the same thing in the future. When the TLS connection is configured incorrectly, Also diesel_async/examples/postgres/pooled-with-rustls/src/main.rs Lines 15 to 18 in 67c677e Related issues: |
Beta Was this translation helpful? Give feedback.
See this example. You need some additional setup for TLS. There are different crates out there depending on which TLS implementation you want to use.