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

未关闭
#751 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
20/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
rust

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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?

主要语言
Rust
星标
148
派生
49
平均合并
4 天 5 小时
30 天内合并 PR
9

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Blockstream/greenlight 的其他 Issue

查看 Blockstream/greenlight 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。