lambda_ethereum_consensus icon indicating copy to clipboard operation
lambda_ethereum_consensus copied to clipboard

Go panic: UDP address already in use

Open Arkenan opened this issue 1 year ago • 0 comments

The go libp2p module gets this error and the node doesn't recover, but process still lives.

panic: listen udp 0.0.0.0:9000: bind: address already in use

goroutine 1 [running]:
libp2p_port/internal/utils.PanicIfError(...)
/libp2p_port/internal/utils/utils.go:19
libp2p_port/internal/discovery.NewDiscoverer(0x40002e43d0?, 0x400023a640, 0x400001be80)
/libp2p_port/internal/discovery/discovery.go:34 +0x45c
main.commandServer()
/libp2p_port/main.go:74 +0x138
main.main()
/libp2p_port/main.go:90 +0x1c

As a quick hypothesis, it might be a clean-up problem when the libp2p genserver restarts.

Arkenan avatar May 22 '24 10:05 Arkenan