Can't Repro
Status Update
Comments
ro...@alo-group.com <ro...@alo-group.com> #2
I have the same issue, getting this error "Failed to establish a database connection. Check connection string, username and password." around 30% of the time.
ju...@gmail.com <ju...@gmail.com> #3
All my JDBC connections are getting this error as of a couple days ago:
Error: Failed to establish a database connection. Check connection string, username and password.
Please address this ASAP. This is impacting many parts of our business.
Error: Failed to establish a database connection. Check connection string, username and password.
Please address this ASAP. This is impacting many parts of our business.
jm...@aptuscr.com <jm...@aptuscr.com> #4
Comment has been deleted.
wi...@unitekeng.co.kr <wi...@unitekeng.co.kr> #5
Same issue, From yesterday.
sa...@google.com <sa...@google.com> #6
Thank you for reporting this behaviour.
It is under investigation.
ch...@berlin.com.tw <ch...@berlin.com.tw> #7
I get the same issue since yesterday.
he...@proelectricos.com <he...@proelectricos.com> #8
Comment has been deleted.
he...@proelectricos.com <he...@proelectricos.com> #9
We have the same issue since yesterday
in...@proelectricos.com <in...@proelectricos.com> #10
I get the same issue since yesterday, too. I was able to connect to another database, but today it isn't possible.
gu...@gmail.com <gu...@gmail.com> #11
I get the same issue since yesterday.
jm...@aptuscr.com <jm...@aptuscr.com> #12
Comment has been deleted.
ju...@gmail.com <ju...@gmail.com> #13
"We upgraded our SQL server to support TLS 1.2 and we can connect once again. It would appear that TLS 1.0 and 1.1 have been depreciated."
THANK YOU! This worked. Upgraded SQL server with TLS 1.2 support and JDBC is working again.
THANK YOU! This worked. Upgraded SQL server with TLS 1.2 support and JDBC is working again.
rd...@cimtcollege.com <rd...@cimtcollege.com> #14
Yes, it is TLS 1.2 that you need to upgrade to. Things are working at our end as well now.
he...@proelectricos.com <he...@proelectricos.com> #15
Sql update worked for us, need search a version that works with TLS 1.2, we recomend SQL Service pack 1, then upgrade to most recent version (KB4019099)
ch...@berlin.com.tw <ch...@berlin.com.tw> #16
Does anyone update SQL Server 2008 SP4 on Windows 2003 with TLS 1.2 successfully?
I update SQL Server with KB4057114. And JDBC still can't connect to our SQL server.
I update SQL Server with KB4057114. And JDBC still can't connect to our SQL server.
bo...@interlochen.org <bo...@interlochen.org> #17
Thanks, updating the DB engine top support TLS 1.2 connections in this case fixed this issue for us as well.
db...@gmail.com <db...@gmail.com> #18
#16: If you truly meant Windows Server 2003. That has long since been out of support and does not support TLS 1.2. You will need to update your operating system, and if you are running a 32-bit version, you will need to migrate versus update.
ro...@alo-group.com <ro...@alo-group.com> #19
support TLS 1.2 connections fixed this issue
wi...@unitekeng.co.kr <wi...@unitekeng.co.kr> #20
I would like to share my case, hope to help others save some time and effort.
----------------------------------------------------------------------------------------------------------------------------------------------------
OS:
Windows Server 2012 R2 Standard (64Bit)
DMBS:
MSSQL 2008 R2 (10.50.1600)
Problem:
Google Apps Script fails to connect MSSQL thru JDBC because of recent security update not to support TLS 1.0/1.1
It seems that Google requires TLS 1.2 or higher.
Solution:
1. SQLServer2008R2SP3-KB2979597-x64-KOR.exe (Run as Administrator) (Reboot)
-> 10.50.6000
NB) Please find your language patch (in my case, KOR for Korean)
2. SQLServer2008R2-KB4057113-x64.exe (Run as Administrator) (Reboot)
-> 10.50.6560
3. Test
Google Apps Script connect to MSSQL thru JDBC --> Success!
----------------------------------------------------------------------------------------------------------------------------------------------------
OS:
Windows Server 2012 R2 Standard (64Bit)
DMBS:
MSSQL 2008 R2 (10.50.1600)
Problem:
Google Apps Script fails to connect MSSQL thru JDBC because of recent security update not to support TLS 1.0/1.1
It seems that Google requires TLS 1.2 or higher.
Solution:
1. SQLServer2008R2SP3-KB2979597-x64-KOR.exe (Run as Administrator) (Reboot)
-> 10.50.6000
NB) Please find your language patch (in my case, KOR for Korean)
2. SQLServer2008R2-KB4057113-x64.exe (Run as Administrator) (Reboot)
-> 10.50.6560
3. Test
Google Apps Script connect to MSSQL thru JDBC --> Success!
er...@gmail.com <er...@gmail.com> #21
Thanks! Update MS SQL to support TLS 1.2 fixed it for me too.
pr...@bossindia.com <pr...@bossindia.com> #22
I upgraded SQL server 2008 R2 to SP3 and then applied patch KB4057113 and it worked for me too.
ga...@google.com <ga...@google.com> #23
As upgrading SQL server seems to have fixed this, I will be closing this case. Pleaes feel free to open a new issue if you experience this issue again.
Description
Before filing an issue, please read and follow these instructions carefully.
First, please search through existing issues to ensure that the bug has not already been reported. You can start the search here:https://issuetracker.google.com/savedsearches/566234
If the issue has already been reported, you can click the star next to the issue number to subscribe and receive updates. We prioritize responding to the issues with the most stars. You can also comment on the issue to provide any details of your experience with it.
If your issue has not been reported, please provide all of the following:
A short description of the issue:
We are not able to connect to a MS SQL server database using the JDBC driver (using either of Rhino or V8 runtime). Everything had been working fine till day before yesterday evening. The connection could be established at certain times yesterday and today also, but most of the time the connection cannot be established.
A small code sample that reliably reproduces the issue. The sample should run as-is or with minimal setup, without external dependencies.
What steps will reproduce the problem?
What is the expected output? What do you see instead? If you see error messages, please provide them.
The connection object in the above code is 'undefined' and we are getting the following error: Error: Failed to establish a database connection. Check connection string, username and password.
Please provide any additional information below.
We are able to connect to the same database from other (non-Google Apps Script) applications using the same connection parameters.
Everything was working fine till day before yesterday evening
No changes to code have been made in recent times which could have introduced a bug at our end.
We are able to connect to another MS SQL server database using the exact same Google Apps Script code given above.
There is no firewall at our end blocking the connection .