ethereum / go-ethereum

Go implementation of the Ethereum protocol
https://geth.ethereum.org
GNU Lesser General Public License v3.0
47.53k stars 20.13k forks source link

bootnode works for local nodes but not for nodes from another machine #30420

Closed SyedMuhamadYasir closed 1 month ago

SyedMuhamadYasir commented 1 month ago

Hi, i am trying to work with the built-in bootnode (dev bootnode) in geth,

while the nodes on the SAME PHYSICAL MACHINE (lets say node A) can easily find each other with the bootnode

i run into an issue, when i try to connect a node that is present on a DIFFERENT PHYSICAL MACHINE (lets say node B),

that node cannot connect to this bootnode on Node A, even though i have used extip parameter to bind the bootnode to the public ip, with node 30301

here's the screenshot of the error given by the bootnode logs,

image

how can i resolve Bad discv4 packet error (and what does "too small" indicate?)

holiman commented 1 month ago

Are node A and node B on the same local network? Or are they both behind separate natted networks? Please provide some details about your network setup.

gballet commented 1 month ago

Could you please also give us the public ips and ports?

holiman commented 1 month ago

Seems abandoned. Feel free to reopen if you have want to follow up with more information