SSH forwarded unix domain socket for CLN closes after some time
nickfarrow opened this issue · 0 comments
nickfarrow commented
Trying my new clightning node (open a channel!), which is remote from my SatSale instance and needs to use the SSH unix domain socket forwarding.
This works at first, but after a few hours the socket seems to break and connection is lost.
I'm currently experimenting putting a ssh_tunnel.open_tunnels()
inside the init to forcefully reopen tunnel, and making it so init
is called when there is an error.
https://github.com/SatSale/SatSale/tree/safercln
(* I also want to fix all this try-except garbage in all the node retries at some point)
Will report back if this fixes it, but i am thinking that surely a better solution exists.