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] send payment to the restarted node still results in the error: "no path found." #464

Open
gpBlockchain opened this issue Jan 10, 2025 · 0 comments

Comments

@gpBlockchain
Copy link
Contributor

gpBlockchain commented Jan 10, 2025

commit: 096a739
channel
node1-node2-node3-node4

  1. node1.send payment (node4) -> success
  2. node3.stop()
  3. node1.send payment (node4) -> failed
  4. node3.start()
  5. sleep(10)
  6. node1.send payment (node4) -> failed
    expected node1.send payment (node4)-> success
curl --location 'http://127.0.0.1:8228' --header 'Content-Type: application/json' --data '{
    "id": 42,
    "jsonrpc": "2.0",
    "method": "send_payment",
    "params": [
        {
            "target_pubkey": "03282cceee7659cd4e5b6f5390721fb88b5a29e9895387b168b816c4d2e889ce4f",
            "amount": "0x3b9aca00",
            "keysend": true
        }
    ]
}'
2025-01-10 11:21:36 [connectionpool.py:243][DEBUG] Starting new HTTP connection (1): 127.0.0.1:8228
2025-01-10 11:21:36 [connectionpool.py:546][DEBUG] http://127.0.0.1:8228 "POST / HTTP/11" 200 489
2025-01-10 11:21:36 [fiber_rpc.py:212][DEBUG] response:
{"jsonrpc": "2.0", "error": {"code": -32000, "message": "Send payment error: Failed to build route, PathFind error: no path found", "data": {"target_pubkey": "03282cceee7659cd4e5b6f5390721fb88b5a29e9895387b168b816c4d2e889ce4f", "amount": "0x3b9aca00", "payment_hash": null, "final_tlc_expiry_delta": null, "tlc_expiry_limit": null, "invoice": null, "timeout": null, "max_fee_amount": null, "max_parts": null, "keysend": true, "udt_type_script": null, "allow_self_payment": null, "hop_hints": null, "dry_run": null}}, "id": 42}
FAILED

log
node.log

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

1 participant