Not able to connect to snowflake through DBEAVER timed out - snowflake-cloud-data-platform

I have a DBeaver 7.3. and snowflake driver version: jdbc 3.9.2.jar
Received the below error message even after proxy setup.
JDBC driver encountered communication error.
Message: Exception encountered for HTTP request: Connect to xxxx.us-east-1.snowflakecomputing.com:443 [ Connection timed out: connect
Thanks,

The communication error usually appears when the required snowflake hosts and ports are not opened at the proxy end. This can be verified by using SnowCD Connectivity Diagnostic Tool on the client machine.
To know how to use SnowCD, Check https://docs.snowflake.net/manuals/user-guide/snowcd.html#snowcd-connectivity-diagnostic-tool

Related

AWS RDS Instance is not connecting to Jmeter

I am trying to connect my RDS instance to a Jmeter load test however no matter what I try, I keep getting this error message in the Results Tree:
Cannot create PoolableConnectionFactory (The connection to the host database-1.cqdkrfikhe1t.us-east-1.rds.amazonaws.com, named instance database-1 failed. Error: "java.net.SocketTimeoutException: Receive timed out". Verify the server and instance names and check that no firewall is blocking UDP traffic to port 1434. For SQL Server 2005 or later, verify that the SQL Server Browser Service is running on the host.)
I feel it may be a problem with my Database URL in JDBC Connection Configuration.
The picture below shows the summary report.
I have mainly tried rewriting the Database URL multiple different ways but none of them seem to work. I have also tried removing and reinstalling the JDBC Drivers but that doesn't seem to work either. I have absolutely no idea what the problem could be. Could someone please help me out with this problem?
Edit: When I change the Database URL I sometimes get this error
message as well:
Cannot create PoolableConnectionFactory (The driver could not establish a secure connection to SQL Server by using Secure Sockets
Layer (SSL) encryption. Error: "PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target".
ClientConnectionId:9b700d73-f3f0-4cf6-b3a4-607fa9827219)
I think you need to use port 1433
Check out Connecting to a DB instance running the Microsoft SQL Server database engine article
So cross check the port number, VPC options, public accessibility, etc. with the values from the JDBC Connection Configuration
More information: The Real Secret to Building a Database Test Plan With JMeter

Not able to connect snowflake DB through DBeaver

Does anyone know how to connect Snowflake DB through DBeaver?
I have installed the latest JDBC driver "snowflake-jdbc-3.9.2"
& trying to connect to Snowflake DB, but I'm getting below error:
"JDBC driver encountered communication error. Message: Exception encountered for HTTP request: Connection reset.
You can use the 3.10.3 version of Snowflake JDBC jar.Its a tried and tested version on Db eaver .

SSL connection error from SQL server in Websphere

WE are connecting to SQL server from our WAS(websphere). Connection is fine before we made the data present in SQL server encrypted and made the connection as SSL. From that onwards, we are getting SSL connection error. BUt we had installed the certificates under trusted key store in WAS console. Below is the error. Any help is appreciated. Thanks in advance.
Could not get JDBC Connection; nested exception is com.ibm.websphere.ce.cm.StaleConnectionException: [IBM][SQLServer JDBC Driver]The SQL Server login requires an SSL connection.DSRA0010E: SQL State = 08001, Error Code = 0
RAD version is 7.5.5
WAS version is Websphere Application Server 6.1
Issue resolved by installing SQL server drivers in WAS console. Not sure how it worked before encryption without drivers.
Thanks.
If you have SSL configured correctly, then I'm not sure what the following portion of the error mean:
The SQL Server login requires an SSL connection.DSRA0010E: SQL State = 08001, Error Code = 0
A StaleConnectionException is explained in the IBM link below:
http://www-01.ibm.com/support/docview.wss?uid=swg21063645
Perhaps if you paste the entire error stack we can see more clues. Is there a 'caused-by' clause for example? If this issue only occurred right after you have enabled SSL then you would also want to make sure both parties have common cipher suites.

Pentaho connection issue

I installed MS SQL Server 2008 R2 on my laptop, just to practice SQL and it is running on localhost. I also downloaded Pentaho to learn a BI tools. The problem is I have been getting the below error for a week or so and cannot seem to find a solution.
Error connecting to database [test] : org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database
Error connecting to database: (using class net.sourceforge.jtds.jdbc.Driver)
Network error IOException: Connection refused: connect
org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database
Error connecting to database: (using class net.sourceforge.jtds.jdbc.Driver)
Network error IOException: Connection refused: connect
I have tried every possible login combination and also installed the necessary Java drives.
Any help is much appreciated.
At the first, you check sql server is listening on default port, sometimes isnĀ“t take default port(antivirus,firewal, anyway).
Check the PID of SQL server service
type "netstat -a -n -o" command on console
search your PID on it and get your port where your sqlserver is listening

SQL Server: error when connecting

The application I'm using tries to connect SQL Server named instance running on a dedicated database server. Here's the error I'm getting:
The TCP/IP connection to the host <instance_name>, port 1433 has failed. Error: Connection refused: connect.
Is the firewall blocking my access or what? Should I dedicate a different port for this application?
The error refused connect implies that your connection does not have permissions to connect to this instance of SQL Server.
Are you using Windows Authentication or a SQL Server Login?
For troubleshooting guidelines see: Troubleshooting Server and Database Connection Problems

Resources