Skip to main content
Duo
Bronze ⭐️⭐️⭐️
December 13, 2019
Solved

Getting SSL error when trying to connect via ODBC driver version 2.6.4.1004 (64 bit)

Hi all

 

Getting following error when trying to connect via ODBC driver version 2.6.4.1004 (64 bit) :-

 

[Cloudera][DriverSupport] (1160) Cannot enable SSL for the connection when connecting to a server that has not enabled SSL. If the server has SSL enabled, please check if it has been configured to use a SSL protocol version that is lower than what is allowed for the connection. The minimum SSL protocol version allowed for the connection is: TLS 1.2.

 

Please suggest.

robbiez
robbiezAnswer
Gold ⭐️
December 19, 2019

It is a common error message when the client couldn't receive an expected Kerberos/SSL handshaking packet from the peer. I'd suggest you check the TCP connectivity before the client and the server. It can be done easily by running command "telnet <server_host> <server_port". If it looks good, please double check the authentication settings on both sides.

 

If this issue happens intermittently, it might be caused by the load on the server.

3 replies

lwang
Platinum ⭐️
Platinum ⭐️
December 17, 2019

Hi @Duo ,

 

Could you please tell us which product are you using and how? Hive? Impala? 

 

Thanks,

Li

Translate
Li Wang, Technical Solution Manager
robbiez
Gold ⭐️
robbiezAnswer
Gold ⭐️
December 19, 2019

It is a common error message when the client couldn't receive an expected Kerberos/SSL handshaking packet from the peer. I'd suggest you check the TCP connectivity before the client and the server. It can be done easily by running command "telnet <server_host> <server_port". If it looks good, please double check the authentication settings on both sides.

 

If this issue happens intermittently, it might be caused by the load on the server.

Translate
zaza
Silver ⭐️
August 31, 2020

Can you be more specific, which load on the server? Any solutions?

"If this issue happens intermittently, it might be caused by the load on the server."

 
Translate