Get local docker network running again. #2030
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Took a while to debug this issue - but I observed a lot of TCP retransmissions occurring in the present local docker network using wireshark, which hinted at an underlying networking issue.
Turns out that the nodes were communicating with each other over the gateway acting as a NAT-router. So, they were seeing the gateway IP/port as the remote IP/port. This is fine if it was used for responses (aka NAT) but would have problems if a client tried to initiate a connection to this ephemeral IP/port that isn't listening on the gateway.
This PR does two things:
Local docker cluster is starting up again.
I will be working on my #1878 changes on top of this branch. Would be good to get this fix into main.