[Amazon](500150) Error setting/closing connection: Connection timed out

谁说胖子不能爱 提交于 2019-12-13 03:56:45

问题


I am having connectivity issue from Glue console while trying to connect to Redshift Cluster. I am able to connect to Redshift cluster with exact credentials from my Desktop.

I have followed the AWS documentation and have "ALL TCP" connections open for Security Groups in which Redshift cluster resides. Both Glue and Redshift are in same Region. Also Glue has been given AWSRedshiftFullAccess.

I am running a wall and appreciate if you provide me guidance to resolve this issue. I followed the steps recommended in other thread but no luck (Ensuring that DNSHostname and DNSResolution enabled.

Appreciate your guidance.

Thanks,

V


回答1:


Check if your redshiftcluster is ssl enabled or not, if it is SSL enabled, then you need to append the ssl config to the end of your host url. If ssl is not enabled, check the Security groups of your redshift cluster, it particularly needs TCP/Redshift port 5439 is open inbound.




回答2:


Did you Add connection in Glue and assign the connection you created for redshift to the specific job you are running? The link is here.




回答3:


Yes, I did use "Add Connection" in Glue.

I was able to finally resolve the issue after creating a brand new VPC and provisioning RedShift database in that new VPC and connectivity worked fine.

On the positive side, I am happy that the issue got resolved but not sure what was the underpinning issue.

Anyway, thanks for the response. Appreciate it.



来源:https://stackoverflow.com/questions/51681182/amazon500150-error-setting-closing-connection-connection-timed-out

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!