Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

frequently receive "connection refused" logs #33

Open
zhaoweiguo opened this issue Jul 25, 2014 · 1 comment
Open

frequently receive "connection refused" logs #33

zhaoweiguo opened this issue Jul 25, 2014 · 1 comment

Comments

@zhaoweiguo
Copy link

if i set the wrong zk host or port. I'll receive logs like below frequently:

2014/07/25 19:02:19 Failed to connect to :2181: dial tcp :2181: connection refused
2014/07/25 19:02:20 Failed to connect to :2181: dial tcp :2181: connection refused
....

I don't know if i miss something or it is an issue.

if i miss something please tell me what should i do, very thanks!

@roman-kashitsyn
Copy link

The messages are ok - they just inform you that the client is not able to connect to the server within connection timeout. You'll receive messages like this if you use official C-client library. If you think that messages are logged too often, it could be probably fixed in scope of issue #50.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants