You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
24 min 35 secpeerswap-plugin crashes on the CLN side.
32 min 56 sec LND peerswapd goes into State_SwapInSender_AwaitClaimPayment after failing to see an incoming LN payment then timing out.
1 hour 22 min CSV timed out so onchain funds reclaimed.
CLN peerswap log messages:
2022-05-30T19:22:56.913Z INFO plugin-peerswap-plugin: [Swap:e2d5df28e680638875ede8474ffd04c207fb407f2d2fd68a9a427696abe67d68] swap in request received: peer: REDACTED chanId: REDACTED:REDACTED:1 initiator: REDACTED amount 1000000
2022-05-30T19:24:35.890Z INFO plugin-peerswap-plugin: Killing plugin: exited during normal operation
2022-05-30 19:22:57.257 [INF] INVC: New single invoice subscription client: id=0, ref=(pay_hash=3b3dae67398a2dcd4f9899e39409d9a1ef0459c7762cb2aad691ad60d1b0e617)
2022-05-30 19:22:57.361 [INF] INVC: New single invoice subscription client: id=1, ref=(pay_hash=3b3dae67398a2dcd4f9899e39409d9a1ef0459c7762cb2aad691ad60d1b0e617)
... <same thing 34,000 times ...>
LND peerswap.log
2022/05/30 14:22:56 [DEBUG] [FSM] event:id: e2d5df28e680638875ede8474ffd04c207fb407f2d2fd68a9a427696abe67d68, Event_SwapInSender_OnSwapInRequested on
2022/05/30 14:22:56 [INFO] [Swap:e2d5df28e680638875ede8474ffd04c207fb407f2d2fd68a9a427696abe67d68] Start new swap in: peer: REDACTEDPEER chanId: REDACTED:REDACTED:1 initiator: REDACTED amount 1000000
2022/05/30 14:22:56 [DEBUG] [FSM] event:id: e2d5df28e680638875ede8474ffd04c207fb407f2d2fd68a9a427696abe67d68, Event_ActionSucceeded on State_SwapInSender_CreateSwap
2022/05/30 14:22:56 [DEBUG] [FSM] event:id: e2d5df28e680638875ede8474ffd04c207fb407f2d2fd68a9a427696abe67d68, Event_ActionSucceeded on State_SwapInSender_SendRequest
2022/05/30 14:22:56 [DEBUG] [Messenger] From: REDACTEDPEER got msgtype: a459 payload: {"protocol_version":2,"swap_id":"e2d5df28e680638875ede8474ffd04c207fb407f2d2fd68a9a427696abe67d68","pubkey":"REDACTED","premium":0}
2022/05/30 14:22:56 [DEBUG] [FSM] event:id: e2d5df28e680638875ede8474ffd04c207fb407f2d2fd68a9a427696abe67d68, Event_SwapInSender_OnAgreementReceived on State_SwapInSender_AwaitAgreement
2022/05/30 14:22:57 [DEBUG] [FSM] event:id: e2d5df28e680638875ede8474ffd04c207fb407f2d2fd68a9a427696abe67d68, Event_ActionSucceeded on State_SwapInSender_BroadcastOpeningTx
2022/05/30 14:22:57 [DEBUG] [RedundantSender] start sending messages of type 42077 to REDACTEDPEER
2022/05/30 14:22:57 [DEBUG] [FSM] event:id: e2d5df28e680638875ede8474ffd04c207fb407f2d2fd68a9a427696abe67d68, Event_ActionSucceeded on State_SwapInSender_SendTxBroadcastedMessage
2022/05/30 14:32:56 [DEBUG] [FSM] event:id: e2d5df28e680638875ede8474ffd04c207fb407f2d2fd68a9a427696abe67d68, Event_OnTimeout on State_SwapInSender_AwaitClaimPayment
2022/05/30 15:22:35 [DEBUG] [FSM] event:id: e2d5df28e680638875ede8474ffd04c207fb407f2d2fd68a9a427696abe67d68, Event_OnCsvPassed on State_SwapInSender_AwaitClaimPayment
2022/05/30 15:22:35 [DEBUG] [RedundantSender] stop sending messages of type 42077 to REDACTEDPEER
2022/05/30 15:22:35 [DEBUG] [FSM] event:id: e2d5df28e680638875ede8474ffd04c207fb407f2d2fd68a9a427696abe67d68, Event_ActionSucceeded on State_SwapInSender_ClaimSwapCsv
2022/05/30 15:22:35 [INFO] [Swap:e2d5df28e680638875ede8474ffd04c207fb407f2d2fd68a9a427696abe67d68] Swap claimed by csv cooperatively
Why did CLN PeerSwap crash?
It is unclear whether LND peerswapd oversubscription problem #65 and #66 is wholly unrelated, or it exposed an edge case that led to the CLN peerswap-plugin crash.
My theory is it bogged down the LND node so severely that CLN failed to communicate over the TCP connection eventually leading to this peerswap-plugin crash.
The text was updated successfully, but these errors were encountered:
wtogami
changed the title
CLN: peerswap-plugin crash during requested lbtc swap-in
CLN: rare peerswap-plugin crash during requested lbtc swap-in
Jun 1, 2022
wtogami
changed the title
CLN: rare peerswap-plugin crash during requested lbtc swap-in
CLN: peerswap-plugin crash after self fails to pay swap invoice
Jun 3, 2022
We had a lot of fixes since this, some of which would prevent getting to this state. We haven't seen anything like this in more than a year. Closing for now.
Responder: CLN v0.10.2 peerswap 2833bdb
Requester: LND v0.14.1-beta peerswap 9fb06e1
Sequence of Events
22 min 56 sec
LND requestedswap-in 1000000 <SHORTID> lbtc
.24 min 35 sec
peerswap-plugin
crashes on the CLN side.32 min 56 sec
LND peerswapd goes intoState_SwapInSender_AwaitClaimPayment
after failing to see an incoming LN payment then timing out.1 hour 22 min
CSV timed out so onchain funds reclaimed.CLN peerswap log messages:
CLN peerswap-plugin peerswap-panic-log:
CLN listswaps ending state
LND lnd.log
LND peerswap.log
Why did CLN PeerSwap crash?
It is unclear whether LND peerswapd oversubscription problem #65 and #66 is wholly unrelated, or it exposed an edge case that led to the CLN peerswap-plugin crash.
My theory is it bogged down the LND node so severely that CLN failed to communicate over the TCP connection eventually leading to this
peerswap-plugin
crash.The text was updated successfully, but these errors were encountered: