Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misleading error "No alternative cluster is found to connect" #14574

tkountis opened this Issue Feb 25, 2019 · 0 comments


None yet
2 participants
Copy link

tkountis commented Feb 25, 2019

In an attempt to connect to wrongly configured cluster, we get this error.
The error message is a bit misleading, especially the wording 'alternative', since this was the 1st attempt to connect the client to the cluster.

Other than the message, the exception was valid. The cluster was configured with SSL whereas the client without.

Caused by: java.lang.IllegalStateException: No alternative cluster is found to connect.
	at com.hazelcast.client.connection.nio.ClusterConnectorServiceImpl.connectToClusterInternal(
	at com.hazelcast.client.connection.nio.ClusterConnectorServiceImpl.access$000(
	at com.hazelcast.client.connection.nio.ClusterConnectorServiceImpl$
	at com.hazelcast.client.connection.nio.ClusterConnectorServiceImpl$
	at java.util.concurrent.ThreadPoolExecutor.runWorker(
	at java.util.concurrent.ThreadPoolExecutor$
	at com.hazelcast.util.executor.HazelcastManagedThread.executeRun(

@tkountis tkountis added this to the 3.12 milestone Feb 25, 2019

@sancar sancar self-assigned this Feb 25, 2019

@sancar sancar closed this in 0c43c90 Feb 27, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.