Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: support Tor for triggerforceclose #60

Closed
ShadowStorm0 opened this issue Mar 29, 2023 · 22 comments · Fixed by #132
Closed

feature: support Tor for triggerforceclose #60

ShadowStorm0 opened this issue Mar 29, 2023 · 22 comments · Fixed by #132

Comments

@ShadowStorm0
Copy link

I tried to use the triggerforceclose to force close a channel but I get this error error dialing peer: dial tcp: I checked on 1ML and Amboss and the peer is online. Can anyone explain what is happening please.

@guggero
Copy link
Member

guggero commented Mar 29, 2023

What's the peer address? Tor isn't supported by the command (yet).

@ShadowStorm0
Copy link
Author

It was a tor address. But don't worry, in the meantime, the channel backup seams to have force closed it. I got 2 more channels that are still closing and I think both are clearnet IP's

@ShadowStorm0
Copy link
Author

for a clearnet one I keep getting
[INF] CHAN: No spends found yet, waiting 5 seconds...
and sometimes Sending Ping is successful and other times it is unable to reason: unable to write message: write tcp

This is for the same command chain

@ShadowStorm0
Copy link
Author

I'm getting Error: error getting channel address: invalid character '<' looking for beginning of value now

@guggero
Copy link
Member

guggero commented Mar 30, 2023

I haven't tested this extensively, so it's possible there are still a few bugs. Though this will only work with CLN peers, are you sure that's the case?

invalid character '<' looking for beginning of value

This is an error from the blockstream.info API, you're either being rate limited or they have an issue on their end. Just try again later.

@ShadowStorm0
Copy link
Author

I'm not sure if they are a CLN peer, but it seems like that channel closed by itself overnight.
I got one more left that is not closed yet, but it's one over Tor.

@guggero guggero changed the title error dialing peer: dial tcp: feature: support Tor for triggerforceclose Mar 30, 2023
@guggero
Copy link
Member

guggero commented Mar 30, 2023

If you're running the SCB recovery on a node as well, make sure you can connect to that last Tor node. If you can, just give it some more time. Or try the workaround described here: lightningnetwork/lnd#7301 (comment)

@ShadowStorm0
Copy link
Author

Thank You. I'll try later today

@ShadowStorm0
Copy link
Author

I stand corrected, they seam to be on the clearnet https://amboss.space/node/03c436af41160a355fc1ed230a64f6a64bcbd2ae50f12171d1318f9782602be601

@ShadowStorm0
Copy link
Author

I keep getting [INF] CHAN: No spends found yet, waiting 5 seconds...
after I ran this command chantools triggerforceclose --peer [ ]@[ ]:[ ] --channel_point [ ]

@guggero
Copy link
Member

guggero commented Mar 31, 2023

Well, then it's not a CLN node or not the version affected. You'll need to continue trying with the SCB recovery.

@ShadowStorm0
Copy link
Author

What steps can I do if the SCB recovery is not going anywhere?

@guggero
Copy link
Member

guggero commented Mar 31, 2023

What does the log say for the channel in question?

@ShadowStorm0
Copy link
Author

Screenshot from 2023-03-31 03-20-38

@guggero
Copy link
Member

guggero commented Mar 31, 2023

No, I mean the log file.

@ShadowStorm0
Copy link
Author

not sure what you mean than, can you point me to where it is

@guggero
Copy link
Member

guggero commented Mar 31, 2023

@ShadowStorm0
Copy link
Author

found the lnd.log file. There is a lot to sort through tho

@guggero
Copy link
Member

guggero commented Mar 31, 2023

Try grepping by the channel point and remote node ID.

@ShadowStorm0
Copy link
Author

@ShadowStorm0
Copy link
Author

It's getting late, ill have to continue this tomorrow

@guggero
Copy link
Member

guggero commented Mar 31, 2023

It looks okay, nothing unexpected. Could be that this was an old channel format with a fixed fee rate which cannot be accepted by the mempool at the current fee rates. You'll just need to wait, and hope the fees come down. Also, restarting lnd every once in a while might help here (maybe once a day). You can also attempt to contact the peer if you find information about them and ask them to force close from their end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants