loop
loop copied to clipboard
Failed loop out transaction does not show as failed/cancelled on UI
trafficstars
I created a LOOP OUT transaction through terminal web and one was successful, but the other remains in a "in progress" state even 24 hours after the request was made.
It still remains as "in progress" on the UI even if I close my browser and login to the terminal web again.
Transaction ID: 18FA9A18FEC68326EE4075B93D7DCA650D55722914B6ABA393746028182D09E0
Expected behavior
Should remove the failed LOOP OUT transaction or give some other status other than "in progress" if it failed.
Actual behavior
Screenshot provided

To reproduce
Not sure how to reproduce reliably.
System information
- Using Lightning Terminal
https://terminal.lightning.engineering/#/loop - Not Umbrel
- Using UI
- Website
- OS Linux Disk is SSD
lndis v0.14.1 running in dockerlitdis running natively on the Debian Linux OSlitdfrom packagelightning-terminal-linux-amd64-v0.6.2-alpha
Logs:
2022-02-06 22:10:21.118 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetChanInfo
2022-02-06 22:10:21.386 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/WalletBalance
2022-02-06 22:10:21.779 [INF] LOOP: 18fa9a Payment 18fa9a18fec68326ee4075b93d7dca650d55722914b6aba393746028182d09e0: state=IN_FLIGHT, inflight_htlcs=2, inflight_amt=17682329656 mSAT
2022-02-06 22:10:22.451 [INF] LOOP: 18fa9a Payment 18fa9a18fec68326ee4075b93d7dca650d55722914b6aba393746028182d09e0: state=IN_FLIGHT, inflight_htlcs=3, inflight_amt=22991434449 mSAT
2022-02-06 22:10:22.725 [INF] LOOP: 18fa9a Payment 07a27dc040a5a4b11bd1df08ea2f8f52fc58989ee2f1623d08b4425c757d9487: state=IN_FLIGHT, inflight_htlcs=0, inflight_amt=0 mSAT
2022-02-06 22:10:23.306 [INF] LOOP: 18fa9a Payment 07a27dc040a5a4b11bd1df08ea2f8f52fc58989ee2f1623d08b4425c757d9487: state=IN_FLIGHT, inflight_htlcs=1, inflight_amt=30000000 mSAT
2022-02-06 22:10:23.866 [INF] LOOP: 18fa9a Payment 18fa9a18fec68326ee4075b93d7dca650d55722914b6aba393746028182d09e0: state=IN_FLIGHT, inflight_htlcs=4, inflight_amt=32282367836 mSAT
2022-02-06 22:10:24.259 [INF] LOOP: 18fa9a Payment 18fa9a18fec68326ee4075b93d7dca650d55722914b6aba393746028182d09e0: state=IN_FLIGHT, inflight_htlcs=3, inflight_amt=24704226555 mSAT
2022-02-06 22:10:26.497 [INF] LOOP: 18fa9a Payment 18fa9a18fec68326ee4075b93d7dca650d55722914b6aba393746028182d09e0: state=IN_FLIGHT, inflight_htlcs=2, inflight_amt=15413293168 mSAT
2022-02-06 22:10:26.568 [INF] LOOP: 18fa9a Payment 18fa9a18fec68326ee4075b93d7dca650d55722914b6aba393746028182d09e0: state=IN_FLIGHT, inflight_htlcs=3, inflight_amt=24276028529 mSAT
2022-02-06 22:10:27.647 [INF] LOOP: 18fa9a Payment 18fa9a18fec68326ee4075b93d7dca650d55722914b6aba393746028182d09e0: state=IN_FLIGHT, inflight_htlcs=4, inflight_amt=33245813396 mSAT
2022-02-06 22:14:13.492 [INF] LITD: Handling gRPC web request: /poolrpc.Trader/BatchSnapshots
2022-02-06 22:14:13.597 [INF] LITD: Handling gRPC web request: /poolrpc.Trader/NextBatchInfo
2022-02-06 22:18:06.898 [INF] RPCS: Received new block notification: height=722141
2022-02-06 22:18:06.902 [INF] LOOP: Received block 722141
2022-02-06 22:18:06.902 [INF] LOOP: Received block 722141
2022-02-06 22:18:06.903 [INF] LOOP: 18fa9a Checking preimage reveal height 722220 exceeded (height 722141)
2022-02-06 22:18:06.903 [INF] LOOP: e1d16a Checking preimage reveal height 722220 exceeded (height 722141)
2022-02-06 22:24:13.516 [INF] LITD: Handling gRPC web request: /poolrpc.Trader/BatchSnapshots
2022-02-06 22:24:13.642 [INF] LITD: Handling gRPC web request: /poolrpc.Trader/NextBatchInfo
2022-02-06 22:29:36.876 [INF] LOOP: e1d16a Server update: SERVER_HTLC_PUBLISHED received, timestamp: 2022-02-06 22:29:36.854808308 -0500 EST
2022-02-06 22:31:05.673 [INF] LITD: Handling gRPC web request: /poolrpc.Trader/ListAccounts
2022-02-06 22:31:05.679 [INF] LITD: Handling gRPC web request: /poolrpc.Trader/NextBatchInfo
2022-02-06 22:31:05.680 [INF] LITD: Handling gRPC web request: /poolrpc.Trader/ListOrders
2022-02-06 22:31:05.757 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetInfo
2022-02-06 22:31:05.829 [INF] LITD: Handling gRPC web request: /poolrpc.Trader/Leases
2022-02-06 22:34:13.023 [INF] LITD: Handling gRPC web request: /poolrpc.Trader/BatchSnapshots
2022-02-06 22:34:13.085 [INF] LITD: Handling gRPC web request: /poolrpc.Trader/NextBatchInfo
2022-02-06 22:34:37.876 [WRN] GRPC: [transport] transport: http2Server.HandleStreams failed to read frame: error decrypting payload: error reading from go-back-n: cannot receive, gbn exited: gbn transport is closing
2022-02-06 22:35:01.083 [INF] LOOP: e1d16a Server update: SERVER_HTLC_CONFIRMED received, timestamp: 2022-02-06 22:35:00.990853363 -0500 EST
2022-02-06 22:35:01.097 [INF] LOOP: 18fa9a Server update: SERVER_FAILED_OFF_CHAIN_TIMEOUT received, timestamp: 2022-02-06 22:35:00.970237766 -0500 EST
2022-02-06 22:35:01.098 [INF] LOOP: 18fa9a swap subscription: server finished serving updates
2022-02-06 22:35:03.186 [INF] LOOP: e1d16a Payment ee29d8d8fcfd32b3a6a6e62133b250e042fb6aad6cd601c61fcb24065a6cfe81: state=SUCCEEDED
2022-02-06 22:35:04.256 [INF] LOOP: 18fa9a Payment 07a27dc040a5a4b11bd1df08ea2f8f52fc58989ee2f1623d08b4425c757d9487: state=IN_FLIGHT, inflight_htlcs=0, inflight_amt=0 mSAT
2022-02-06 22:35:04.262 [INF] LOOP: 18fa9a Payment 07a27dc040a5a4b11bd1df08ea2f8f52fc58989ee2f1623d08b4425c757d9487: state=FAILED
2022-02-06 22:35:04.262 [INF] LOOP: 18fa9a Failed prepayment: payment failed: FAILURE_REASON_INCORRECT_PAYMENT_DETAILS
2022-02-06 22:35:04.264 [INF] LOOP: 18fa9a Canceling swap: 1 payment failed: FAILURE_REASON_INCORRECT_PAYMENT_DETAILS, 3 attempts
2022-02-06 22:35:04.421 [WRN] LOOP: 18fa9a Could not report failure: rpc error: code = Unknown desc = cancel swap failed
2022-02-06 22:35:04.421 [INF] LOOP: 18fa9a Wait for server pulling off-chain payment(s)
2022-02-06 22:35:04.892 [INF] LOOPD: Monitor request received
2022-02-06 22:35:12.754 [INF] RPCS: Received new block notification: height=722142
2022-02-06 22:35:12.755 [INF] LOOP: Received block 722142
2022-02-06 22:35:12.755 [INF] LOOP: e1d16a Checking preimage reveal height 722220 exceeded (height 722142)
2022-02-06 22:35:12.758 [INF] LOOP: e1d16a Swap script confirmed on chain
2022-02-06 22:35:12.758 [INF] LOOP: e1d16a Htlc tx ed55de9dfb9af8200e9241bd0944c4725e07b81f80326bad8eb6e9c689d6f582 at height 722142
2022-02-06 22:35:12.758 [INF] LOOP: e1d16a Htlc value: 0.1211 BTC
2022-02-06 22:35:22.842 [INF] LOOP: e1d16a Loop out swap state: PreimageRevealed
2022-02-06 22:35:22.842 [INF] LOOP: e1d16a Sweep on chain HTLC to address bc1q3hvvwccguq3zk7d024dunz4mk64tkclv6xgglu with fee 0.00000311 BTC (tx d59b777974c9a6d488855d32b2b7dac4daa24aa8a89911a5abc95787848fdbd0)
2022-02-06 22:35:22.988 [INF] LOOP: e1d16a Pushing preimage to server
2022-02-06 22:35:23.025 [INF] LOOP: e1d16a Server update: SERVER_SUCCESS received, timestamp: 2022-02-06 22:35:23.014199046 -0500 EST
2022-02-06 22:35:23.025 [INF] LOOP: e1d16a swap subscription: server finished serving updates
2022-02-06 22:35:23.687 [INF] LOOP: e1d16a Payment e1d16a46495e82ba188250c820fe1630ce80ab975f05a8a00f66cb8bb360f438: state=IN_FLIGHT, inflight_htlcs=1, inflight_amt=6046076500 mSAT
2022-02-06 22:35:23.816 [INF] LOOP: e1d16a Payment e1d16a46495e82ba188250c820fe1630ce80ab975f05a8a00f66cb8bb360f438: state=SUCCEEDED
2022-02-06 22:35:23.849 [INF] LOOP: e1d16a Off chain payment succeeded
2022-02-06 22:35:24.868 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/ListChannels
2022-02-06 22:35:24.869 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/ChannelBalance
2022-02-06 22:35:24.935 [INF] LITD: Handling gRPC web request: /poolrpc.Trader/ListAccounts
2022-02-06 22:35:24.999 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetInfo
2022-02-06 22:35:26.850 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/PendingChannels
2022-02-06 22:35:26.854 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetNodeInfo
2022-02-06 22:35:26.855 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetNodeInfo
2022-02-06 22:35:26.855 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetChanInfo
2022-02-06 22:35:26.855 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetChanInfo
2022-02-06 22:35:26.855 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetChanInfo
2022-02-06 22:35:26.867 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetChanInfo
2022-02-06 22:35:26.867 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetChanInfo
2022-02-06 22:35:26.867 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetChanInfo
2022-02-06 22:35:26.867 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetChanInfo
2022-02-06 22:35:26.867 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetChanInfo
2022-02-06 22:35:28.633 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/WalletBalance
2022-02-06 22:37:05.241 [INF] LITD: Handling gRPC web request: /poolrpc.Trader/ListAccounts
2022-02-06 22:37:05.369 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetInfo
2022-02-06 22:37:24.690 [INF] RPCS: Received new block notification: height=722143
2022-02-06 22:37:24.706 [INF] LOOP: e1d16a Htlc spend by tx: d59b777974c9a6d488855d32b2b7dac4daa24aa8a89911a5abc95787848fdbd0
2022-02-06 22:37:24.707 [INF] LOOP: e1d16a Wait for server pulling off-chain payment(s)
2022-02-06 22:37:24.708 [INF] LOOP: e1d16a Swap completed: Success (final cost: server 0.00012153 BTC, onchain 0.00000311 BTC, offchain 0.00044307 BTC)
2022-02-06 22:37:24.743 [INF] LOOP: e1d16a Loop out swap state: Success
2022-02-06 22:37:26.803 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/ListChannels
2022-02-06 22:37:26.804 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/ChannelBalance
2022-02-06 22:37:29.034 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/PendingChannels
2022-02-06 22:37:29.045 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetNodeInfo
2022-02-06 22:37:29.062 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetChanInfo
2022-02-06 22:37:29.063 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetNodeInfo
2022-02-06 22:37:29.072 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetChanInfo
2022-02-06 22:37:29.078 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetChanInfo
2022-02-06 22:37:29.079 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetChanInfo
2022-02-06 22:37:29.085 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetChanInfo
2022-02-06 22:37:29.095 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetChanInfo
2022-02-06 22:37:29.108 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetChanInfo
2022-02-06 22:37:29.112 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetChanInfo
2022-02-06 22:37:31.762 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/WalletBalance
2022-02-06 22:39:36.493 [INF] LITD: Handling gRPC web request: /poolrpc.Trader/ListAccounts
2022-02-06 22:39:36.496 [INF] LITD: Handling gRPC web request: /poolrpc.Trader/ListOrders
2022-02-06 22:39:36.494 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/PendingChannels
2022-02-06 22:39:36.500 [INF] LITD: Handling gRPC web request: /poolrpc.Trader/Leases
2022-02-06 22:39:36.503 [INF] LITD: Handling gRPC web request: /poolrpc.Trader/BatchSnapshots
2022-02-06 22:39:36.590 [INF] LITD: Handling gRPC web request: /poolrpc.Trader/NextBatchInfo
2022-02-06 22:39:36.629 [INF] LITD: Handling gRPC web request: /poolrpc.Trader/Leases
2022-02-06 22:39:36.669 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetInfo
2022-02-06 22:40:21.492 [INF] LOOP: 18fa9a Payment 18fa9a18fec68326ee4075b93d7dca650d55722914b6aba393746028182d09e0: state=IN_FLIGHT, inflight_htlcs=3, inflight_amt=23141625021 mSAT
2022-02-06 22:40:21.504 [INF] LOOP: 18fa9a Payment 18fa9a18fec68326ee4075b93d7dca650d55722914b6aba393746028182d09e0: state=IN_FLIGHT, inflight_htlcs=3, inflight_amt=23141625021 mSAT
2022-02-06 22:43:41.497 [INF] LITD: Handling gRPC web request: /poolrpc.Trader/ListAccounts
2022-02-06 22:43:41.642 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetInfo