Closed boyamahero closed 11 months ago
0x2746 = 10054 - connection reset by peer
Is there a firewall between the client and server? Are there any events in the event log on the server side corresponding to the connection attempts?
Thanks @v-chojas , I found error log
Event ID: 36874- TLS 1.2 connection request was received from a remote client application, but none of the cipher suites supported by the client application are supported by the server. The SSL connection request has failed.
Event ID: 36888 - A fatal alert was generated and sent to the remote endpoint. This may result in termination of the connection. The TLS protocol defined fatal error code is 40. The Windows SChannel error state is 1205.
Windows update KB2929781 adds new cipher suites which might include the ones your client is requesting - you could install that on the server, or if you cannot change the server, then you'll need to specify on the client in the openssl.cnf a cipher suite the server supports.
I couldn't find KB2929781 but found KB2919355. KB2919355 is already installed on server. but I cannot do specify on the client in the openssl.cnf a cipher suite.
Perhaps the cipher suites requested by the client have been disabled on the server? Check the SChannel registry settings and associated group policy entries, if any.
Closing as inactive.
Client - macOS Big Sur
install Microsoft ODBC 17 on mac
Server - Windows Server 2012 R2 ,
Error
but if Server - Windows Server 2016, it can connect SQL Server (Microsoft SQL Server Standard (64-bit), OS: Microsoft Windows NT 6.3 (14393) ,Platform: NT x64, verrsion: 12.0.6433.1)
Please help.