Skip to content

loopd stops working after launch. #898

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

Closed
siarheicts opened this issue Mar 18, 2025 · 6 comments · Fixed by #899
Closed

loopd stops working after launch. #898

siarheicts opened this issue Mar 18, 2025 · 6 comments · Fixed by #899
Assignees

Comments

@siarheicts
Copy link

siarheicts commented Mar 18, 2025

2025-03-18 12:23:44.555 [INF] LOOPD: Starting gRPC listener
2025-03-18 12:23:44.561 [INF] LOOPD: Starting REST proxy listener
2025-03-18 12:23:44.561 [INF] LOOPD: RPC server listening on 127.0.0.1:11010
2025-03-18 12:23:44.561 [INF] LOOPD: REST proxy listening on 127.0.0.1:8081
2025-03-18 12:23:45.307 [ERR] LOOP: 90616e could not get swap subscription: rpc error: code = Canceled desc = context canceled
2025-03-18 12:23:45.307 [WRN] LOOP: 90616e Server couldn't recommend routing plugin: rpc error: code = Canceled desc = context canceled
2025-03-18 12:23:45.307 [INF] LOOP: 90616e Sending prepayment lnbc300u1pnmtw66pp5g686fzsxw5us0gj4ytsktypl0f3rqxykenzgfw0efh48h06fyuasdq2wpex2urp0ycqzxgxq97zvuqrzjqgwf02g2gy0l9vgdc25wxt0z72wjlfyagxlmk54ag9hyvrdsw37smapyqqqqqqqq2qqqqqqqqqqqqqqq9qsp56mtlfu3ffczt4kj6m8tv8wnep389j4qmar8plm9evwyltr4nhjfq9qxpqysgqfntvam4vue6r8ey5c280uuf2p55nx8r8h8v8yr0fznn0hru74mzy7e7n2982cnk3hulge473ex3p4z3yjhu8evd3qavufd4w9r850yqp5k9j7s
2025-03-18 12:23:45.307 [INF] LOOP: 90616e Register 1 conf ntfn for swap script on chain (hh=884447)
2025-03-18 12:23:45.307 [ERR] LOOP: 90616e Swap error: rpc error: code = Canceled desc = context canceled
2025-03-18 12:23:45.307 [INF] LOOP: 90616e Loop out swap state: FailTemporary
2025-03-18 12:23:45.307 [ERR] LOOP: Execute error: rpc error: code = Canceled desc = context canceled
2025-03-18 12:23:45.307 [ERR] LOOP: 35cf88 could not get swap subscription: rpc error: code = Canceled desc = context canceled
2025-03-18 12:23:45.307 [WRN] LOOP: 35cf88 Server couldn't recommend routing plugin: rpc error: code = Canceled desc = context canceled
2025-03-18 12:23:45.307 [INF] LOOP: 35cf88 Sending prepayment lnbc300u1pnmtwmqpp5aacygymzap4aru3wm890u2eyrd4a9vtdhht9eqhzagasdp7xylwsdq2wpex2urp0ycqzxgxq97zvuqrzjqgwf02g2gy0l9vgdc25wxt0z72wjlfyagxlmk54ag9hyvrdsw37smapyqqqqqqqq2qqqqqqqqqqqqqqq9qsp5vrzd5zslxquz95zy68u6u29l84hu2j7w0qcdn9tahj7vasq86vfs9qxpqysgqpka3va3t58yx5cvv24rfy99kmdrttj2dtdtkx86r493hnusu0wxx46suwkd5pvlvrafd48tjsxyvn4kmhtqklned4p2pn442pjnn5qqqdw27qu
2025-03-18 12:23:45.307 [INF] LOOP: 35cf88 Register 1 conf ntfn for swap script on chain (hh=884447)
2025-03-18 12:23:45.307 [ERR] LOOP: 35cf88 Swap error: rpc error: code = Canceled desc = context canceled
2025-03-18 12:23:45.307 [INF] LOOP: 35cf88 Loop out swap state: FailTemporary
2025-03-18 12:23:45.307 [ERR] LOOP: Execute error: rpc error: code = Canceled desc = context canceled
2025-03-18 12:23:45.307 [ERR] LOOP: 1301d1 could not get swap subscription: rpc error: code = Canceled desc = context canceled
2025-03-18 12:23:45.307 [INF] LOOP: 90616e Payment (90616ed23c795bec8b9fa97edd6efa26f049c36f73b5e77a1de7402120c764c6) try count 1/1 (plugin=None)
2025-03-18 12:23:45.307 [WRN] LOOP: 90616e Failed to report routing result: rpc error: code = Canceled desc = context canceled
2025-03-18 12:23:45.307 [WRN] LOOP: 1301d1 Server couldn't recommend routing plugin: rpc error: code = Canceled desc = context canceled
2025-03-18 12:23:45.307 [INF] LOOP: 1301d1 Sending prepayment lnbc300u1pnmtwmfpp5x5lnwvgewnndrwg8mtjrd0glqspvqj4yn9w2jluutet69r4afe7qdq2wpex2urp0ycqzxgxq97zvuqrzjqgwf02g2gy0l9vgdc25wxt0z72wjlfyagxlmk54ag9hyvrdsw37smapyqqqqqqqq2qqqqqqqqqqqqqqq9qsp5cnvqzszqc06xfz4p202frsxy095helnnftdxh6fe06cn9fcy2tlq9qxpqysgqqnj8w79wkh4tk95d8d4qjf4ccvw9p5zlzfhlx76hhzlt3cvlvtxjck5fdd4zp8uz0rx23wvfnjmthve8lvf90psxsq5e23lsrqy4a2gpdpfr4u
2025-03-18 12:23:45.307 [INF] LOOP: 1301d1 Register 1 conf ntfn for swap script on chain (hh=884447)
2025-03-18 12:23:45.307 [ERR] LOOP: 1301d1 Swap error: rpc error: code = Canceled desc = context canceled
2025-03-18 12:23:45.307 [INF] LOOP: 1301d1 Loop out swap state: FailTemporary
2025-03-18 12:23:45.307 [ERR] LOOP: Execute error: rpc error: code = Canceled desc = context canceled
2025-03-18 12:23:45.307 [INF] LOOP: 90616e Payment (468fa48a06753907a25522e165903f7a62301896ccc484b9f94dea7bbf49273b) try count 1/1 (plugin=None)
2025-03-18 12:23:45.307 [INF] LOOP: 35cf88 Payment (ef70441362e86bd1f22ed9cafe2b241b6bd2b16dbdd65c82e2ea3b0687c627dd) try count 1/1 (plugin=None)
2025-03-18 12:23:45.307 [INF] LOOP: Swap client terminated
2025-03-18 12:23:45.307 [INF] LOOPD: Swap client stopped
2025-03-18 12:23:45.308 [INF] LOOP: 1301d1 Payment (1301d1d1b748f6b46c9838c730e802efa8ba58742b4f9ce066b3308986885545) try count 1/1 (plugin=None)
2025-03-18 12:23:45.308 [INF] LOOP: 35cf88 Payment (35cf883f82f1c1f01e7511237382d05116ec54db6a6f7bea7477d199a1760a50) try count 1/1 (plugin=None)
2025-03-18 12:23:45.308 [WRN] LOOP: 1301d1 Failed to report routing result: rpc error: code = Canceled desc = context canceled
2025-03-18 12:23:45.308 [ERR] LOOPD: Runtime error in daemon, shutting down: batcher error: failed to fetch min fee rate for 90616ed23c79: fee estimator failed, swapHash=90616ed23c79, confTarget=1: estimate fee: rpc error: code = Unknown desc = confirmation target must be greater than 1
2025-03-18 12:23:45.308 [INF] LOOPD: Stopping gRPC server
2025-03-18 12:23:45.308 [WRN] LOOP: 35cf88 Failed to report routing result: rpc error: code = Canceled desc = context canceled
2025-03-18 12:23:45.308 [INF] LOOP: 1301d1 Payment (353f37311974e6d1b907dae436bd1f0402c04aa4995ca97f9c5e57a28ebd4e7c) try count 1/1 (plugin=None)
2025-03-18 12:23:45.308 [INF] LOOPD: Starting static address loop-in manager stopped
2025-03-18 12:23:45.308 [INF] LOOPD: Static address deposit withdrawal manager stopped
2025-03-18 12:23:45.308 [INF] LOOPD: Static address deposit manager stopped
2025-03-18 12:23:45.308 [INF] LOOPD: Static address manager stopped
2025-03-18 12:23:45.308 [ERR] NTFNS: Error receiving notification: rpc error: code = Canceled desc = context canceled
2025-03-18 12:23:45.308 [ERR] NTFNS: Error subscribing to notifications: rpc error: code = Canceled desc = context canceled
2025-03-18 12:23:45.308 [INF] LOOPD: Liquidity manager stopped
2025-03-18 12:23:45.308 [INF] LOOPD: Stopping REST server
2025-03-18 12:23:45.309 [INF] LOOPD: Daemon exited
@hieblmi
Copy link
Collaborator

hieblmi commented Mar 18, 2025

Hi @siarheicts,

Thanks for your report. Could you please add some more details of your situation:

  • which loop version are you running?
  • did you recently update your loop version
  • have you tried restarting the client? Does it result in the same errors?
  • was there any action you can think of you took that might cause a problem?

Thanks for you help.

@siarheicts
Copy link
Author

loop version - 0.29.0
lnd - 0.18.5-beta
The problem appeared after restarting Lightning Terminal; restarting does not help, and reinstalling does not solve the issue either.

starius added a commit to starius/loop that referenced this issue Mar 18, 2025
The fee estimator fails if conf_target=1. Use conf_target=2 instead.

Fix lightninglabs#898
@starius starius reopened this Mar 18, 2025
@starius
Copy link
Collaborator

starius commented Mar 18, 2025

@siarheicts The patch is merged into Loop master branch.
If you run Lighting Terminal, you could disable the integrated Loop in Lightning Terminal for now by passing --loop-mode=disable flag to your litd daemon.

Then you can manually build Loop from master:

git clone https://github.com/lightninglabs/loop.git
cd loop
make install

(You need Go at least of version 1.23.6.)
It will put loopd and loop files into $GOPATH/bin directory.

Then run the loopd binary. Please tell if it works for you!

@starius
Copy link
Collaborator

starius commented Mar 18, 2025

When Lightning Terminal with this fix is released, you can switch back to using integrated Loop mode. If you want, you can use remote mode in Lightning Terminal until that.

@siarheicts
Copy link
Author

Thank you for the quick solution.

starius added a commit to starius/lnd that referenced this issue Mar 18, 2025
Without this notice a developer might think that 1 is a valid value, which can
result in a rare bug. Example: lightninglabs/loop#898
starius added a commit to starius/lnd that referenced this issue Mar 18, 2025
Without this notice a developer might think that 1 is a valid value, which can
result in a rare bug. Example: lightninglabs/loop#898
hieblmi pushed a commit to hieblmi/loop that referenced this issue Mar 19, 2025
The fee estimator fails if conf_target=1. Use conf_target=2 instead.

Fix lightninglabs#898
@starius starius self-assigned this Mar 22, 2025
@starius
Copy link
Collaborator

starius commented Mar 22, 2025

The issue is resolved.

@starius starius closed this as completed Mar 22, 2025
hieblmi pushed a commit to hieblmi/loop that referenced this issue Mar 25, 2025
The fee estimator fails if conf_target=1. Use conf_target=2 instead.

Fix lightninglabs#898
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.

3 participants