Git Product home page Git Product logo

Comments (5)

guggero avatar guggero commented on May 23, 2024

cc @mohamedawnallah

from lnd.

mohamedawnallah avatar mohamedawnallah commented on May 23, 2024

@youngxhui I've just tried running your command and it works as expected:

NETWORK="regtest" docker-compose -f docker-compose-bitcoind.yml up

A couple of reasons for this may happen:

To trace this more:

  • if the above is already done could you please give the logs for bitcoind container since it seems it is not connected ?

from lnd.

youngxhui avatar youngxhui commented on May 23, 2024

@youngxhui I've just tried running your command and it works as expected:

NETWORK="regtest" docker-compose -f docker-compose-bitcoind.yml up

A couple of reasons for this may happen:

To trace this more:

  • if the above is already done could you please give the logs for bitcoind container since it seems it is not connected ?

this is bitcoind and lnd logs. Lnd is not connected bitcoind.

lnd log

2024-04-08 00:36:34.299 [WRN] LTND: open /root/.lnd/lnd.conf: no such file or directory
2024-04-08 00:36:34.299 [INF] LTND: Version: 0.17.4-beta commit=v0.17.4-beta, build=production, logging=default, debuglevel=debug
2024-04-08 00:36:34.299 [INF] LTND: Active chain: Bitcoin (network=regtest)
2024-04-08 00:36:34.303 [DBG] NTFR: ChainNotifier RPC server successfully register with root gRPC server
2024-04-08 00:36:34.303 [DBG] NTFR: ChainKit RPC server successfully register with root gRPC server
2024-04-08 00:36:34.303 [DBG] IRPC: Invoices RPC server successfully registered with root gRPC server
2024-04-08 00:36:34.303 [DBG] PRPC: Peers RPC server successfully register with root gRPC server
2024-04-08 00:36:34.303 [DBG] RRPC: Router RPC server successfully register with root gRPC server
2024-04-08 00:36:34.303 [DBG] SGNR: Signer RPC server successfully register with root gRPC server
2024-04-08 00:36:34.303 [DBG] VRPC: Versioner RPC server successfully registered with root gRPC server
2024-04-08 00:36:34.303 [DBG] WLKT: WalletKit RPC server successfully registered with root gRPC server
2024-04-08 00:36:34.303 [INF] RPCS: RPC server listening on 127.0.0.1:10009
2024-04-08 00:36:34.303 [INF] RPCS: RPC server listening on 172.20.0.3:10009
2024-04-08 00:36:34.305 [DBG] NTFR: ChainNotifier REST server successfully registered with root REST server
2024-04-08 00:36:34.306 [DBG] NTFR: ChainKit REST server successfully registered with root REST server
2024-04-08 00:36:34.307 [DBG] IRPC: Invoices REST server successfully registered with root REST server
2024-04-08 00:36:34.308 [DBG] PRPC: Peers REST server successfully registered with root REST server
2024-04-08 00:36:34.311 [DBG] RRPC: Router REST server successfully registered with root REST server
2024-04-08 00:36:34.311 [DBG] SGNR: Signer REST server successfully registered with root REST server
2024-04-08 00:36:34.312 [DBG] VRPC: Versioner REST server successfully registered with root REST server
2024-04-08 00:36:34.312 [DBG] WLKT: WalletKit REST server successfully registered with root REST server
2024-04-08 00:36:34.317 [INF] RPCS: gRPC proxy started at 127.0.0.1:8080
2024-04-08 00:36:34.317 [INF] LTND: Opening the main database, this might take a few minutes...
2024-04-08 00:36:34.317 [INF] LTND: Opening bbolt database, sync_freelist=false, auto_compact=false
2024-04-08 00:36:34.317 [INF] LTND: Creating local graph and channel state DB instances
2024-04-08 00:36:34.321 [DBG] CHDB: Populating in-memory channel graph, this might take a while...
2024-04-08 00:36:34.322 [DBG] CHDB: Finished populating in-memory channel graph (took 120.203µs, num_node_features=0, num_nodes=0, num_channels=0)
2024-04-08 00:36:34.322 [INF] CHDB: Checking for schema update: latest_version=31, db_version=31
2024-04-08 00:36:34.322 [INF] CHDB: Checking for optional update: prune_revocation_log=false, db_version=empty
2024-04-08 00:36:34.322 [INF] LTND: Database(s) now open (time_to_open=5.096615ms)!
2024-04-08 00:36:34.392 [INF] CHRE: Primary chain is set to: bitcoin
2024-04-08 00:37:19.457 [WRN] CHRE: unable to make getdeploymentinfo request: invalid http POST response (nil), method: getdeploymentinfo, id: 2, last error=Post "https://blockchain:18334": dial tcp 172.20.0.2:18334: connect: connection refused
2024-04-08 00:37:19.458 [ERR] LTND: unable to create partial chain control: node backend does not support taproot
2024-04-08 00:37:19.458 [ERR] LTND: Shutting down because error in main method: error creating wallet config: unable to create partial chain control: node backend does not support taproot
2024-04-08 00:37:19.459 [INF] LTND: Shutdown complete
error creating wallet config: unable to create partial chain control: node backend does not support taproot

bitcoind.log

2024-04-08T00:36:33Z * Using 8.0 MiB for chain state database
2024-04-08T00:36:33Z * Using 384.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space)
2024-04-08T00:36:33Z init message: Loading block index…
2024-04-08T00:36:33Z Validating signatures for all blocks.
2024-04-08T00:36:33Z Setting nMinimumChainWork=0000000000000000000000000000000000000000000000000000000000000000
2024-04-08T00:36:33Z [leveldb] LevelDB using max_open_files=1000 (default=1000)
2024-04-08T00:36:33Z Opening LevelDB in /data/regtest/blocks/index
2024-04-08T00:36:33Z [leveldb:debug] Recovering log #67
2024-04-08T00:36:33Z [leveldb:debug] Delete type=3 #65
2024-04-08T00:36:33Z [leveldb:debug] Delete type=0 #67
2024-04-08T00:36:33Z Opened LevelDB successfully
2024-04-08T00:36:33Z Using obfuscation key for /data/regtest/blocks/index: 0000000000000000
2024-04-08T00:36:33Z LoadBlockIndexDB: last block file = 0
2024-04-08T00:36:33Z LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=102, size=26335, heights=0...101, time=2011-02-02...2024-04-05)
2024-04-08T00:36:33Z Checking all blk files are present...
2024-04-08T00:36:33Z Initializing chainstate Chainstate [ibd] @ height -1 (null)
2024-04-08T00:36:33Z [leveldb] LevelDB using max_open_files=1000 (default=1000)
2024-04-08T00:36:33Z Opening LevelDB in /data/regtest/chainstate
2024-04-08T00:36:33Z [leveldb:debug] Recovering log #110
2024-04-08T00:36:33Z [leveldb:debug] Delete type=3 #109
2024-04-08T00:36:33Z [leveldb:debug] Delete type=0 #110
2024-04-08T00:36:33Z Opened LevelDB successfully
2024-04-08T00:36:33Z Using obfuscation key for /data/regtest/chainstate: 9fcc1d64fb66ab97
2024-04-08T00:36:33Z Loaded best chain: hashBestChain=2303a143eedb095af86ae157fe663705dafea441f879dbf76b29e63dab602e55 height=101 date=2024-04-05T04:41:03Z progress=1.000000
2024-04-08T00:36:33Z [snapshot] allocating all cache to the IBD chainstate
2024-04-08T00:36:33Z [leveldb] LevelDB using max_open_files=1000 (default=1000)
2024-04-08T00:36:33Z Opening LevelDB in /data/regtest/chainstate
2024-04-08T00:36:33Z [leveldb:debug] Recovering log #113
2024-04-08T00:36:33Z [leveldb:debug] Delete type=3 #112
2024-04-08T00:36:33Z [leveldb:debug] Delete type=0 #113
2024-04-08T00:36:33Z Opened LevelDB successfully
2024-04-08T00:36:33Z Using obfuscation key for /data/regtest/chainstate: 9fcc1d64fb66ab97
2024-04-08T00:36:33Z [Chainstate [ibd] @ height 101 (2303a143eedb095af86ae157fe663705dafea441f879dbf76b29e63dab602e55)] resized coinsdb cache to 8.0 MiB
2024-04-08T00:36:33Z [Chainstate [ibd] @ height 101 (2303a143eedb095af86ae157fe663705dafea441f879dbf76b29e63dab602e55)] resized coinstip cache to 384.0 MiB
2024-04-08T00:36:33Z init message: Verifying blocks…
2024-04-08T00:36:33Z Verifying last 6 blocks at level 3
2024-04-08T00:36:33Z Verification progress: 0%
2024-04-08T00:36:33Z Verification progress: 16%
2024-04-08T00:36:33Z Verification progress: 33%
2024-04-08T00:36:33Z Verification progress: 50%
2024-04-08T00:36:33Z Verification progress: 66%
2024-04-08T00:36:33Z Verification progress: 83%
2024-04-08T00:36:33Z Verification progress: 99%
2024-04-08T00:36:33Z Verification: No coin database inconsistencies in last 6 blocks (6 transactions)
2024-04-08T00:36:33Z  block index               3ms
2024-04-08T00:36:33Z [leveldb] LevelDB using max_open_files=1000 (default=1000)
2024-04-08T00:36:33Z Opening LevelDB in /data/regtest/indexes/txindex
2024-04-08T00:36:33Z [leveldb:debug] Recovering log #67
2024-04-08T00:36:33Z [leveldb:debug] Delete type=3 #65
2024-04-08T00:36:33Z [leveldb:debug] Delete type=0 #67
2024-04-08T00:36:33Z Opened LevelDB successfully
2024-04-08T00:36:33Z Using obfuscation key for /data/regtest/indexes/txindex: 0000000000000000
2024-04-08T00:36:33Z Setting NODE_NETWORK on non-prune mode
2024-04-08T00:36:33Z txindex thread start
2024-04-08T00:36:33Z block tree size = 102
2024-04-08T00:36:33Z nBestHeight = 101
2024-04-08T00:36:33Z txindex is enabled at height 101
2024-04-08T00:36:33Z txindex thread exit
2024-04-08T00:36:33Z loadblk thread start
2024-04-08T00:36:33Z torcontrol thread start
2024-04-08T00:36:33Z Bound to 127.0.0.1:18445
2024-04-08T00:36:33Z Imported mempool transactions from disk: 0 succeeded, 0 failed, 0 expired, 0 already there, 0 waiting for initial broadcast
2024-04-08T00:36:33Z Bound to [::]:18444
2024-04-08T00:36:33Z Bound to 0.0.0.0:18444
2024-04-08T00:36:33Z loadblk thread exit
2024-04-08T00:36:33Z 0 block-relay-only anchors will be tried for connections.
2024-04-08T00:36:33Z init message: Starting network threads…
2024-04-08T00:36:33Z dnsseed thread start
2024-04-08T00:36:33Z Loading addresses from DNS seed dummySeed.invalid.
2024-04-08T00:36:33Z addcon thread start
2024-04-08T00:36:33Z init message: Done loading
2024-04-08T00:36:33Z opencon thread start
2024-04-08T00:36:33Z net thread start
2024-04-08T00:36:33Z [tor] Error connecting to Tor control socket
2024-04-08T00:36:33Z [tor] Not connected to Tor control port 127.0.0.1:9051, trying to reconnect
2024-04-08T00:36:33Z msghand thread start
2024-04-08T00:36:33Z 0 addresses found from DNS seeds
2024-04-08T00:36:33Z dnsseed thread exit
2024-04-08T00:36:34Z [net:debug] trying connection dummySeed.invalid. lastseen=0.0hrs
2024-04-08T00:36:34Z [tor] Error connecting to Tor control socket
2024-04-08T00:36:34Z [tor] Not connected to Tor control port 127.0.0.1:9051, trying to reconnect
2024-04-08T00:36:36Z [tor] Error connecting to Tor control socket
2024-04-08T00:36:36Z [tor] Not connected to Tor control port 127.0.0.1:9051, trying to reconnect
2024-04-08T00:36:38Z [tor] Error connecting to Tor control socket
2024-04-08T00:36:38Z [tor] Not connected to Tor control port 127.0.0.1:9051, trying to reconnect
2024-04-08T00:36:42Z [tor] Error connecting to Tor control socket
2024-04-08T00:36:42Z [tor] Not connected to Tor control port 127.0.0.1:9051, trying to reconnect
2024-04-08T00:36:47Z [tor] Error connecting to Tor control socket
2024-04-08T00:36:47Z [tor] Not connected to Tor control port 127.0.0.1:9051, trying to reconnect
2024-04-08T00:36:54Z [tor] Error connecting to Tor control socket
2024-04-08T00:36:54Z [tor] Not connected to Tor control port 127.0.0.1:9051, trying to reconnect
2024-04-08T00:37:06Z [tor] Error connecting to Tor control socket
2024-04-08T00:37:06Z [tor] Not connected to Tor control port 127.0.0.1:9051, trying to reconnect
2024-04-08T00:37:23Z [tor] Error connecting to Tor control socket
2024-04-08T00:37:23Z [tor] Not connected to Tor control port 127.0.0.1:9051, trying to reconnect
2024-04-08T00:37:33Z [rand] Feeding 70069 bytes of dynamic environment data into RNG
2024-04-08T00:37:34Z Adding fixed seeds as 60 seconds have passed and addrman is empty for at least one reachable network
2024-04-08T00:37:34Z Added 0 fixed seeds from reachable networks.
2024-04-08T00:37:48Z [tor] Error connecting to Tor control socket
2024-04-08T00:37:48Z [tor] Not connected to Tor control port 127.0.0.1:9051, trying to reconnect

from lnd.

mohamedawnallah avatar mohamedawnallah commented on May 23, 2024

@youngxhui Sorry for the late reply, Unfortunately I couldn't replicate this issue I've just tried on ubuntu 22.04 and once again on mac and they are both working fine following the bitcoind docker container docs.

Here are the log files captured for both lnd.log and bitcoind.log from the docker containers

cc @guggero

from lnd.

saubyk avatar saubyk commented on May 23, 2024

Moving this to a discussion as this appears to be a troubleshooting case not an actual bug

from lnd.

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.