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.

Inconsistent Tor connection via Orbot

See original GitHub issue

Zap is frequently unable to connect to Tor by Orbot proxy. On my device, Orbot is configured in VPN mode and Zap is added to the Tor-enabled apps. Orbot is the only VPN / Tor service enabled on my device.

Description

Approximately 95% of the time, I receive this error when starting up Orbot and connecting to Zap:

Tor connection failed.
Please make sure that:
- Orbot is running
- Orbot is in VPN mode
- Zap is in Orbot's list of activated apps.

The noted points are fulfilled on my device. I receive this error almost every time I open the Zap application. The only time it works as expected is sometimes when I restart my device. I have had the wallet load a few times, but eventually I get the same error noted above.

Expected Behavior

Tor connection should consistently work when Zap is entered from Orbot’s activated list of apps, or by accessing the app from my device with Orbot turned on and in VPN mode.

Actual Behavior

Tor connection fails 95% of the time on app initialization and no features can be accessed.

Steps to Reproduce

  1. Download Orbot
  2. Download Zap from PlayStore
  3. On Orbot’s main screen select the gear icon under tor enabled apps.
  4. Add Zap, then press back.
  5. Click STOP on the big onion logo.
  6. Exit Orbot and reopen it. Turn on VPN Mode.
  7. Start your connection to the Tor network by clicking on the big onion (if it has not automatically connected already)
  8. Click on Zap from the list of Tor-Enabled Apps
  9. Access Wallets from menu
  10. Click the (+) button
  11. Select “Connect to Remote Node”
  12. Scan QR code or paste LND quick connect url
  13. Open newly added wallet
  14. See above error message where Tor connection failed

Context

LND quick connect string being used contains:

LND node address and port TLS certificate Admin macaroon

LND node address is over Tor eg: xxx.onion:10009

It was setup following instructions here.

Environment

  • Zap version: 0.3.5-beta, build: 2023
  • Android version: 11
  • Device: Google Pixel 2
  • LND Version: 0.11.0-beta

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:12

github_iconTop GitHub Comments

4reactions
michaelWuenschcommented, Aug 21, 2021

I have just released v0.5.0-beta which includes native Tor support. This should solve the Tor connection issues. If there are still problems after the update, feel free to open a new Issue.

4reactions
michaelWuenschcommented, Aug 16, 2021

@majikaz Yes, there are updates. Native Tor implementation is nearly done and will be rolled out with the next update in the coming weeks. Please have a look at #344 for more details.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Orbot cannot connect to the Tor network through bridges
Seems like GFW knows you are connecting to Tor ( If you are in mainland China and using public bridges and these bridges...
Read more >
Build Orbot into TBA (#28051) · Issues - Tor gitLab
The fix is simply iterating over all of the tabs the application knows again, and "reloading" them - this instantiates new tabs within...
Read more >
[Changes] Zap Wallet (Android) Native TOR now supported ...
Zap Android wallet has been updated to offer native TOR support and thus no longer requires Orbot for it to connect to my...
Read more >
Briar loses Tor connectivity when Orbot's VPN mode is activated
Turning on Orbot's VPN mode causes Briar to lose Tor connections to contacts, but the Tor transport is still shown as active.
Read more >
1664221 – Tor seems to stop working after some time
Steps to Reproduce: 1. Start Tor 2. Wait a while (try half an hour) 3. Check Tor daemon status 3. Visit check.torproject.org Actual...
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