SQL Server Extension failing to connect to server

Using the Microsoft SQL Server extension we connected to several instances and was working flawlessly for quite some time,

Recently we are noticing 2012 servers are getting this error:

Cannot connect to database {server}\{instance}:{port}. Exception occurred: Can’t create JDBC connection pool - “encrypt” property is set to “false” and “trustServerCertificate” property is set to “true” but the driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption: Error: SQL Server did not return a response. The connection has been closed

This happened seemingly out of the blue - no changes made on our side or on the server itself. our config has the “Enable SSL” option disabled aswell.

Has anyone seen this error before and know the fix?

Hi,

Have you turn on some SSL flag in extension? Is need it? Can be switch off?

Best regards

The “Enable SSL” Toggle in the extension config is turned off already and we never turned it on.

Hi,

I have just seen that error when SSL is enabled in extension and ActiveGate is not configured properly.

I would open a support ticket.

Best regards

After a talk with support and rolling back an activegate as a test it seems to be an issue with Activegate version: 1.333.37 as rolling back solved the issue.

I have one case I just diagnosed where “Enable SSL” is toggled off, but nonetheless, the extension is forcing a TLS connection. Confirmed it through a network dump. What I see is that the SQL Server (in this case SQL Server 2014) is terminating a tentative TLS connection immediately:

@Mike_L , might there be something in 1.333 that forces SSL/TLS connections, despite not being told to do so? Ticket #621565

Hi,

Not sure if SQL Server 2014 is supported base on this list.

Best regards

@AntonPineiro ,

That shouldn’t be an issue with extensions. After all, the WMI extension, for instance, is suggested to monitor servers or systems that are not supported by OneAgent…

This hasn’t been referenced here. The best reference for this issue is:
https://community.dynatrace.com/t5/Heads-up-from-Dynatrace/OpenJDK-17-0-18-change-in-Extension-Execution-Controller/tac-p/297310

Has anyone gotten to the bottom of this issue?

@tarjei ,

Yes, it’s a security issue. Dynatrace tries to connect, by default, using only modern ciphers/algorithms.

If you have older SQL Servers (I have managed to connect to 2005s), please follow the procedures referenced in https://community.dynatrace.com/t5/Heads-up-from-Dynatrace/Resolved-OpenJDK-17-0-18-change-in-Extension-Execution/tac-p/297310

I tried to remove all of the tls.disabledaøgprithms but still doesn’t work