I found this one while using Zeus, described it also there (ZeusLN/zeus#1483), but it probably needs to be fixed on LNC side.
Problem
When connected to a node via LNC and the connection breaks during app usage, it cannot be recovered (when you bring network connection down/up while Zeus runs in background, LNC connection is not permanently broken - no idea what this is about...). Not even when restarting the app.
I already tried to debug this and found, that the connectServer() method of the LncModule does not return an error, but the isConnected() method returns false every time.
Reproduce (using Zeus)
- Connect to node via LNC (Lightning Node Connect)
- Bring network connection down, e. g. by enabling airplane mode
- Bring network connection up again
- Refresh balance
-> Error is shown after some time:
Error: rpc error: code = Unavailable desc = error reading from server: error decrypting payload: error receiving from go-back-n connection: cannot receive, gbn exited
->Error is shown:
Failed to connect the LNC client to the proxy server