Comments (7)
Hi,
first of all, Orbot is not needed, BitBanana suports tor natively.
The problem is most likely that you are trying to connect on port 9735 which is the port for the lightning peer 2 peer protocol. But what you want to connect to is the api that lnd exposes which is on 10009 for gRPC.
Therefore, in BitBanana go to manage nodes and edit the connection settings and change the port to 10009 and save.
from bitbanana.
from bitbanana.
from bitbanana.
Hi,
when connecting over tor, the certificate isn't even needed. Tor already ensures you are connected with the correct service. Therefore when connecting over Tor BitBanana does not even check the cert.
What is needed though is the admin macaroon (macaroon = fancy cookie), which defines what access the API user has. Admin macaroon grants access to everything.
So in your lndconnect command you have to add the admin macaroon path.
from bitbanana.
Hi, so I added this to
/etc/tor/torrc
HiddenServiceDir /var/lib/tor/lnd
HiddenServicePort 10009 127.0.0.1:10009
and used this string to create an lndconnect string:
lndconnect --adminmacaroonpath=/home/user/.lnd/data/chain/bitcoin/mainnet/admin.macaroon --port=10009 --host=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.onion -j
The result I pasted into bitbanana. Response continues
Connection failed.
UNAVAILABLE: Response
returned from proxy was not
successful (expected 2xx, got
502 Bad Gateway (unexpected
close)). Response body:
nmap:
9050/tcp open tor-socks
9051/tcp open tor-control
9735/tcp open unknown
10009/tcp open swdtp-sv
curl --socks5 localhost:9050 --socks5-hostname localhost:9050 -s https://check.torproject.org/ | cat | grep -m 1 Congratulations | xargs
Congratulations. This browser is configured to use Tor.
Firewall 10009 is open, even though propably not necessary.
I am out of ideas now.
from bitbanana.
Hm, me too.
I myself actually use preconfigured setups like Start9 or Umbrel instead of setting up everything on my own. Therefore I don't have to much experience with it. What I can see from your posts looks correct.
In general Tor connection is not very reliable. Connecting to my nodes with tor often works, then sometimes it doesn't for a few hours or so without me changing anything. I cannot remember though if that error message you get was one of the temporary failures.
I personally switched to using Tailscale VPN to connect to my nodes. The user experience is so much better as it is way faster and much more reliable. But of course not as private.
I guess it is still the same with ZEUS?
(For ZEUS you need to use port 8080 as ZEUS only supports REST, not gRPC)
from bitbanana.
I can confirm connecting to clearnet IP works. So, it´s something Tor-related. I will give tailscale a shot, just hoping the setup is straight forward.
from bitbanana.
Related Issues (20)
- POS - Point of Sale integration
- Android app will crash, when LNURLw doesn't have enough resources HOT 2
- Automate VPN connection via the app. HOT 7
- Differentiate between lightning balance and onchain balance in node. HOT 3
- Include App settings in migration backup
- LNURL not working HOT 2
- Cannot Connect to Node Over Tor HOT 5
- USD amount far more than actual amount HOT 5
- The first startup after installation will crash HOT 4
- Test tools can change the amount HOT 3
- https://github.com/michaelWuensch/BitBanana/commit/30acfc3b72768ef3a46f5aa6561bf2e91328ef8c HOT 3
- NonFree dep for F-Droid build HOT 6
- Allow paying before fee is estimated HOT 5
- Scan QR code from image file HOT 4
- Brief show of zero balance HOT 2
- Bolt 12 support
- Challenges in Reproducing the Build HOT 1
- lndhub connection cannot save - Port input field must not be empty HOT 2
- Connecting to CLN 24.05 stuck at "Fetching data..." HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitbanana.