-
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 0.8.x LAN servers attempting to connect to each other using TCP/8302 #3058
Comments
To follow up. When I allow TCP/8302 between the servers, I see log messages like the following:
This is really confusing since I did not specifically configure WAN networking. consul info
|
Hi @agy this is working as designed for the new "WAN flood join" feature (from changelog):
If you use the WAN at all this is always what you want, though we have gotten some folks confused by this that don't use it. We hesitated adding extra config complexity but we are listening to feedback on this. We should update the documentation to make this more clear about port 8302 though. |
@slackpad Thanks for the update. I read the release notes and the docs and it wasn't clear to me that this change would have LAN machines connecting to each other on the WAN port. I do however understand the rationale. This does seem to now be a documentation issue so I'm closing this specific bug report. For those that come later, I added the following, on my Consul servers, to resolve the issue:
|
- Add note about port 8302 to address #3058
- Add note about port 8302 to address #3058
Description of the Issue (and unexpected/desired result)
While testing upgrades of my Consul servers I noticed the following error message periodically occurring:
These servers are all on the same LAN (no WAN connections have been configured) and they have "firewall rules" (AWS security groups) preventing TCP/8302 connections between each other. The ports used documentation indicates that this should only be used for WAN usage.
Using
ss
I can confirm that the connections are being attempted.Since I'm testing upgrades, the
consul members
output looks like this:I have tested the Consul binaries from 0.8.3 down to 0.7.5 and can confirm that this behaviour was introduced in 0.8.0.
Basic connectivity checks:
What I expect:
The Consul LAN servers should not attempt to connect to each other using TCP/8302.
consul version
for ServerServer:
Consul v0.8.3
consul info
for ServerServer:
Operating system and Environment details
Three node, test cluster all running Ubuntu 16.04
The servers are started with:
Example of one of the Consul server config files (redacted):
Reproduction steps
0.7.5
with firewall (or security group) rules preventing the server nodes from connecting to each other on TCP/8302.0.8.3
0.8.3
server attempts to connect to it's peers using TCP/8302 and failingPlease let me know if this is expected, a config error on my part or if there is any further information that you require?
The text was updated successfully, but these errors were encountered: