Skip to content

Unable to use lncli and tor #3343

@stridentbean

Description

@stridentbean

Background

We are unable to use lncli on this node. It isn't connecting to 127.0.0.1, instead, it is connecting to 36.37.242.94. Similarly, lnd is unable to connect to Tor when it is activated. The lnd-tor error also references 36.37.242.94:9051 instead of the expected 127.0.0.1:9051.

We tried to delete all the tor data and restart the containers, but the error persists. That makes me suspect this ip address (36.37.242.94) is being stored in one of the lnd databases.

The RPC endpoints are still working from other services we have on the node.

Your environment

  • Lnd 0.7.0.
  • Linux casa-node-apollo 4.14.70-v7+ Fixing some README typos #2 SMP Wed Sep 19 07:49:26 UTC 2018 armv7l GNU/Linux)
  • Bitcoind 0.18.0.
  • Running on a raspberry pi 3 b+ in docker containers.
  • Tor version 0.3.5.8.

Steps to reproduce

On this device, any lncli call results in an error. Lnd will run with Tor off. Lnd will crash if Tor is active.

Expected behaviour

lncli commands should succeed.

Actual behaviour

bash-4.4# lncli getinfo
[lncli] rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp 36.37.242.94:10009: i/o timeout"

Tor error is something similar, but I don't have it on me. Can find it if it helps.

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