Reputation:
Tableau cannot connect to the redshift server.
It displayed:
An error occurred while communicating with Amazon Redshift
Unable to connect to the server. Check that the server is running and that you have access privileges to the requested database.
Error Code: BC42EF73
could not connect to server: Operation timed out
Is the server running on host "redshift-cluster-1.cncrnka9xarv.us-east-2.redshift.amazonaws.com" (3.143.87.206) and accepting TCP/IP connections on port 5439?
I just followed the setup in AWS Redshift Connection with Tableau - YouTube but it fails. What's the reason?
Upvotes: 0
Views: 3579
Reputation: 1
I also had this issue, the following steps solved the issue for me:
Go to your redshift cluster, right under the 'General information' tab of your cluster, go to > Properties > Network and security settings - 'Enable Publicly accessible' and click on Save.
Once that is saved, click on your VPC, then VPC dashboard will open up. From the options on the left, click on 'Security group' > click on 'Security group id' > Add inbound rule > Type: ALL TCP->TCP->0-65535->IPv4->0.0.0.0/0
Save this and now connect your redshift to tableau, it should work fine.
Upvotes: 0
Reputation: 99
Solving this error contains 2 steps:
For doing that follow the following steps:
Here set the Source to the IPaddress from where the connection request is going to be made and not the above one.
For all other connection queries can be solved by following this link
Upvotes: 0
Reputation: 269410
The first thing you should check is the Security Group associated with the Amazon Redshift database, since the video did not reference it.
The Security Group should permit Inbound access from 0.0.0.0/0
on port 5439. Note that this makes your database accessible to anywhere on the Internet, which is not good from a security perspective. However, I couldn't find a reference to the range of IP addresses that Tableau Online uses.
If that doesn't help, then confirm that the Redshift database is in a public subnet. A public subnet is defined as having a Route Table entry pointing to an Internet Gateway.
Upvotes: 1