discv5 icon indicating copy to clipboard operation
discv5 copied to clipboard

Session is being established

Open twoeths opened this issue 4 years ago • 1 comments

As noted in https://github.com/ChainSafe/lodestar/issues/3423#issuecomment-966793785, if we send an authentication message to the other node but it does not response, the pending Session stays there and we always get Session is being established, request failed error for subsequent requests

With a session timeout of sessionTimeout: 86400 * 1000, it'd take 1 day for the next handshake in order to establish a session.

twoeths avatar Nov 12 '21 06:11 twoeths

Definitely the timeout for pending sessions should be way shorter

dapplion avatar Nov 15 '21 07:11 dapplion