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

Pesky stuck pending is back #2482

Closed
ZapUser77 opened this issue Jan 16, 2019 · 21 comments
Closed

Pesky stuck pending is back #2482

ZapUser77 opened this issue Jan 16, 2019 · 21 comments
Assignees

Comments

@ZapUser77
Copy link

Background

Identical symptom as #1610, except the transaction has been included in a block, months ago.
Limbo amount: 259779
Maturity: -24766

https://blockexplorer.com/tx/6e74a9d029f68de47903a26b11dee47cb9c1f4903608cacc71d4830af3808aa4

Your environment

  • version of lnd 0.5.1-beta-rc3-4-g8924d8fb20eb2abfd9cc93c6cc7eb6951184cb88-dirty
  • which operating system (uname -a on *Nix) Rasbian
  • version of btcd, bitcoind, or other backend
  • any other relevant environment details
@halseth
Copy link
Contributor

halseth commented Jan 16, 2019

Need some more information to be able to debug this.

Also, you shouldn't be running the release candidate.

@ZapUser77
Copy link
Author

I'm just running whatever git-pull throws at me. ^_^

If you need more info, please specify exactly what you need (and how to obtain it). It's a Linux OS... and Linux hates me... so detailed instructions for how to get what you need would be helpful.
(Note: copy & paste in terminal has stopped working for some unknown reason)

@Roasbeef
Copy link
Member

Fill out the issue template, thanks! Also try to update to master, as said above you shouldn't persistently run release candidates.

@cfromknecht
Copy link
Contributor

@ZapUser77 also what modifications have you made to the source code?

@ZapUser77
Copy link
Author

Fill out the issue template, thanks!

Nothing else in the "Issue template" is relevant. If it were, I would have added it. I'm sure there is plenty of relevant data, but I don't know how to obtain what you need. (Copy/paste in terminal isn't working any more)

@cfromknecht No mods at all, running straight from source.

I just tried an update: git pull
Make clean (works)
Make (throws a ton of errors about missing packages,
Go-upnp
yawning/aez
btcwallet/chain
btcwallet/snac1
(about about 100 more... but my copy & paste isn't working from terminal)

Thanks.

@cfromknecht
Copy link
Contributor

@ZapUser77 the commit tag says -dirty, so somehow something was modified.

We're probably going to need logs in order to see what's going on, so as a preliminary step i would try and figure out the copy/paste issues first :)

@ZapUser77
Copy link
Author

When I tried to do a new pull, it said only "Gopckg.lock" had been modified.

I can copy and paste from any other program, besides terminal, so I can open it with the GUI into text editor and copy from there. So, if it's a log file, just tell me the name/directory.

@ZapUser77
Copy link
Author

So, I did a "git checkout b07499f" (which from my understanding, should be 0.5.1 beta release version)
And it installed correctly. (Make clean, make, make install)
Between 5.1 and the latest commit the makefile is different. I noticed dep ensure -v is missing, and it errors out complaining about missing packages.
And the fresh build, says it's "dirty" as well. ;)

Anyway, started the node back up, and the pending-force-close is still there.

@Roasbeef
Copy link
Member

Fixed by addition of the sweeper in master, closing.

@ZapUser77
Copy link
Author

Fixed by addition of the sweeper in master, closing.

Can you please identify which commit has this? I'm unable to install the latest, as the makefile bugs out.

Thanks.

@wpaulino
Copy link
Contributor

There's nothing wrong with the Makefile, you simply need to update your Go version to 1.11 in order to support modules, which we now use for external dependencies.

@ZapUser77
Copy link
Author

There's nothing wrong with the Makefile, you simply need to update your Go version to 1.11 in order to support modules, which we now use for external dependencies.

Thanks. I appreciate the help.

@ZapUser77
Copy link
Author

Fixed by addition of the sweeper in master, closing.

Please reopen this ticket, the issue is not resolved.

Upgraded to the latest commit: v0.5.1-beta-424-g4537c63dbd1cd96c1d4e73e8fa1e47a12314f418

Still results in:
pending_force_closing_channels": [
{
"channel": {
"remote_node_pub": "0242a4ae0c5bef18048fbecf995094b74bfb0f7391418d71ed394784373f41e4f3",
"channel_point": "c8d219032554b624cb06d16d2cb2bd2f79d40c55514d40e4c3fda97a27898364:0",
"capacity": "1000000",
"local_balance": "739324",
"remote_balance": "0"
},
"closing_txid": "6e74a9d029f68de47903a26b11dee47cb9c1f4903608cacc71d4830af3808aa4",
"limbo_balance": "259779",
"maturity_height": 0,
"blocks_til_maturity": 0,
"recovered_balance": "0",
"pending_htlcs": [
{
"incoming": false,
"amount": "259779",
"outpoint": "6e74a9d029f68de47903a26b11dee47cb9c1f4903608cacc71d4830af3808aa4:0",
"maturity_height": 533994,
"blocks_til_maturity": -25544,
"stage": 2
}
]
}
],
"waiting_close_channels": [
]

lncli --help doesn't list any new commands (in case it was manual instead of automatic)

@Roasbeef
Copy link
Member

How many blocks have passed since you upgraded? Can you provide start logs with the following sub-systems isolated: UTXN, CNCT, SWPR? Thanks

@ZapUser77
Copy link
Author

ZapUser77 commented Jan 22, 2019

11 blocks have passed. Still pending. At least 6 of the last 11 blocks were not full.

@Roasbeef
Copy link
Member

Can you use a paste of the logs? Makes it easier to parse.

@Roasbeef
Copy link
Member

No using something like https://0bin.net

@ZapUser77
Copy link
Author

ZapUser77 commented Jan 22, 2019

Not sure exactly what your looking for:

https://0bin.net/paste/KtRLR6RfFLfxYA2K#eEyKwDUVtr8jjlZrTVjNa+eOcLwygNLXBkKXyZhziDj

@Roasbeef
Copy link
Member

When you paste logs in line, it spams the issue and makes it hard to follow. Removing any extensive logs that aren't in a pastebin.

@ZapUser77
Copy link
Author

Ah, I understand now. I thought you were asking for formatting where text is in that grey box that you can scroll through.

@ZapUser77
Copy link
Author

Well... The pending channel has magically fixed itself after a couple days.

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

No branches or pull requests

6 participants