You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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
(whereX
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, anddiscport
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 failedPING
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 aLoadBalancer
was defined with a port nameddiscovery
. So it's unclear why the enode has a non-zerodiscport
, and also unclear why some validators show the URL with adiscport
and some don't.The text was updated successfully, but these errors were encountered: