Closed zxcat closed 6 years ago
@zxcat Does your cli_wallet connect to a local node (on same host/network) or a remote (public) node?
@VIM-Arcange testing on remote nodes, they disconnect ws clients after some inactivity
Then it looks like a problem of the remote site infrastructure, not cli_wallet This often happens when the node is behind nginx and nginx is not properly configured.
I have cli_wallet running in screen and connected to my own nodes. I do now experience such disconnection problems.
Anyway, this does not prevent from implementing some "re-connection" mechanism in cli_wallet.
Steps to reproduce
cli_wallet
>>> get_block 123
Actual results From this point all websocket related commands will fail with
Expected results Command in step 4 and all following commands works fine