loop
loop copied to clipboard
Loop IN - Onchain ok, Offchain invoice „Open“
Hello, today in the Morning I started a Loop In. It was Not the First at all and not the First today.
Now the Offchain Payment Stuck in Open. State settled is Not Starting. In LNDg I saw several times unsettled Liquidity for the amount, but it cancels Since then. Onchain the funds are also transfered
I dont know where the Problem is or what I can do
2022-05-21 05:12:09.315 [INF] LOOP: Loop in 0.0302 BTC (last hop: <nil>)
2022-05-21 05:12:09.708 [INF] LOOP: Creating probe invoice dbe2334b0a26ca5def75fca79f391fc4f6976c4e17f69454d9b85>2022-05-21 05:12:09.716 [INF] LOOP: Initiating swap request at height 737259
2022-05-21 05:12:27.282 [INF] LOOP: Server probe successful
2022-05-21 05:12:31.237 [INF] LOOP: 212d23 Htlc address (P2WSH): bc1qry3amlepuwk0cl79wkptks39jucrel4rlsrg6pawatn>2022-05-21 05:12:31.237 [INF] LOOP: 212d23 Htlc address (NP2WSH): 3NuPLPpawsWtQwgesytqpGno2aTcumAPDZ
2022-05-21 05:12:31.240 [INF] LOOP: 212d23 Server message: Use AutoLoop - it is really good, give it a try
2022-05-21 05:12:31.240 [INF] LOOP: 212d23 Loop in swap state: Initiated
2022-05-21 05:12:31.240 [INF] LOOP: 212d23 Blocks left until on-chain expiry: 1000
2022-05-21 05:12:31.248 [INF] LOOP: 212d23 Loop in swap state: HtlcPublished
2022-05-21 05:12:31.248 [INF] LOOP: 212d23 Publishing on chain HTLC with fee rate 3544 sat/kw
2022-05-21 05:12:31.274 [INF] LOOP: 212d23 Published on chain HTLC tx c1fc14a98ec571b3fabbbec2b901892a925ccf0347>2022-05-21 05:12:31.282 [INF] LOOP: 212d23 Register for htlc conf (hh=737259, txid=c1fc14a98ec571b3fabbbec2b9018>2022-05-21 05:12:31.435 [INF] LOOP: 212d23 Server update: SERVER_INITIATED received, timestamp: 2022-05-21 05:12>2022-05-21 05:12:33.725 [INF] LITD: Handling gRPC web request: /poolrpc.Trader/ListAccounts
2022-05-21 05:12:33.741 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/ChannelBalance
2022-05-21 05:12:33.744 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/ListChannels
2022-05-21 05:12:33.875 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/PendingChannels
2022-05-21 05:12:33.881 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetChanInfo
2022-05-21 05:15:23.514 [INF] LOOP: 212d23 Server update: SERVER_HTLC_CONFIRMED received, timestamp: 2022-05-21 >2022-05-21 05:15:23.572 [INF] LOOP: 212d23 P2WSH htlc confirmed
2022-05-21 05:15:23.582 [INF] LOOP: 212d23 Subscribing to swap invoice 212d2388dbac901fd5afacf20e44b8357a54e2ccf>2022-05-21 05:15:23.572 [INF] RPCS: Received new block notification: height=737260
2022-05-21 05:15:23.586 [INF] LOOP: 212d23 Received swap invoice update: Open
in the Logs on the TX before I saw that the next step is settled.
Just Minutes before:
2022-05-21 05:10:30.600 [INF] LOOP: c263bf Subscribing to swap invoice c263bfa3e14a9004a8b662c219b10c0cddb847c04>2022-05-21 05:10:30.605 [INF] LOOP: c263bf Received swap invoice update: Open
2022-05-21 05:10:31.219 [INF] RPCS: Received new block notification: height=737258
2022-05-21 05:10:32.559 [INF] LITD: Handling gRPC web request: /poolrpc.Trader/ListAccounts
2022-05-21 05:10:32.849 [INF] LITD: Handling gRPC web request: /lnrpc.Lightning/GetInfo
2022-05-21 05:10:34.132 [INF] LOOP: c263bf Received swap invoice update: Settled
2022-05-21 05:10:34.138 [INF] LOOP: c263bf Loop in swap state: InvoiceSettled
Maybe you can say what the problem
Hi @mark0st83
Your on-chain htlc (https://mempool.space/address/bc1qry3amlepuwk0cl79wkptks39jucrel4rlsrg6pawatne0pa70c5qu5n0kd) hasn't been swept by the server yet. It actually cannot sweep it if the off-chain payment to your invoice fails since the server needs the swap preimage which is only revealed by your client if the the swap goes through (meaning the off-chain payment to your node succeeds).
The server will attempt to pay the invoice multiple times until timeout and if unsuccessful, your loopd
will sweep back your funds to your wallet.
But what is the Reason for the failed payment. As I said, I saw multiple times Pending HTLCs with the amount of 2,5-3M Sat with the Hash Look in LNDg. But they the HTLCs disappear and nothing else happend.
what can I do for this problem