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

[send_payment] return TemporaryChannelFailure when TlcValueInflightExceedLimit #292

Open
gpBlockchain opened this issue Oct 28, 2024 · 2 comments

Comments

@gpBlockchain
Copy link

When the payment I send causes TlcValueInflightExceedLimit, the error message is TemporaryChannelFailure, making it difficult for users to identify the specific cause of the error.

curl --location 'http://127.0.0.1:8228' --header 'Content-Type: application/json' --data '{
    "id": 42,
    "jsonrpc": "2.0",
    "method": "send_payment",
    "params": [
        {
            "invoice": "fibb500000000001pgxlna32kkmczxzat8almq2r0d3hzsce88zxpa7jh8gs9ktlqklp0hwrxyrd2v9klkhrv4zj0j8acru2p24hzqp29c6xnmlpd9n43zc4nrjhk4e635kxrnaeu3za8fd7gjqswwjw3lm4y53fvlp5lrktyx2geg8km95y6yy0rf97wlfzq55rh6cde3lepwdjmjqukx5qx9rwuuhv2te2pesvhcr6spj8d9cklnkpau7f4wjsdq8zvsm4uylwqdgn74ru297088afj4gu6769pf4rae6dwgssgmvasfgwjuq5tnasr4uudj2pwy555dwusq39n93kvpd8ean2zdw2c9ypckeky5xd635rtm2sywpcy9xgkpxx5a5pahpxlznqhk5zunquv3al8z9m29cgq4gksw7pg5fxvm6lcxmnnsgzfhydkc3sm8gg3smasnw3pjspz3wcp2yp8lrgtpwfkdqhpwfsx057alalwftf6d2eyyfeyj2j5ewdnuk9l47cqjjct76"
        }
    ]
}'
response:
{"jsonrpc": "2.0", "error": {"code": -32000, "message": "Send payment error: Failed to send onion packet with error \"TemporaryChannelFailure\"", "data": {"target_pubkey": null, "amount": null, "payment_hash": null, "final_cltv_delta": null, "invoice": "fibb500000000001pgxlna32kkmczxzat8almq2r0d3hzsce88zxpa7jh8gs9ktlqklp0hwrxyrd2v9klkhrv4zj0j8acru2p24hzqp29c6xnmlpd9n43zc4nrjhk4e635kxrnaeu3za8fd7gjqswwjw3lm4y53fvlp5lrktyx2geg8km95y6yy0rf97wlfzq55rh6cde3lepwdjmjqukx5qx9rwuuhv2te2pesvhcr6spj8d9cklnkpau7f4wjsdq8zvsm4uylwqdgn74ru297088afj4gu6769pf4rae6dwgssgmvasfgwjuq5tnasr4uudj2pwy555dwusq39n93kvpd8ean2zdw2c9ypckeky5xd635rtm2sywpcy9xgkpxx5a5pahpxlznqhk5zunquv3al8z9m29cgq4gksw7pg5fxvm6lcxmnnsgzfhydkc3sm8gg3smasnw3pjspz3wcp2yp8lrgtpwfkdqhpwfsx057alalwftf6d2eyyfeyj2j5ewdnuk9l47cqjjct76", "timeout": null, "max_fee_amount": null, "max_parts": null, "keysend": null, "udt_type_script": null, "allow_self_payment": null}}, "id": 42}




  2024-10-28T03:57:42.844380Z DEBUG fnn::fiber::network: Payment session already exists: PaymentSession { request: SendPaymentData { target_pubkey: Pubkey(PublicKey(8c8f2626c40b5d49d7a2643a2d557b7009956d78b0bd0fb6098f0c96538658a3f96bea71b6393c7f73c0e90f25648e8ce917244784173c58c8a772e7f0d86a11)), amount: 50000000000, payment_hash: Hash256(0x64c92911b0e4266f76b6bc3a3fe6578f80006cc1f1fe2c12b4e8e9964a433a14), invoice: Some("fibb500000000001pgxlna32kkmczxzat8almq2r0d3hzsce88zxpa7jh8gs9ktlqklp0hwrxyrd2v9klkhrv4zj0j8acru2p24hzqp29c6xnmlpd9n43zc4nrjhk4e635kxrnaeu3za8fd7gjqswwjw3lm4y53fvlp5lrktyx2geg8km95y6yy0rf97wlfzq55rh6cde3lepwdjmjqukx5qx9rwuuhv2te2pesvhcr6spj8d9cklnkpau7f4wjsdq8zvsm4uylwqdgn74ru297088afj4gu6769pf4rae6dwgssgmvasfgwjuq5tnasr4uudj2pwy555dwusq39n93kvpd8ean2zdw2c9ypckeky5xd635rtm2sywpcy9xgkpxx5a5pahpxlznqhk5zunquv3al8z9m29cgq4gksw7pg5fxvm6lcxmnnsgzfhydkc3sm8gg3smasnw3pjspz3wcp2yp8lrgtpwfkdqhpwfsx057alalwftf6d2eyyfeyj2j5ewdnuk9l47cqjjct76"), final_cltv_delta: None, timeout: None, max_fee_amount: None, max_parts: None, keysend: false, udt_type_script: Some(Script(0x5500000010000000300000003100000073e5467341b55ffd7bdeb5b6f32aa0e9433baf6808f8c5f2472dbc36b1ab04f7012000000032e555f3ff8e135cece1351a6a2971518392c1e30375c1e006ad0ce8eac07947)), preimage: None, allow_self_payment: false }, retried_times: 5, last_error: Some("Failed to send onion packet with error \"TemporaryChannelFailure\""), try_limit: 5, status: Failed, created_at: 1730087793655, last_updated_at: 1730087793677622, first_hop_channel_outpoint: None, first_hop_tlc_id: None }
    at src/fiber/network.rs:2345
    in ractor::actor::Actor with id: "0.2", name: "Network QmRVAgDZ9HZJnr81fYQFkcbQqoyDuLVovqVWD3Zi8Qtn9e"

  2024-10-28T03:57:42.848094Z  INFO fnn::fiber::graph: build_route source: Pubkey(PublicKey(69c71a3c345301b2e5afbe8ffe89917165ea44711eac3f0fbb49a4ffcfb708fdc7385a3e140ea548705c0b94bd4651496aedc666ec33c5ce9f254bf548f0cbfb)) target: Pubkey(PublicKey(8c8f2626c40b5d49d7a2643a2d557b7009956d78b0bd0fb6098f0c96538658a3f96bea71b6393c7f73c0e90f25648e8ce917244784173c58c8a772e7f0d86a11)) amount: 50000000000, payment_hash: Hash256(0x64c92911b0e4266f76b6bc3a3fe6578f80006cc1f1fe2c12b4e8e9964a433a14)
    at src/fiber/graph.rs:502
    in ractor::actor::Actor with id: "0.2", name: "Network QmRVAgDZ9HZJnr81fYQFkcbQqoyDuLVovqVWD3Zi8Qtn9e"

  2024-10-28T03:57:42.848247Z DEBUG fnn::fiber::graph: probability: 0.5
    at src/fiber/graph.rs:710
    in ractor::actor::Actor with id: "0.2", name: "Network QmRVAgDZ9HZJnr81fYQFkcbQqoyDuLVovqVWD3Zi8Qtn9e"

  2024-10-28T03:57:42.848309Z  INFO fnn::fiber::graph: get_route: nodes visited: 2, edges expanded: 1, time: 93.5µs
    at src/fiber/graph.rs:753
    in ractor::actor::Actor with id: "0.2", name: "Network QmRVAgDZ9HZJnr81fYQFkcbQqoyDuLVovqVWD3Zi8Qtn9e"

  2024-10-28T03:57:42.850316Z DEBUG fnn::fiber::network: Processing onion packet info: PaymentHopData { payment_hash: Hash256(0x64c92911b0e4266f76b6bc3a3fe6578f80006cc1f1fe2c12b4e8e9964a433a14), preimage: None, tlc_hash_algorithm: Sha256, amount: 50000000000, expiry: 0, next_hop: Some(Pubkey(PublicKey(8c8f2626c40b5d49d7a2643a2d557b7009956d78b0bd0fb6098f0c96538658a3f96bea71b6393c7f73c0e90f25648e8ce917244784173c58c8a772e7f0d86a11))), channel_outpoint: Some(OutPoint(0xe7471f8f84cd3b42a65baf05aa294ad09b2dd35c5fc96a4ee4840494cffddbce00000000)) }
    at src/fiber/network.rs:2119
    in ractor::actor::Actor with id: "0.2", name: "Network QmRVAgDZ9HZJnr81fYQFkcbQqoyDuLVovqVWD3Zi8Qtn9e"

  2024-10-28T03:57:42.850461Z DEBUG fnn::fiber::channel: handle add tlc command : AddTlcCommand { amount: 50000000000, preimage: None, payment_hash: Some(Hash256(0x64c92911b0e4266f76b6bc3a3fe6578f80006cc1f1fe2c12b4e8e9964a433a14)), expiry: LockTime(0), hash_algorithm: Sha256, onion_packet: [0, 3, 163, 28, 10, 139, 90, 153, 120, 225, 148, 208, 174, 158, 216, 224, 241, 81, 191, 178, 133, 94, 11, 145, 51, 240, 162, 189, 106, 196, 90, 75, 156, 195, 232, 63, 47, 163, 104, 231, 151, 195, 123, 230, 52, 58, 98, 113, 242, 171, 45, 161, 80, 215, 90, 65, 144, 19, 185, 183, 24, 220, 161, 96, 47, 179, 209, 235, 193, 162, 223, 119, 60, 233, 67, 16, 238, 156, 49, 114, 77, 22, 23, 37, 82, 218, 153, 252, 79, 212, 105, 250, 28, 187, 175, 107, 207, 133, 200, 135, 209, 26, 79, 79, 139, 91, 97, 114, 39, 29, 239, 3, 124, 145, 15, 77, 121, 102, 165, 253, 197, 13, 54, 178, 216, 112, 40, 211, 114, 160, 23, 149, 212, 120, 183, 242, 176, 102, 94, 119, 3, 141, 180, 177, 158, 144, 177, 241, 88, 79, 250, 244, 115, 43, 193, 96, 147, 188, 222, 236, 131, 187, 72, 15, 61, 125, 190, 180, 192, 36, 247, 188, 2, 200, 49, 85, 60, 101, 207, 210, 142, 43, 151, 225, 198, 189, 80, 27, 42, 232, 178, 251, 108, 70, 203, 37, 67, 196, 236, 138, 90, 105, 124, 36, 66, 118, 251, 22, 8, 70, 194, 143, 121, 114, 244, 171, 57, 175, 165, 207, 59, 32, 8, 3, 86, 112, 140, 112, 153, 160, 194, 155, 4, 96, 9, 71, 65, 32, 170, 180, 184, 88, 228, 88, 2, 164, 98, 46, 147, 88, 104, 17, 85, 116, 195, 10, 159, 198, 31, 239, 225, 42, 95, 51, 194, 6, 179, 225, 149, 234, 56, 240, 175, 81, 108, 30, 149, 154, 19, 141, 174, 23, 69, 99, 157, 222, 212, 202, 143, 92, 241, 122, 144, 161, 124, 192, 127, 255, 40, 193, 243, 4, 119, 8, 53, 80, 250, 217, 242, 108, 17, 204, 139, 105, 123, 207, 3, 146, 124, 39, 227, 226, 11, 82, 50, 27, 242, 248, 190, 90, 225, 109, 84, 29, 58, 108, 193, 113, 219, 74, 98, 43, 66, 8, 127, 61, 94, 243, 40, 211, 87, 128, 175, 151, 207, 57, 177, 149, 116, 124, 228, 69, 38, 94, 54, 0, 228, 154, 28, 64, 56, 144, 57, 26, 203, 166, 148, 117, 118, 75, 73, 235, 79, 120, 251, 85, 58, 215, 247, 51, 49, 134, 70, 10, 78, 207, 1, 223, 83, 143, 9, 166, 115, 238, 9, 10, 232, 105, 42, 152, 43, 189, 208, 82, 100, 210, 157, 252, 126, 207, 99, 86, 243, 31, 39, 14, 92, 254, 250, 187, 165, 237, 241, 146, 85, 40, 18, 40, 7, 152, 214, 185, 203, 210, 156, 128, 56, 237, 95, 218, 18, 245, 94, 226, 159, 151, 52, 23, 196, 54, 3, 157, 81, 151, 150, 17, 127, 86, 154, 56, 48, 213, 124, 110, 35, 102, 164, 156, 89, 100, 85, 209, 97, 64, 119, 59, 145, 85, 15, 173, 117, 22, 206, 41, 78, 134, 207, 30, 251, 156, 191, 157, 18, 189, 145, 95, 207, 140, 188, 98, 208, 170, 185, 182, 153, 24, 83, 9, 19, 149, 241, 63, 237, 102, 97, 213, 178, 231, 114, 242, 167, 157, 29, 63, 231, 198, 123, 82, 104, 186, 90, 45, 233, 80, 110, 63, 52, 53, 181, 22, 73, 18, 52, 33, 2, 61, 147, 110, 11, 151, 185, 214, 72, 102, 243, 23, 243, 180, 32, 247, 109, 120, 186, 186, 76, 0, 190, 147, 222, 115, 165, 203, 132, 190, 34, 224, 55, 120, 14, 240, 158, 44, 165, 8, 200, 0, 149, 72, 71, 90, 190, 13, 137, 196, 96, 165, 83, 173, 253, 36, 159, 89, 7, 202, 129, 62, 239, 206, 252, 143, 172, 252, 47, 22, 220, 136, 237, 59, 242, 74, 148, 249, 230, 10, 182, 189, 131, 81, 24, 66, 69, 138, 9, 48, 64, 30, 126, 227, 130, 27, 109, 248, 140, 58, 55, 138, 40, 109, 45, 104, 221, 49, 6, 65, 252, 110, 28, 75, 13, 195, 160, 227, 165, 187, 112, 187, 210, 198, 252, 18, 13, 221, 81, 255, 87, 126, 76, 89, 169, 69, 24, 15, 61, 123, 228, 207, 178, 222, 59, 29, 211, 246, 106, 29, 211, 177, 36, 219, 41, 116, 228, 110, 208, 181, 205, 250, 183, 33, 47, 227, 97, 40, 120, 203, 102, 69, 171, 69, 79, 201, 229, 126, 201, 239, 67, 152, 180, 76, 211, 99, 5, 160, 79, 165, 95, 209, 139, 156, 123, 37, 31, 86, 71, 242, 167, 108, 158, 85, 117, 13, 176, 187, 153, 181, 20, 210, 22, 138, 154, 28, 84, 146, 151, 15, 102, 106, 150, 43, 35, 179, 195, 125, 12, 146, 65, 224, 216, 72, 57, 100, 235, 156, 65, 35, 219, 135, 5, 71, 15, 253, 61, 127, 248, 51, 145, 178, 106, 94, 76, 90, 13, 185, 234, 239, 10, 52, 104, 223, 211, 35, 4, 163, 62, 197, 40, 240, 113, 75, 30, 39, 163, 128, 112, 203, 52, 67, 9, 28, 191, 179, 144, 195, 152, 192, 186, 210, 40, 102, 10, 244, 247, 227, 224, 241, 180, 64, 153, 254, 15, 150, 15, 126, 38, 219, 67, 144, 135, 48, 49, 27, 19, 154, 92, 107, 43, 33, 41, 137, 0, 62, 124, 158, 88, 163, 1, 1, 195, 18, 98, 132, 51, 111, 77, 138, 163, 196, 163, 253, 103, 150, 39, 72, 93, 102, 164, 118, 15, 41, 242, 15, 99, 251, 154, 187, 183, 92, 39, 233, 232, 206, 5, 153, 216, 39, 196, 233, 123, 189, 206, 2, 58, 136, 141, 112, 81, 144, 136, 46, 157, 230, 31, 60, 242, 29, 200, 97, 13, 11, 201, 19, 11, 85, 208, 84, 127, 77, 93, 53, 166, 198, 242, 152, 203, 99, 70, 47, 232, 120, 158, 214, 202, 125, 254, 171, 109, 226, 242, 136, 145, 15, 238, 76, 1, 105, 9, 41, 182, 168, 171, 229, 202, 8, 181, 65, 36, 169, 46, 23, 227, 51, 36, 255, 134, 253, 252, 197, 75, 13, 223, 251, 62, 153, 0, 171, 119, 12, 55, 166, 47, 73, 115, 247, 120, 197, 35, 231, 159, 172, 181, 194, 37, 52, 120, 225, 146, 22, 246, 241, 52, 66, 231, 76, 12, 200, 196, 7, 72, 10, 190, 221, 194, 6, 240, 127, 187, 100, 84, 234, 73, 229, 80, 193, 113, 173, 195, 234, 238, 136, 4, 228, 12, 4, 86, 155, 122, 145, 37, 47, 94, 70, 70, 6, 103, 194, 76, 231, 190, 172, 136, 45, 142, 48, 75, 4, 173, 192, 36, 207, 160, 31, 147, 204, 145, 121, 208, 182, 20, 93, 41, 79, 132, 224, 148, 238, 165, 36, 113, 212, 168, 222, 58, 185, 7, 95, 121, 37, 46, 187, 132, 1, 167, 138, 247, 60, 128, 151, 117, 234, 201, 78, 213, 133, 162, 122, 64, 156, 191, 27, 224, 208, 108, 184, 173, 165, 99, 12, 166, 44, 108, 111, 62, 36, 166, 89, 106, 119, 153, 217, 27, 44, 118, 189, 23, 77, 121, 162, 175, 2, 39, 200, 226, 73, 110, 209, 36, 28, 140, 11, 58, 65, 3, 157, 97, 187, 243, 14, 229, 154, 97, 232, 122, 151, 178, 61, 118, 107, 228, 71, 102, 70, 248, 167, 152, 224, 132, 146, 219, 132, 142, 83, 173, 208, 83, 112, 208, 58, 84, 171, 51, 124, 220, 86, 166, 250, 16, 237, 6, 139, 216, 21, 92, 119, 183, 226, 104, 180, 128, 81, 249, 93, 230, 24, 216, 107, 126, 124, 93, 49, 174, 101, 117, 111, 127, 206, 144, 39, 98, 237, 247, 242, 122, 125, 177, 219, 82, 139, 18, 112, 0, 148, 48, 142, 207, 23, 76, 63, 217, 144, 43, 96, 229, 112, 61, 200, 63, 71, 109, 82, 251, 136, 38, 143, 230, 171, 148, 186, 253, 80, 49, 184, 186, 4, 147, 225, 187, 89, 105, 161, 83, 234, 162, 120, 224, 175, 25, 216, 248, 180, 176, 227, 15, 4, 46, 148, 21, 69, 76, 27, 182, 225, 46, 231, 188, 47, 118, 138, 227, 18, 246, 109, 206, 216, 146, 213, 165, 66, 31, 159, 57, 185, 131, 223, 150, 118, 89, 180], previous_tlc: None }
    at src/fiber/channel.rs:1048
    in ractor::actor::Actor with id: "0.5", name: "Channel-0 QmRVAgDZ9HZJnr81fYQFkcbQqoyDuLVovqVWD3Zi8Qtn9e <-> QmPDDQv1BNTq2Jx4Jdnf7p3so4xPQ8MmTvsEH6w8MyjPnZ"

  2024-10-28T03:57:42.850638Z DEBUG fnn::fiber::channel: Funding transaction lock args: Bytes(0x140000008dec59240f9fb102975c8f6e90b30314c20bd114)
    at src/fiber/channel.rs:3582
    in ractor::actor::Actor with id: "0.5", name: "Channel-0 QmRVAgDZ9HZJnr81fYQFkcbQqoyDuLVovqVWD3Zi8Qtn9e <-> QmPDDQv1BNTq2Jx4Jdnf7p3so4xPQ8MmTvsEH6w8MyjPnZ"

  2024-10-28T03:57:42.850732Z ERROR fnn::fiber::channel: Error while processing channel command: TlcValueInflightExceedLimit
    at src/fiber/channel.rs:1811
    in ractor::actor::Actor with id: "0.5", name: "Channel-0 QmRVAgDZ9HZJnr81fYQFkcbQqoyDuLVovqVWD3Zi8Qtn9e <-> QmPDDQv1BNTq2Jx4Jdnf7p3so4xPQ8MmTvsEH6w8MyjPnZ"

  2024-10-28T03:57:42.851555Z ERROR fnn::fiber::network: Failed to send onion packet with error: TlcErrPacket { onion_packet: [123, 10, 32, 32, 34, 101, 114, 114, 111, 114, 95, 99, 111, 100, 101, 34, 58, 32, 34, 84, 101, 109, 112, 111, 114, 97, 114, 121, 67, 104, 97, 110, 110, 101, 108, 70, 97, 105, 108, 117, 114, 101, 34, 44, 10, 32, 32, 34, 101, 120, 116, 114, 97, 95, 100, 97, 116, 97, 34, 58, 32, 123, 10, 32, 32, 32, 32, 34, 67, 104, 97, 110, 110, 101, 108, 70, 97, 105, 108, 101, 100, 34, 58, 32, 123, 10, 32, 32, 32, 32, 32, 32, 34, 99, 104, 97, 110, 110, 101, 108, 95, 111, 117, 116, 112, 111, 105, 110, 116, 34, 58, 32, 34, 48, 120, 101, 55, 52, 55, 49, 102, 56, 102, 56, 52, 99, 100, 51, 98, 52, 50, 97, 54, 53, 98, 97, 102, 48, 53, 97, 97, 50, 57, 52, 97, 100, 48, 57, 98, 50, 100, 100, 51, 53, 99, 53, 102, 99, 57, 54, 97, 52, 101, 101, 52, 56, 52, 48, 52, 57, 52, 99, 102, 102, 100, 100, 98, 99, 101, 48, 48, 48, 48, 48, 48, 48, 48, 34, 44, 10, 32, 32, 32, 32, 32, 32, 34, 99, 104, 97, 110, 110, 101, 108, 95, 117, 112, 100, 97, 116, 101, 34, 58, 32, 123, 10, 32, 32, 32, 32, 32, 32, 32, 32, 34, 115, 105, 103, 110, 97, 116, 117, 114, 101, 34, 58, 32, 34, 51, 48, 52, 53, 48, 50, 50, 49, 48, 48, 102, 100, 50, 99, 101, 51, 54, 51, 57, 102, 97, 49, 97, 54, 49, 49, 50, 50, 101, 56, 101, 52, 101, 49, 50, 54, 53, 51, 51, 57, 101, 97, 54, 52, 52, 53, 102, 53, 49, 48, 56, 53, 50, 55, 50, 99, 55, 57, 48, 99, 57, 51, 56, 54, 100, 52, 101, 50, 99, 48, 99, 98, 55, 50, 48, 50, 50, 48, 50, 99, 53, 50, 100, 56, 101, 52, 48, 57, 50, 101, 49, 101, 54, 51, 53, 101, 100, 97, 52, 56, 101, 99, 101, 51, 52, 50, 98, 55, 49, 97, 57, 99, 55, 57, 57, 49, 56, 50, 48, 98, 50, 100, 101, 97, 99, 48, 50, 53, 53, 98, 57, 97, 53, 55, 102, 102, 57, 99, 52, 57, 99, 101, 34, 44, 10, 32, 32, 32, 32, 32, 32, 32, 32, 34, 99, 104, 97, 105, 110, 95, 104, 97, 115, 104, 34, 58, 32, 34, 48, 120, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 34, 44, 10, 32, 32, 32, 32, 32, 32, 32, 32, 34, 99, 104, 97, 110, 110, 101, 108, 95, 111, 117, 116, 112, 111, 105, 110, 116, 34, 58, 32, 34, 48, 120, 101, 55, 52, 55, 49, 102, 56, 102, 56, 52, 99, 100, 51, 98, 52, 50, 97, 54, 53, 98, 97, 102, 48, 53, 97, 97, 50, 57, 52, 97, 100, 48, 57, 98, 50, 100, 100, 51, 53, 99, 53, 102, 99, 57, 54, 97, 52, 101, 101, 52, 56, 52, 48, 52, 57, 52, 99, 102, 102, 100, 100, 98, 99, 101, 48, 48, 48, 48, 48, 48, 48, 48, 34, 44, 10, 32, 32, 32, 32, 32, 32, 32, 32, 34, 118, 101, 114, 115, 105, 111, 110, 34, 58, 32, 49, 55, 51, 48, 48, 56, 55, 55, 56, 55, 44, 10, 32, 32, 32, 32, 32, 32, 32, 32, 34, 109, 101, 115, 115, 97, 103, 101, 95, 102, 108, 97, 103, 115, 34, 58, 32, 49, 44, 10, 32, 32, 32, 32, 32, 32, 32, 32, 34, 99, 104, 97, 110, 110, 101, 108, 95, 102, 108, 97, 103, 115, 34, 58, 32, 48, 44, 10, 32, 32, 32, 32, 32, 32, 32, 32, 34, 116, 108, 99, 95, 108, 111, 99, 107, 116, 105, 109, 101, 95, 101, 120, 112, 105, 114, 121, 95, 100, 101, 108, 116, 97, 34, 58, 32, 56, 54, 52, 48, 48, 44, 10, 32, 32, 32, 32, 32, 32, 32, 32, 34, 116, 108, 99, 95, 109, 105, 110, 105, 109, 117, 109, 95, 118, 97, 108, 117, 101, 34, 58, 32, 48, 44, 10, 32, 32, 32, 32, 32, 32, 32, 32, 34, 116, 108, 99, 95, 109, 97, 120, 105, 109, 117, 109, 95, 118, 97, 108, 117, 101, 34, 58, 32, 48, 44, 10, 32, 32, 32, 32, 32, 32, 32, 32, 34, 116, 108, 99, 95, 102, 101, 101, 95, 112, 114, 111, 112, 111, 114, 116, 105, 111, 110, 97, 108, 95, 109, 105, 108, 108, 105, 111, 110, 116, 104, 115, 34, 58, 32, 49, 48, 48, 48, 10, 32, 32, 32, 32, 32, 32, 125, 10, 32, 32, 32, 32, 125, 10, 32, 32, 125, 10, 125] }
@chenyukang
Copy link
Collaborator

I'm not sure whether we should fix it.

The error code is implemented with reference of BOLTS: https://github.com/lightning/bolts/blob/master/04-onion-routing.md#returning-errors

We need to get a balance between privacy and convenience of identifying the specific cause of the error.

@sunchengzhu
Copy link

sunchengzhu commented Oct 28, 2024

I have the same confusion. I focused only on the error message returned by the send_payment RPC and overlooked the node logs, which made it take me a long time to pinpoint the cause of the error.

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

3 participants