Skip to content
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

23.4.1 node running in docker is showing in other peers tables with ?discport non-zero #5834

Open
matthew1001 opened this issue Aug 31, 2023 · 0 comments
Labels
bug Something isn't working docker P3 Medium (ex: JSON-RPC request not working with a specific client library due to loose spec assumtion) peering

Comments

@matthew1001
Copy link
Contributor

Description

A 23.4.1 besu node running as a non-validator in a QBFT network is showing in other peer tables with an enode URL that includes a ?discport=X (where X is a non-zero port number).

The node is running in docker with either --nat-method=NONE or --nat-method=DOCKER (both have been tried, and discport still appears to be set to a non-zero value)

To some of the validators, the enode URL does not contain a discport query param and those validators can connect to the node correctly.

To other validators the enode URL does contain a discport as mention above, and these validators cannot communicate with it. Trace shows failed PING packets to the node on that port.

Expected behaviour

The node isn't expected to have separate UDP discovery and TCP listener ports. The --p2p-port CLI param has been set, and is used for the TCP port. It should also be used for the UDP port. Docker is run with port porwarding configured for that port.

As far as I can tell, a node would only advertise a separate discovery port if the node was running in Kubernetes, and a LoadBalancer was defined with a port named discovery. So it's unclear why the enode has a non-zero discport, and also unclear why some validators show the URL with a discport and some don't.

@matthew1001 matthew1001 added the bug Something isn't working label Aug 31, 2023
@jframe jframe added peering P3 Medium (ex: JSON-RPC request not working with a specific client library due to loose spec assumtion) TeamChupa GH issues worked on by Chupacabara Team TeamRevenant GH issues worked on by Revenant Team TeamGroot GH issues worked on by Groot Team labels Sep 5, 2023
@non-fungible-nelson non-fungible-nelson removed the TeamChupa GH issues worked on by Chupacabara Team label Sep 19, 2023
@jflo jflo added docker and removed TeamGroot GH issues worked on by Groot Team TeamRevenant GH issues worked on by Revenant Team labels Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working docker P3 Medium (ex: JSON-RPC request not working with a specific client library due to loose spec assumtion) peering
Projects
None yet
Development

No branches or pull requests

4 participants