Skip to Content.
Sympa Menu

freetds - Re: [freetds] TDS Handshake failed when connecting to MS SQL Server 2017 on Windows

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] TDS Handshake failed when connecting to MS SQL Server 2017 on Windows
  • Date: Tue, 12 Dec 2017 12:52:37 +0000

2017-12-11 16:08 GMT+00:00 Sebastien FLAESCH <sf AT 4js.com>:
> Hello,
>
> We try to connect with FreeTDS 1.00.15 from HP/UX to SQL Server 2017 on
> Linux or Windows.
>
> On Window we have SQL Server version:
>
> 14.0.1000.169
>
> On RHE7 Linux we have SQL Server version:
>
> 14.0.3006.16-3
>
> We can connect to the Linux server (freetds-ok.log), but we get a handshake
> error when
> connecting to the Windows server (freetds-fail.log)
>
> We see:
>
> 0460 fc 77 c8 1c f7 5c a5 f9-6f 5d 48 b0 61 fc d5 c8 |�w�.�\�� o]H�a���|
> 0470 34 de cf 04 67 dd 95 92-b0 15 6c e3 cb c6 8a e5 |4��.g�.. �.l���.�|
> 0480 5d ed 52 98 e3 b8 64 c3-ca 5a e7 93 2d 0e 00 00 |]�R.��d� �Z�.-...|
> 0490 00 - |.|
>
> tls.c:86:in tds_pull_func_login
> tls.c:116:in tds_push_func_login
> packet.c:741:Sending packet
> 0000 12 01 00 0f 00 00 00 00-15 03 01 00 02 02 50 |........ ......P|
>
> tls.c:924:handshake failed
> login.c:530:login packet rejected
> query.c:3796:tds_disconnect()
> util.c:165:Changed query state from IDLE to DEAD
>
>
> Any idea?
>
> See attached logs.
>
> Thanks!
> Seb
>

Usually at that stage is a TLS problem. Can you try to use a new version?
Last is 1.00.80.
Are you using OpenSSL or GnuTLS ?

Regards,
Frediano




Archive powered by MHonArc 2.6.24.

Top of Page