testnet3: `node pay` returns "no response from lightningd" about 1 s after the signer approves the invoice

Open
#751 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
rust

Research direction

Start with the hosted lightningd/xpay logs for payer n1 (020e1337…) at 2026-10-11 07:23:44Z and trace why Xpay returned no response after the signer approved the invoice. The issue provides a reproducible glcli node pay failure and signer log excerpt, but resolving it depends on hosted logs that are not included here; done means identifying and explaining the cause.

Written by the indexing model from the issue text.

Description

Context: Greenlight backend for Alby Hub (https://gist.github.com/welliv/cf1f9b22a3b9047e5a31f6dc4cc2de24). The same Xpay path settles on the gl-testing regtest bench with lightningd v26.06gl1.

Client: glcli 0.1.3 and gl-client built from main @ 15b22cf0, with a developer certificate.

Nodes (testnet3, lightningd v26.06gl1)

  • Payer n1 (SLIMYYARD-v26.06gl1): 020e133789ddda160bd33b906071e90a979598b4897b3df995bae4b3ea0d1a1000
  • Payee n2 (ODDARK-v26.06gl1): 0296977117184a7bb9f5cd7a9a0c5244e26b140a1a2ba2d1b96b17c013163462a7
  • Each node has 1 active public channel (ChanneldNormal) to faucet 039e7672… with about 100k sat local. Peers are connected. getinfo and invoice creation work on both.

Repro

  1. On n2: glcli -n testnet node invoice … (10,000 sat) → OK
  2. On n1: glcli -n testnet node pay <lntb100u1p4vkwtl…>
  3. Result: Error calling method Xpay: RpcError { code: None, message: "no response from lightningd", data: None }. glcli exits 0.
  4. listpays on n1 shows no new attempt.

Timeline (2026-10-11, UTC)

Time Attempt Result
06:16:12 n1 → n2 "no response from lightningd"
06:17:12 n1 → n2 same
06:17:21 n2 → n1 same
07:23:44 n1 → n2, 10,000 sat same; signer excerpt below

Signer excerpt (n1, invoice string truncated)

[2026-10-11T07:23:44Z DEBUG gl_client::signer] Handling message PreapproveInvoice(PreapproveInvoice { invstring: "lntb100u1p4vkwtl…" })
[2026-10-11T07:23:44Z INFO  lightning_signer::node] 020e adding invoice 88ae157341d2ba063f666839286e86e24aaa1ef098db92cd3558bbc03107ca78 -> 10000000
[2026-10-11T07:23:45Z WARN  gl_client::signer] Error running against node: connection to node lost: status: Unknown, message: "h2 protocol error: error reading a body from connection: peer closed connection without sending TLS close_notify…"

What we ruled out

  • The signer policy. VLS approved the invoice, and there is no policy error in the log.
  • The hub. Bare glcli node pay reproduces it.
  • A missing signer. That gives alert 223. Here getinfo works before and after.
  • Private channels. Both channels are public.

The string matches cln-rpc's error when the JSON-RPC stream closes with no response. So it looks like lightningd or the xpay call ended on the hosted side. We can't confirm that without your logs.

Question

Can you check the hosted lightningd/xpay logs for n1 (020e1337…) at 2026-10-11 07:23:44Z and tell us why Xpay returned no response?

Dominant language
Rust
Stars
148
Forks
49
Avg merge
4d 5h
Merged PRs (30d)
9

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Blockstream/greenlight

All issues in Blockstream/greenlight

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.