Open rolznz opened 1 year ago
Hi, thanks so much for the report and feedback! We'll have someone take a look into this over the next sprint cycle or so (couple of weeks). We'll respond here as we find the issue and make any necessary fixes :)
I am also running in to this issue. If the user inputs an already used pairing phrase (or anything that would cause the connection to fail), even after calling disconnect, LNC continues to keep trying to connect on a loop even if a new connection has been made that is successful.
Hi, Alby allows users to connect to their node through an LNC connector
However, we have some cases where the lightning terminal is not running or not reachable, therefore the connection can never succeed, and we are unable to stop lnc from running even after lnc.disconnect();
Ideally if lnc.disconnect is called() LNC should not repeatedly try to re-connect (especially if it couldn't connect in the first place)
If connect() fails (or lnc.isConnected() returns false), should we still call disconnect()?
This set of logs gets repeated endlessly: