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

Better error message on Connection failure #309

Closed
ganesh-karthick opened this Issue May 11, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@ganesh-karthick

ganesh-karthick commented May 11, 2017

When connecting to nats-streaming-server from go client with a wrong cluster id , Go client returns an error

err="stan: connect request timeout"

A better error message would help in debugging.

@kozlovic

This comment has been minimized.

Member

kozlovic commented May 11, 2017

If you provide a cluster ID not used by any of the servers in the network, no server will respond to the client, hence the timeout error message from the client library. If anything, this is an error message that needs to be updated in the client libraries, not in the server.

@kozlovic kozlovic closed this May 11, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment