Extensions
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SQL Server Extension failing to connect to server

Troy
Participant

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? 


11 REPLIES 11

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

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

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

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

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Troy
Participant

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. 

AntonioSousa
DynaMight Guru
DynaMight Guru

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:

1433.png

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

Antonio Sousa

Hi,

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

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

@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...

Antonio Sousa

AntonioSousa
DynaMight Guru
DynaMight Guru

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-Execu...

Antonio Sousa

tarjei
Organizer

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-Extens...

Antonio Sousa

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

Featured Posts