Session is being established
twoeths opened this issue · comments
As noted in ChainSafe/lodestar#3423 (comment), 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.
Definitely the timeout for pending sessions should be way shorter