ODBC Timeout with TLS 1.2 - Advanced Installer Community
jdb_102
Posts: 2
Joined: Tue Jan 29, 2019 11:52 pm

ODBC Timeout with TLS 1.2

Hi,

We are having the following issue:

SQL server 2016
Windows server 2012 R2
ODBC driver 13.0 installed
SQL native client 11.0 installed.


In our predefined connection:

Connection mode is ODBC driver
ODBC driver = SQL native 11.0

When disabling TLS 1.0 and enabling TLS 1.2, the test sql connection fails and we receive an ODBC connect timeout exceeded.
When enabling TLS 1.0 the test connection is successful.

We followed all the recommendation on how to disbale TLS 1.0 and SSL2 and SSL 3 in the registry but it is still failing.
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: ODBC Timeout with TLS 1.2

Hello and welcome to our forums,

Analyzing your scenario this could happen because you are using the old "SQL Server" as the ODBC Driver to be used by our TestODBC custom action. Please note that this driver became deprecated and does not have TLS 1.2 support.

To avoid this issue I recommend you to use the newer "ODBC Driver 13 for SQL Server" ODBC driver which supports TLS 1.2.

You can avoid this by simply changing your ODBC driver from "SQL native 11.0" to "ODBC Driver 13 for SQL Server".

Hope this helps.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jdb_102
Posts: 2
Joined: Tue Jan 29, 2019 11:52 pm

Re: ODBC Timeout with TLS 1.2

Thanks for your reply Catalin.

We are actually ODBC 13 driver. I have received an email for the customer support saying that they will be releasing support for TLS 1.2 in February.
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: ODBC Timeout with TLS 1.2

Hello,
We are actually ODBC 13 driver.
I have thought you were using "SQL native 11.0" as your ODBC driver because that is what you have said in the first thread.

When using the "ODBC Driver 13 for SQL Server", do you still get the "connection timeout exceed" error? If yes, could you please send me a copy of the .AIP file and a verbose log by e-mail at support at advancedinstaller dot com so I can further investigate them?

Kind regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”