Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

lightning-charge not answering

Đang mở
#89 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
docker, javascript
Lĩnh vực
api, backend, devops

Hướng nghiên cứu

Bắt đầu với lệnh Docker được cung cấp, đầu ra của container và yêu cầu curl tới /info; kiểm tra xem lightning-charge có thể truy cập socket RPC lightningd đã được mount hay không và cổng 9112 có đang phục vụ hay không. Không có tệp mã nguồn hoặc bài kiểm thử nào được nêu tên. Công việc được xem là hoàn tất khi xác định được lỗi tương thích hoặc cấu hình và ghi lại một thiết lập hoạt động được hỗ trợ hoặc một phương án thay thế đã được xác nhận.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I am trying to revive some installation of nanotip.
My btc node is up and running (for years now),actual version and fully synced not pruned. It's running in a container and bitcoin-cli accessed it by a symlink opening a tempory container. works smoothly for years.

Same for the clightning-node- which is on top of BTC up and running. Actually with screen on the same machine a but synced.

Nanotip I also run via screen. it's easier to see what's going on if I reach the frontend, which is served by nginx configured as reverse proxy and equipped with some certs.

Once upon a time (2-3 years ago) it worked fine. today it is broken.

Probably because lightning-charge is not running. I cannot use nodejs because of several issues and downgrading to 7.6 is directly leading into the seventh circle of hell -- dependency hell. purgatory included for free. on the other hand starting the lightning-charge container works with

docker run -it -u 'id -u' -v 'pwd'/data:/data -v /scratch/bitcoin/mainnet/clightning:/etc/lightning -v /scratch/bitcoin/mainnet/bitcoind:/etc/bitcoin -p 9735:9735 -p 9112:9112 shesek/lightning-charge --api-token MYSUPERSECRETTOEKNALSOUSEDWITHNANOTIP

starting the container gives me the output:
`Using lightningd directory mounted in /etc/lightning... waiting for RPC unix socket...

And that it was. If I give the frontend a visit and start request, I can the it is processed by nanotip, but nanotip is not able to handle it to lightning-charge. I guess not correctly working with the actuall lightning-node. the lightning node itself I can easily reach the lightning-cli. it is responsive.

but

CHARGE=http://api-token:MYSUPERSECRETTOEKNALSOUSEDWITHNANOTIP@localhost:9112
curl $CHARGE/info

gives me
curl: (56) Recv failure: Connection reset by peer

Any ideas?
Is lightning-charge anyway outdated and should not be implemented anymore?
Is there a better entitiy which could serve a a connector between nanotip and clighting?

Ngôn ngữ chính
JavaScript
Star
558
Fork
83
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ElementsProject/lightning-charge

Tất cả issue của ElementsProject/lightning-charge

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.