Closed paurkedal closed 2 years ago
What version of postgres is it? I noticed a timeout issue with the version 14 docker image recently, but 13 works.
I think what's happening is we don't yet support SASL and SCRAM-SHA-256. I've debugged the handshake between 13 and 14. I think it's more involved to support it, but in the meantime I can add an error instead of the timeout. If you are in control of the server config, MD5 should still be an option for newer postgres's.
Yes, it's version 14.1. An informative error would be good.
Testing #122 and will get it out today.
Looks good, I'm getting an immediate Pgx: SASL Credential authentication not supported
with the PR pinned. Thanks!
When running the test suite of the current master (3f2c0fc385db40d108466df80dad7980587d4342) against a INET socket, each DB test hangs until the server disconnects with
FATAL: canceling authentication due to timeout
. This does not happen for UNIX domain socket. My test procedure is to start up a postgresql server likeand run the test suite like
The async tests report something like
and the lwt tests report