loop
loop copied to clipboard
`Error while starting daemon: <nil>`
trafficstars
Logs from trying to start a regtest loopd
2022-08-31 12:42:37.778 [INF] LOOPD: Version: 0.20.1-beta commit=
2022-08-31 12:42:37.779 [INF] LNDC: Creating lnd connection to 127.0.0.1:15601
2022-08-31 12:42:37.779 [INF] LNDC: Connected to lnd
2022-08-31 12:42:37.786 [INF] LNDC: Waiting for lnd to unlock
2022-08-31 12:42:37.786 [INF] LNDC: Wallet state of lnd is now: Lnd main server is ready for requests
2022-08-31 12:42:37.789 [INF] LNDC: lnd version: v0.15.0-beta, build tags 'autopilotrpc,signrpc,walletrpc,chainrpc,invoicesrpc,watchtowerrpc,neutrinorpc,monitoring,peersrpc,kvdb_postgres,kvdb_etcd'
2022-08-31 12:42:37.789 [INF] LNDC: Using network regtest
2022-08-31 12:42:37.789 [INF] LNDC: Waiting for lnd to be fully synced to its chain backend, this might take a while
2022-08-31 12:42:37.792 [INF] LNDC: lnd is now fully synced to its chain backend
2022-08-31 12:42:37.792 [INF] LOOPD: Protocol version: Routing Plugin
2022-08-31 12:42:37.792 [INF] LOOPD: Swap server address: 127.0.0.1:49168
2022-08-31 12:42:37.794 [INF] STORE: Initializing new database with version 4
2022-08-31 12:42:37.799 [INF] STORE: Checking for schema update: latest_version=4, db_version=4
2022-08-31 12:42:37.846 [INF] LOOPD: Starting swap client
2022-08-31 12:42:37.846 [INF] LOOPD: Waiting for updates
2022-08-31 12:42:37.846 [INF] LOOPD: Starting liquidity manager
2022-08-31 12:42:37.846 [INF] LOOPD: Starting gRPC listener
2022-08-31 12:42:37.846 [INF] LOOPD: Generating TLS certificates...
2022-08-31 12:42:37.846 [INF] LOOP: Connected to lnd node '03662a372d4c26d614fa' with pubkey 03662a372d4c26d614fa703d7d18c2946969ad87a21789455e87b640ddd019ed05 (version v0.15.0-beta, build tags 'autopilotrpc,signrpc,walletrpc,chainrpc,invoicesrpc,watchtowerrpc,neutrinorpc,monitoring,peersrpc,kvdb_postgres,kvdb_etcd')
2022-08-31 12:42:37.847 [INF] LOOP: Wait for first block ntfn
2022-08-31 12:42:37.847 [INF] LOOP: Starting event loop at height 113
2022-08-31 12:42:37.847 [INF] LOOPD: Done generating TLS certificates
2022-08-31 12:42:37.847 [ERR] LOOPD: Error while starting daemon: <nil>
2022-08-31 12:42:37.847 [INF] LOOPD: Stopping gRPC server
2022-08-31 12:42:37.847 [INF] LOOPD: Stopping REST server
2022-08-31 12:42:37.847 [INF] LOOP: Swap client terminating
2022-08-31 12:42:37.847 [DBG] LOOP: Wait for executor to finish
2022-08-31 12:42:37.847 [DBG] LOOP: Wait for goroutines to finish
2022-08-31 12:42:37.847 [INF] LOOP: Swap client terminated
2022-08-31 12:42:37.847 [INF] LOOPD: Liquidity manager stopped
2022-08-31 12:42:37.847 [INF] LOOPD: Swap client stopped
2022-08-31 12:42:37.847 [DBG] LNDC: Closing lnd connection
2022-08-31 12:42:37.848 [DBG] LNDC: Wait for client to finish
2022-08-31 12:42:37.848 [DBG] LNDC: Wait for chain notifier to finish
2022-08-31 12:42:37.848 [DBG] LNDC: Wait for invoices to finish
2022-08-31 12:42:37.848 [DBG] LNDC: Wait for router to finish
2022-08-31 12:42:37.848 [DBG] LNDC: Lnd services finished
2022-08-31 12:42:37.848 [DBG] LNDC: Lnd services finished
2022-08-31 12:42:37.848 [INF] LOOPD: Daemon exited
This ended up being because I was passing something as 127.0.0.112345 instead of 127.0.0.1:12345