Giter Club home page Giter Club logo

c-lightning-pruning-plugin's People

Contributors

dr-bonez avatar jamesstork avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

c-lightning-pruning-plugin's Issues

Error on launch

After following install instructions from source and running lightning I get two errors:

INFO plugin-c-lightning-pruning-plugin: Killing plugin: Plugin exited before completing handshake.
Error: reqwest::Error { kind: Builder, source: "unknown proxy scheme" }

[bug]: ErrorMessage { msg: "bcli info not found" }

Prerequisites

  • I have searched for existing issues that already report this problem.

Device

Laptop/Desktop

Device OS

Linux

Device OS Version

Ubuntu 18.04

Browser

Chrome

Browser Version

86.0.4240.183

Current Behavior

After installing the plugin from source using the instructions and restarting lightningd, I receive the following error.

ErrorMessage { msg: "bcli info not found" }

This is the lightning.log

2023-01-05T15:55:20.581Z DEBUG plugin-manager: started(21723) /usr/local/libexec/c-lightning/plugins/autoclean
2023-01-05T15:55:20.766Z DEBUG plugin-manager: started(21725) /usr/local/libexec/c-lightning/plugins/chanbackup
2023-01-05T15:55:20.859Z DEBUG plugin-manager: started(21727) /usr/local/libexec/c-lightning/plugins/bcli
2023-01-05T15:55:20.949Z DEBUG plugin-manager: started(21732) /usr/local/libexec/c-lightning/plugins/commando
2023-01-05T15:55:21.029Z DEBUG plugin-manager: started(21733) /usr/local/libexec/c-lightning/plugins/fetchinvoice
2023-01-05T15:55:21.090Z DEBUG plugin-manager: started(21734) /usr/local/libexec/c-lightning/plugins/funder
2023-01-05T15:55:21.174Z DEBUG plugin-manager: started(21735) /usr/local/libexec/c-lightning/plugins/topology
2023-01-05T15:55:21.248Z DEBUG plugin-manager: started(21736) /usr/local/libexec/c-lightning/plugins/keysend
2023-01-05T15:55:21.291Z DEBUG plugin-manager: started(21737) /usr/local/libexec/c-lightning/plugins/offers
2023-01-05T15:55:21.343Z DEBUG plugin-manager: started(21738) /usr/local/libexec/c-lightning/plugins/pay
2023-01-05T15:55:21.417Z DEBUG plugin-manager: started(21739) /usr/local/libexec/c-lightning/plugins/txprepare
2023-01-05T15:55:21.500Z DEBUG plugin-manager: started(21740) /usr/local/libexec/c-lightning/plugins/spenderp
2023-01-05T15:55:21.558Z DEBUG plugin-manager: started(21742) /usr/local/libexec/c-lightning/plugins/cln-grpc
2023-01-05T15:55:21.630Z DEBUG plugin-manager: started(21743) /usr/local/libexec/c-lightning/plugins/bookkeeper
2023-01-05T15:55:21.706Z DEBUG plugin-manager: started(21747) /home/xxx/.lightning/plugins/c-lightning-http-plugin/target/release/c-lightning-http-plugin
2023-01-05T15:55:21.770Z DEBUG plugin-manager: started(21759) /home/xxx/.lightning/plugins/c-lightning-pruning-plugin/target/release/c-lightning-pruning-plugin
2023-01-05T15:55:22.254Z INFO connectd: Static Tor service onion address: "xxx.onion:xxx,127.0.0.1:xxx" bound from extern port xxx
2023-01-05T15:55:22.330Z INFO plugin-bcli: bitcoin-cli initialized and connected to bitcoind.
2023-01-05T15:55:22.589Z DEBUG plugin-bookkeeper: Setting up database at sqlite3://accounts.sqlite3
2023-01-05T15:55:22.596Z DEBUG plugin-chanbackup: Chanbackup Initialised!
2023-01-05T15:55:22.605Z INFO lightningd: --------------------------------------------------
2023-01-05T15:55:22.606Z INFO lightningd: Server started with public key xxx, alias xxx and lightningd v22.11.1-modded
2023-01-05T15:55:22.615Z INFO plugin-c-lightning-pruning-plugin: Killing plugin: exited during normal operation
2023-01-05T15:55:25.402Z DEBUG plugin-bookkeeper: account wallet has balance 0msat

This is my lightning config

alias=xxx
network=testnet
log-file=/home/xxx/.lightning/lightning.log
log-level=debug:plugin
http-pass=xxx
http-bind=127.0.0.1:1312
proxy=127.0.0.1:9050
bind-addr=127.0.0.1:9735
addr=statictor:127.0.0.1:9051
always-use-proxy=true
grpc-port=8001
bitcoin-datadir=/home/xxx/.bitcoin
bitcoin-rpcconnect=127.0.0.1
bitcoin-rpcuser=xxx
bitcoin-rpcpassword=xxx
bitcoin-rpcport=18332
plugin=/home/xxx/.lightning/plugins/c-lightning-http-plugin/target/release/c-lightning-http-plugin
plugin=/home/xxx/.lightning/plugins/c-lightning-pruning-plugin/target/release/c-lightning-pruning-plugin

Expected Behavior

Since the bcli plugin has clearly loaded and initialized correctly from the logs, I wouldn't expect the c-lightning-pruning-plugin to throw a bcli error.

Steps to Reproduce

See above

Anything else?

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.