Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

connect data from AWS Redshift

Hi folks, I'm having a problem while connecting to AWS Redshift. Error Message:

 

ODBC: ERROR [08S01] [Microsoft][Amazon Redshift] (10) Error occurred while trying to connect: [SQLState 08S01] server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request.

 

I was able to connect to the cluster on AWS Redshift before. However, that cluster got shut down due to late payment. I am able to restore the same cluster using the redshift snapshot.  But I can't connect to the database on the cluster anymore. 

 

Need your help!

 

Many thanks~~

1 ACCEPTED SOLUTION
saud968
Super User
Super User

Here are a few steps you can take to troubleshoot this problem:

Check Cluster Status: Ensure that your Redshift cluster is up and running. Sometimes, even after restoration, the cluster might not be fully operational.

Security Group Settings: Verify that the security group settings for your Redshift cluster allow inbound traffic from your IP address. Make sure the necessary ports (default is 5439) are open.

Public Accessibility: If your cluster is in a VPC, ensure that it is set to be publicly accessible if you are connecting from outside the VPC.

SSL Certificates: If you are using SSL for your connection, check if the SSL certificates are correctly configured. Sometimes, issues with SSL certificates can cause connection problems.

Network Configuration: Ensure that there are no network issues or firewalls blocking the connection. You might need to adjust TCP/IP timeout settings on your client machine1.

ODBC Driver: Make sure you are using the latest version of the ODBC driver for Amazon Redshift. Sometimes, updating the driver can resolve connectivity issues.

Cluster Endpoint: Double-check the endpoint and port number you are using to connect to the cluster. Any changes during the restoration process might have altered these details.

Best Regards
Saud Ansari
If this post helps, please Accept it as a Solution to help other members find it. I appreciate your Kudos!

View solution in original post

1 REPLY 1
saud968
Super User
Super User

Here are a few steps you can take to troubleshoot this problem:

Check Cluster Status: Ensure that your Redshift cluster is up and running. Sometimes, even after restoration, the cluster might not be fully operational.

Security Group Settings: Verify that the security group settings for your Redshift cluster allow inbound traffic from your IP address. Make sure the necessary ports (default is 5439) are open.

Public Accessibility: If your cluster is in a VPC, ensure that it is set to be publicly accessible if you are connecting from outside the VPC.

SSL Certificates: If you are using SSL for your connection, check if the SSL certificates are correctly configured. Sometimes, issues with SSL certificates can cause connection problems.

Network Configuration: Ensure that there are no network issues or firewalls blocking the connection. You might need to adjust TCP/IP timeout settings on your client machine1.

ODBC Driver: Make sure you are using the latest version of the ODBC driver for Amazon Redshift. Sometimes, updating the driver can resolve connectivity issues.

Cluster Endpoint: Double-check the endpoint and port number you are using to connect to the cluster. Any changes during the restoration process might have altered these details.

Best Regards
Saud Ansari
If this post helps, please Accept it as a Solution to help other members find it. I appreciate your Kudos!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors