Skip to content

loopd errors out on start #33

@rationalflaneur

Description

@rationalflaneur

I get this error when I try to start loopd:

2019-03-25 20:09:08.772 [INF] LOOPD: Version: 0.1.0-alpha commit=
2019-03-25 20:09:08.772 [INF] LNDCLIENT: Creating lnd connection to localhost:10009
2019-03-25 20:09:08.773 [INF] LNDCLIENT: Connected to lnd
panic: runtime error: index out of range

goroutine 1 [running]:
github.com/lightninglabs/loop/lndclient.(*lightningClient).GetInfo(0x1033920, 0x8f7000, 0x10280a0, 0x0, 0x0, 0x0)
	/home/admin/gocode/src/github.com/lightninglabs/loop/lndclient/lightning_client.go:143 +0x28c
github.com/lightninglabs/loop/lndclient.NewLndServices(0x7042fc, 0xf, 0x6fbc46, 0x6, 0x6fd2e0, 0x7, 0x0, 0x0, 0x0, 0x0, ...)
	/home/admin/gocode/src/github.com/lightninglabs/loop/lndclient/lnd_services.go:63 +0x244
main.getLnd(0x6fd2e0, 0x7, 0xdab1f8, 0x12384, 0xdc9248, 0x0)
	/home/admin/gocode/src/github.com/lightninglabs/loop/cmd/loopd/utils.go:13 +0x68
main.daemon(0x10948d0, 0x0, 0x0)
	/home/admin/gocode/src/github.com/lightninglabs/loop/cmd/loopd/daemon.go:23 +0x58
main.start(0x102e0b0, 0x0)
	/home/admin/gocode/src/github.com/lightninglabs/loop/cmd/loopd/main.go:89 +0x42c
main.main()
	/home/admin/gocode/src/github.com/lightninglabs/loop/cmd/loopd/main.go:32 +0x14

This is my lnd.conf:

[Application Options]
debuglevel=info
maxpendingchannels=5
alias=<alias>
color=#C74124
externalip=<external ip>
tlsextraip=<external ip>
rpclisten=0.0.0.0:10009

[Bitcoin]
bitcoin.active=1

# enable either testnet or mainnet
bitcoin.mainnet=1

bitcoin.node=bitcoind

[autopilot]
autopilot.active=0
autopilot.maxchannels=5
autopilot.allocation=0.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions