Git Product home page Git Product logo

Comments (6)

andybellenie avatar andybellenie commented on August 25, 2024

Is there a way to export the log? Or access it on disk? (on OSX)

from lightning-app.

andybellenie avatar andybellenie commented on August 25, 2024

Example from my log:

lnd: 2017-10-12 22:53:03.792 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-12 22:53:22.308 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-12 22:53:34.654 [INF] BTCN: Processed 2000 blocks in the last 36.93s (height 186547, 2014-02-19 20:26:58 +0000 GMT)
lnd: 2017-10-12 22:53:44.217 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-12 22:54:06.150 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-12 22:54:22.623 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-12 22:54:44.467 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-12 22:55:06.318 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-12 22:55:11.918 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-12 22:55:11.919 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-12 22:55:22.691 [INF] RPCS: [listchannels] fetched 0 channels from DB

from lightning-app.

Roasbeef avatar Roasbeef commented on August 25, 2024

If you have a local fully synced btcd node then it will favor syncing from that. The application atm will attempt to connect out to a cluster of nodes we're running behind a load balancer, which admittedly isn't beefy enough to handle the current in bound traffic.

I'm working on switching over the infra to a temporary set up to handle the load. The hard coded sync nodes are a temporary measure until we finalize the new syncing mode for Bitcoin that the backend of the application depends on. At that point, it'll be able to simply connect out to the greater network, finding peers that are compatible with it as for normal operation.

from lightning-app.

andybellenie avatar andybellenie commented on August 25, 2024

I'm got a fully synced testnet node running locally and lightning is connecting but not getting blocks. Here is my startup log:

lnd: 2017-10-13 09:35:49.426 [WRN] LTND: open ../lnd.conf: no such file or directory 2017-10-13 09:35:49.428 [INF] LTND: Version 0.3.0-alpha 2017-10-13 09:35:49.441 [INF] CHDB: Checking for schema update: latest_version=0, db_version=0 2017-10-13 09:35:49.441 [INF] LTND: Primary chain is set to: bitcoin
lnd: 2017-10-13 09:35:49.545 [INF] BTCN: Loaded 1791 addresses from file '/Users/andybellenie/Library/Application Support/Lnd/data/testnet3/bitcoin/peers.json'
lnd: 2017-10-13 09:35:49.548 [INF] BTCN: Disconnecting peer 127.0.0.1:18333 (outbound), cannot serve compact filters
lnd: 2017-10-13 09:35:49.548 [INF] BTCN: Lost peer 127.0.0.1:18333 (outbound)
lnd: 2017-10-13 09:35:49.578 [INF] CMGR: 3 addresses found from DNS seed testnet-seed.bluematt.me
lnd: 2017-10-13 09:35:49.665 [INF] CMGR: DNS discovery failed on seed x19.testnet-seed.bitcoin.jonasschnelli.ch: lookup x19.testnet-seed.bitcoin.jonasschnelli.ch: no such host
lnd: 2017-10-13 09:35:49.714 [INF] CMGR: 50 addresses found from DNS seed testnet-seed.bitcoin.schildbach.de
lnd: 2017-10-13 09:35:50.239 [INF] CMGR: DNS discovery failed on seed x19.seed.tbtc.petertodd.org: lookup x19.seed.tbtc.petertodd.org: no such host
lnd: 2017-10-13 09:35:50.554 [INF] LNWL: Opened wallet
lnd: 2017-10-13 09:35:49.426 [WRN] LTND: open ../lnd.conf: no such file or directory 2017-10-13 09:35:49.428 [INF] LTND: Version 0.3.0-alpha 2017-10-13 09:35:49.441 [INF] CHDB: Checking for schema update: latest_version=0, db_version=0 2017-10-13 09:35:49.441 [INF] LTND: Primary chain is set to: bitcoin
lnd: 2017-10-13 09:35:49.545 [INF] BTCN: Loaded 1791 addresses from file '/Users/andybellenie/Library/Application Support/Lnd/data/testnet3/bitcoin/peers.json'
lnd: 2017-10-13 09:35:49.548 [INF] BTCN: Disconnecting peer 127.0.0.1:18333 (outbound), cannot serve compact filters
lnd: 2017-10-13 09:35:49.548 [INF] BTCN: Lost peer 127.0.0.1:18333 (outbound)
lnd: 2017-10-13 09:35:49.578 [INF] CMGR: 3 addresses found from DNS seed testnet-seed.bluematt.me
lnd: 2017-10-13 09:35:49.665 [INF] CMGR: DNS discovery failed on seed x19.testnet-seed.bitcoin.jonasschnelli.ch: lookup x19.testnet-seed.bitcoin.jonasschnelli.ch: no such host
lnd: 2017-10-13 09:35:49.714 [INF] CMGR: 50 addresses found from DNS seed testnet-seed.bitcoin.schildbach.de
lnd: 2017-10-13 09:35:50.239 [INF] CMGR: DNS discovery failed on seed x19.seed.tbtc.petertodd.org: lookup x19.seed.tbtc.petertodd.org: no such host
lnd: 2017-10-13 09:35:50.554 [INF] LNWL: Opened wallet
lnd: 2017-10-13 09:35:50.961 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 09:35:50.993 [INF] BTCN: Catching up extended filter headers from 262000 to 264000
lnd: 2017-10-13 09:35:50.996 [INF] BTCN: Syncing to block height 1210121 from peer 35.199.154.3:18333
lnd: 2017-10-13 09:35:50.996 [INF] BTCN: Downloading headers for blocks 264001 to 300001 from peer 35.199.154.3:18333
lnd: 2017-10-13 09:35:51.517 [INF] LNWL: The wallet has been unlocked without a time limit
lnd: 2017-10-13 09:35:51.520 [INF] LTND: LightningWallet opened
lnd: 2017-10-13 09:35:51.522 [INF] LNWL: Started rescan from block 0000000000032f0b0e051ec9e127c0132dfaca5b4ed810421791a1d446e127b1 (height 260000) for 3 addresses
lnd: 2017-10-13 09:35:51.532 [INF] RPCS: RPC server listening on 127.0.0.1:10009
lnd: 2017-10-13 09:35:51.534 [INF] LTND: Waiting for chain backend to finish sync, start_height=264000
lnd: 2017-10-13 09:35:51.535 [ERR] LTND: gRPC proxy unable to listen on localhost:8080
lnd: 2017-10-13 09:35:54.550 [INF] BTCN: Disconnecting peer 127.0.0.1:18333 (outbound), cannot serve compact filters 2017-10-13 09:35:54.550 [INF] BTCN: Lost peer 127.0.0.1:18333 (outbound)
lnd: 2017-10-13 09:35:59.557 [INF] BTCN: Disconnecting peer 127.0.0.1:18333 (outbound), cannot serve compact filters 2017-10-13 09:35:59.558 [INF] BTCN: Lost peer 127.0.0.1:18333 (outbound)
lnd: 2017-10-13 09:36:04.565 [INF] BTCN: Disconnecting peer 127.0.0.1:18333 (outbound), cannot serve compact filters 2017-10-13 09:36:04.565 [INF] BTCN: Lost peer 127.0.0.1:18333 (outbound)
lnd: 2017-10-13 09:36:09.570 [INF] BTCN: Disconnecting peer 127.0.0.1:18333 (outbound), cannot serve compact filters 2017-10-13 09:36:09.570 [INF] BTCN: Lost peer 127.0.0.1:18333 (outbound)
lnd: 2017-10-13 09:36:11.605 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 09:36:14.575 [INF] BTCN: Disconnecting peer 127.0.0.1:18333 (outbound), cannot serve compact filters
lnd: 2017-10-13 09:36:14.575 [INF] BTCN: Lost peer 127.0.0.1:18333 (outbound)
lnd: 2017-10-13 09:36:19.581 [INF] BTCN: Disconnecting peer 127.0.0.1:18333 (outbound), cannot serve compact filters
lnd: 2017-10-13 09:36:19.581 [INF] BTCN: Lost peer 127.0.0.1:18333 (outbound)
lnd: 2017-10-13 09:36:22.664 [INF] BTCN: Processed 1 block in the last 33.21s (height 264001, 2014-06-21 21:04:56 +0100 BST)

from lightning-app.

Roasbeef avatar Roasbeef commented on August 25, 2024

from lightning-app.

andybellenie avatar andybellenie commented on August 25, 2024

Lightning now synced fine, seems load issues have been resolved. Thanks for the assistance.

from lightning-app.

Related Issues (20)

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.