Timeout connecting to an AWS cluster

Hi,

I have a 3-server cluster. All ports are open as per docs.
Tried with CE 4.0.0 and EE 4.1.0.
Servers are added using Public DNS records, not IPs.
Connecting from a client as “couchbase://ec2-XXX-XXX-XXX-XXX.compute-1.amazonaws.com”

Connection itself is successful, however queries are returning “The operation has timed out”.

However, I can connect to the server via web UI (8091) and telnet to 8091.

Please advise!

Sorry, the issue was incorrectly set cluster.SetServerConnectTimeout()
Resolved!