-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 1.5.3 and 1.6.0 agents defaulting on protocol v2 #6404
Comments
I think this is just a display issue. See #1531 |
Your reference is from version 0.6.0 ; this is 1.6.0 ; all agents are on 1.6.0 so I would guess they'd be speaking v3 witch each other ? |
Closed as answered in #3887 |
It’s not answered at all. The answer in #3887 says: it’s the default version that is shown. That doesn’t correspond at all with the docs: see my report. If the docs are correct, it should default to v3 and thus be reporting so (if the answer in #3887 is somewhat relevant). So either the docs are wrong, or the output is wrong. See: -protocol - The Consul protocol version to use. This defaults to the latest version. This should be set only when upgrading. You can view the protocol versions supported by Consul by running consul -v. |
Version 1.6.0 says:
So when you call |
The output: ‘Protocol 2 spoken by default’ The docs say: protocol - The Consul protocol version to use. This defaults to the latest version. This should be set only when upgrading. You can view the protocol versions supported by Consul by running consul -v. Clearly anyone that does the effort of actually reading what I write can see that this contradicts itself? |
Hey @BitProcessor, apologies about this. Now after properly reading I totally see where the confusion lies, and my eyes have been deceiving me this entire time. |
Reopening until PR is merged |
Overview of the Issue
According to the output of consul -v on a three-node cluster running all identical versions of the consul binary, I expect the agents to talk to each other in protocol v3. However, the active protocol is v2.
For 1.5.3:
For 1.6.0:
Also, according to https://www.consul.io/docs/agent/options.html :
Reproduction Steps
Setup a three cluster-nodes consul environment with the following startup command:
and the following config.json:
And run (same issue for 1.5.3 and 1.6.0):
Consul info for both Client and Server
Client info
Server info
Operating system and Environment details
The text was updated successfully, but these errors were encountered: