-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Consul 0.8.x - logging and yamux keepalive errors #3040
Comments
Hi @mnuic
That's not a built-in registration that Consul adds - it looks like something in your cluster is configured with a space in front of the name.
The timeout on that one is 30 seconds, which is pretty long. This often is the result of firewalls that track connections and close them when they are quiet, or other network connectivity issues. Hope that helps! |
Hi @slackpad You were right, there was a space in service definition in one of my clusters. Understand the part with firewalls, but I have 2 hosts in same subnet, no firewalls between them, iptables are ok. Disabled ufw on servers and the behavior is the same, consul reports "yamux keepalive failed". Tcpdump shows that both servers see each other, all ports are open and I don't see anything that could block or produce timeout. If it goes in the 30 seconds timeout that is totaly weird. |
That message could also come from a connection that failed from one of the Consul clients. I think if an agent died or dropped off the network you might also see that. Do you have agents coming and going? |
No, nothing in log for yesterday or for the last week. Found one connection drop for one agent in different dc and that's it. Is it possible to lower the log level for this? Because it is not suggesting that there are any real problems that I see for now. |
Yeah we get a lot of people concerned with these and they can occur for a number of reasons that aren't really important. I'll open this to track tweaking the log level. |
We are getting a lot of excessive logging too. For example:
This shouldn't be Randomly lots of this:
It was not the case with Consul 0.7.4. |
Just installed consul version 0.9.2 and yamux messages still showing (randomly with no obvious reason on multiple server/clients):
@slackpad could You please lower the log level for the next release for this log message. |
@slackpad Same here, lots of these messages across 3 Consul servers, could you please add more logging info so it's at least more obvious what it's actually trying to do so we can debug properly instead of having to dig through tcpdumps? Or please change the logging for it so it doesn't show up in the logs, thanks.
|
Is there any chance to see this resolved in the next release? We have a lot consul nodes and our logs are still showing this kind of yamux messages with no obvious reason. Or could you just lower the log-level to info maybe? |
Still happens on Consul 1.1.0:
We have a lot of nodes. Can you change log level to warning or debug? |
We are getting these too on version 1.0.7+ent:
|
consul version
for both Client and ServerClient: Consul v0.8.3
Server: Consul v0.8.3
Tried with all v0.8.x version it is the same behavior.
consul info
for both Client and ServerClient:
Server:
Operating system and Environment details
Ubuntu 16.04.02
Description of the Issue (and unexpected/desired result)
Lot of log lines show this, it shoud be fixed:
[WARN] Service name " consul-http" will not be discoverable via DNS due to invalid characters. Valid characters include all alpha-numerics and dashes.
yamux keepalive shows ERROR, with client and server on the same subnet, maybe timeout shoud be increased:
[ERR] yamux: keepalive failed: session shutdown
The text was updated successfully, but these errors were encountered: