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

payment fails #41

Open
vincenzopalazzo opened this issue Aug 29, 2024 · 4 comments
Open

payment fails #41

vincenzopalazzo opened this issue Aug 29, 2024 · 4 comments

Comments

@vincenzopalazzo
Copy link
Collaborator

➜  barq git:(ldk_gossip) ✗ clightning --testnet -k barqpay bolt11_invoice=lntb10n1pndqa76sp5hzqyqgljtd6cv2fzgnfwz050v00a69564axg83ztjczkkafqamuqpp577pgggu58vnc0y7v9kdgfs6pu44545w66wfdtdwnsmat6avuy80sdq5w3jhxarfdenjqcnpwfcsxqyjw5qcqp2rzjqgjmhs48xsve8n2e94ascxzmhrrrt8xpm5fn096ud4qn2nj8qwlkg27skgqqqvqqqcqqqp5eqqqqqqsqqc9qxpqysgqdd9twj93z6umjdau7dxdn3f6ts5qnkxy024uqr75dvfa59az8asz4mu5pk939t5u8tvxgzsfr7n0ym7qj8uzwm58c39679jgxc7n3ecq8mkune
{
   "code": -1,
   "data": null,
   "message": "Error calling waitsendpay method: RPC error response: RpcError { code: 204, message: \"failed: WIRE_UNKNOWN_NEXT_PEER (reply from remote)\", data: Some(Object {\"amount_msat\": Number(1000), \"amount_sent_msat\": Number(1000), \"created_at\": Number(1724941623), \"created_index\": Number(1386), \"destination\": String(\"030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6\"), \"erring_channel\": String(\"8581936x4942974x36632\"), \"erring_direction\": Number(0), \"erring_index\": Number(1), \"erring_node\": String(\"030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6\"), \"failcode\": Number(16394), \"failcodename\": String(\"WIRE_UNKNOWN_NEXT_PEER\"), \"groupid\": Number(3), \"id\": Number(1386), \"payment_hash\": String(\"f7828423943b278793cc2d9a84c341e56b4ad1dad392d5b5d386fabd759c21df\"), \"raw_message\": String(\"400a\"), \"status\": String(\"pending\")}) }"
}
➜  barq git:(ldk_gossip) ✗ lightning-cli --signet decode bolt11_invoice=lntb50u1pndqu3hpp59xyrjmzd5ex4chtzxjxy34hdcy7xp28s5dt3nrry938vu679sm0scqpjsp5emhwqpsecukuzj3vtfdwxe2pn8c8jy44r8rtjrm27p5je8606uaq9q7sqqqqqqqqqqqqqqqqqqqsqqqqqysgqdp8xys9xcmpd3sjqsmgd9czq3njv9c8qatrvd5kumcmqz9grzjqwfn3p9278ttzzpe0e00uhyxhned3j5d9acqak5emwfpflp8z2cnfl6h8msfh3505gqqqqlgqqqqqeqqjqdzzj3nvdthghanhu24z9a0nj32azpr56ch37l0z6cjty3dj2gx4k84l0zq58cu3elx3hxc3d7tfxpvd4hxzrvllqjml50ylplag2pnqp5e5g2r
➜  barq git:(ldk_gossip) ✗ clightning --testnet pay lntb10n1pndqa76sp5hzqyqgljtd6cv2fzgnfwz050v00a69564axg83ztjczkkafqamuqpp577pgggu58vnc0y7v9kdgfs6pu44545w66wfdtdwnsmat6avuy80sdq5w3jhxarfdenjqcnpwfcsxqyjw5qcqp2rzjqgjmhs48xsve8n2e94ascxzmhrrrt8xpm5fn096ud4qn2nj8qwlkg27skgqqqvqqqcqqqp5eqqqqqqsqqc9qxpqysgqdd9twj93z6umjdau7dxdn3f6ts5qnkxy024uqr75dvfa59az8asz4mu5pk939t5u8tvxgzsfr7n0ym7qj8uzwm58c39679jgxc7n3ecq8mkune
{
   "destination": "030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6",
   "payment_hash": "f7828423943b278793cc2d9a84c341e56b4ad1dad392d5b5d386fabd759c21df",
   "created_at": 1724941639.051045565,
   "parts": 1,
   "amount_msat": 1000,
   "amount_sent_msat": 1000,
   "payment_preimage": "4b876a526a7f7ccce8f447d4f99361771ace8f302ff9dc02976ab15c34be623b",
   "status": "complete"
}
@vincenzopalazzo
Copy link
Collaborator Author

with #44 now I get

➜  barq git:(macros/bug-fixing-direct) clightning --testnet -k barqpay bolt11_invoice=lntb10n1pndpggfsp5sj5zv0espgf2yppax9ne4e0806lwc0n80a673qgd6jwa9g8m4pkspp5ky5x2gkwclr8vzdlpt2hyhx43yhyl8cxw7adzhcdzzkze0qsqhusdq5w3jhxarfdenjqcnpwfcsxqyjw5qcqp2rzjqwyx8nu2hygyvgc02cwdtvuxe0lcxz06qt3lpsldzcdr46my5epmjf5e7uqqqpgqqqqqqqlgqqqqqqgq2q9qxpqysgqsty2zu6hqvl4zfjt40ss0zscjj64s2lpv9a6tqjg5famljcfjylnmcvgmnjeetzuews34lchfhlnmtuycf4f2ls5kzhraws5wglvm5sqr2xuh6
{
   "code": 203,
   "data": {
      "amount_msat": 2242,
      "amount_sent_msat": 2242,
      "created_at": 1724951874,
      "created_index": 1411,
      "destination": "030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6",
      "erring_channel": "2427540x16x0",
      "erring_direction": 1,
      "erring_index": 1,
      "erring_node": "030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6",
      "failcode": 16399,
      "failcodename": "WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS",
      "groupid": 9,
      "id": 1411,
      "payment_hash": "b1286522cec7c67609bf0ad5725cd5892e4f9f0677bad15f0d10ac2cbc1005f9",
      "raw_message": "400f00000000000008c2002c45a6",
      "status": "pending"
   },
   "message": "failed: WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS (reply from remote)"
}

@raehat
Copy link
Collaborator

raehat commented Aug 29, 2024

This is likely caused because routing algorithm produces invalid route, I came across this issue many times during development. I'll also try to make payment with testnet and see for myself.

@vincenzopalazzo
Copy link
Collaborator Author

@raehat ping me that I will give access to my node

@raehat
Copy link
Collaborator

raehat commented Aug 30, 2024

@raehat ping me that I will give access to my node

Yes please give me access, thanks

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

2 participants