question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Connect to Node Fails over Tor v3

See original GitHub issue

Description

I recently built a bitcoind/LND node which I connect to over Tor using a v3 address. I’m able to connect remotely and manage the node using Zap for iOS, but Zap Desktop on macOS fails to connect. The “Starting Tor proxy” message and oscillating gray/orange gradient background loops endlessly.

NOTE: Although the steps below specify connecting to LND’s REST Tor address and service port (8080), l’ve tried connecting to the RPC Tor address and port (10009) as well. The same behavior is observed.

Expected Behavior

  1. Clone and build lndconnect from github.com/LN-Zap/lndconnect

  2. Use lndconnect to generate the LND connect URL:

    ./lndconnect --lnddir=/var/db/lnd -j --host=myonionaddressis.onion --port=8080
    
  3. Launch Zap Desktop and paste in the LND connect URL.

  4. Tor proxy is started and Zap Desktop connects to the node successfully.

Actual Behavior

  1. Clone and build lndconnect from github.com/LN-Zap/lndconnect

  2. Use lndconnect to generate the LND connect URL:

    ./lndconnect --lnddir=/var/db/lnd -j --host=myonionaddressis.onion --port=8080
    
  3. Launch Zap Desktop and paste in the LND connect URL.

  4. “Starting Tor proxy” is displayed with an oscillating gray/orange background that loops endlessly.

I’ve let it run for an hour, and it never times out. No error message is ever displayed. While this is going on, two (2) Zap Helper processes consume about 50% of a CPU on my MacBook Pro.

Your Environment

  • Zap Desktop version: 0.7.2 beta
  • Operating System and version: macOS 10.15.6
  • LND version: 0.10.2-beta and 0.11.0-beta (I’ve tested with both – fails in the exact same way)

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:9
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
dmytroleonenkocommented, Jul 18, 2021

Almost one year and still nothing? Is anybody going to fix it?

2reactions
kevmodromecommented, Feb 10, 2021

Any workaround for this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

I am having trouble connecting to Tor, and I can't figure out ...
Common log error #3: Failed to complete TLS handshake ... If you see lines like this in your Tor log, it means that...
Read more >
Bitcoin Core 0.21.0 no incoming peers over Tor
Hi, I've been running full node for many months, Tor only. Since I upgraded yesterday to Bitcoin Core 0.21.0, with new Tor v3...
Read more >
lnd fails to connect to the network - tor
Ubuntu 22.04 lnd 0.15.3-beta tor 0.4.6.10. When I run lnd , it never connects to the network. The output contains the line:
Read more >
PID1 connection problem trying to run Tor with core ...
From all you've written, the (only?) problem seems to be when you execute “sudo systemctl restart tor”, which just means that tor needs...
Read more >
Running Bitcoin & Lightning Nodes Over The Tor Network ...
And Connecting Your Phone to Use Lightning On-The-Go ... I've also provided a list on Tor v3 nodes that were advertised in this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found