Closed shajia-deshaw closed 3 months ago
Figured out the issue. If I set Encrypt=True
in the connection string, it works. Probably a server restriction that's causing the connections to fail? Idk. But either way, it worked!
P.S. Thanks for this amazing library!
I'm following the examples given in the
examples/
folder to try to authenticate to a MSSQL server via Kerberos/Integrated GSSAPI auth. But the program gets hung forever until it exits by a "connection reset by peer" errorError: An error occured during the attempt of performing I/O: An error occured during the attempt of performing I/O: Connection reset by peer (os error 104)
Config:
Attaching the trace log for more information.
Seems to be getting stuck at
Client::connect
: https://github.com/prisma/tiberius/blob/main/examples/async-std.rs#L20Environment:
OS:
RHEL8
rustc version:1.76.0