hsjoberg / blixt-wallet

Bitcoin Lightning Wallet with focus on usability and user experience
https://blixtwallet.github.io
MIT License
381 stars 68 forks source link

No syncing progress with tor #697

Open f321x opened 2 years ago

f321x commented 2 years ago

On a fresh installed app with Tor enabled from the beginning the blockchain sync progress is stuck at 0% with the following log:

09:57:52.190 [INF] HSWC: Cleaning circuits from disk for closed channels 09:57:52.190 [INF] HSWC: Finished cleaning: no closed channels found, no actions taken. 09:57:52.190 [INF] HSWC: Restoring in-memory circuit state from disk 09:57:52.191 [INF] HSWC: Payment circuits loaded: num_pending=0, num_open=0 09:57:52.194 [INF] SWPR: Migrating UTXO nursery finalized TXIDs 09:57:52.195 [INF] LTND: Channel backup proxy channel notifier starting 09:57:52.195 [INF] ATPL: Instantiating autopilot with active=false, max_channels=5, allocation=1.000000, min_chan_size=20000, max_chan_size=16777215, private=true, min_confs=1, conf_target=3 09:57:52.195 [INF] RRPC: Making macaroons for Router RPC Server at: /data/user/0/com.blixtwallet/files/data/chain/bitcoin/mainnet/router.macaroon 09:57:52.196 [INF] IRPC: Baking macaroons for invoices RPC Server at: /data/user/0/com.blixtwallet/files/data/chain/bitcoin/mainnet/invoices.macaroon 09:57:52.196 [INF] SGNR: Making macaroons for Signer RPC Server at: /data/user/0/com.blixtwallet/files/data/chain/bitcoin/mainnet/signer.macaroon 09:57:52.196 [INF] WLKT: Baking macaroons for WalletKit RPC Server at: /data/user/0/com.blixtwallet/files/data/chain/bitcoin/mainnet/walletkit.macaroon 09:57:52.197 [INF] LTND: We're not running within systemd 09:57:52.197 [INF] LTND: Waiting for chain backend to finish sync, start_height=71000 09:57:52.292 [INF] BTCN: Registering block subscription: id=2 09:57:52.535 [INF] RPCS: New transaction subscription 09:57:56.398 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 09:58:01.825 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 09:58:07.204 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 09:58:12.578 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 09:58:18.005 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 09:58:23.434 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 09:58:28.859 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 09:58:34.307 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 09:58:39.713 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 09:58:45.142 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 09:58:50.568 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 09:58:55.996 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 09:59:01.424 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 09:59:06.850 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 09:59:12.278 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 09:59:17.705 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 09:59:23.133 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 09:59:28.559 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 09:59:34.004 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 09:59:39.414 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 09:59:44.747 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 09:59:50.166 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 09:59:55.573 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:00:01.020 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:00:06.764 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:00:12.184 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:00:17.610 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:00:23.038 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:00:28.461 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:00:33.907 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:00:39.318 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:00:44.746 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:00:50.172 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:01:22.574 [INF] LTND: REST API is disabled! 10:01:22.577 [INF] LTND: Version: 0.14.2-beta commit=v0.14.2-beta, build=development, logging=default, debuglevel=info 10:01:22.577 [INF] LTND: Active chain: Bitcoin (network=mainnet) 10:01:22.582 [INF] RPCS: RPC server listening on bufconn 10:01:22.588 [INF] LTND: Opening the main database, this might take a few minutes... 10:01:22.588 [INF] LTND: Opening bbolt database, sync_freelist=true, auto_compact=false 10:01:22.589 [INF] LTND: Creating local graph and channel state DB instances 10:01:22.599 [INF] CHDB: Checking for schema update: latest_version=24, db_version=24 10:01:22.599 [INF] LTND: Database(s) now open (time_to_open=10.954324ms)! 10:01:22.632 [INF] BTCN: Loaded 0 addresses from file '/data/user/0/com.blixtwallet/files/data/chain/bitcoin/mainnet/peers.json' 10:01:22.632 [INF] BTCN: Registering block subscription: id=1 10:01:22.632 [INF] BTCN: Broadcaster now active 10:01:22.633 [INF] LTND: We're not running within systemd 10:01:22.633 [INF] LTND: Waiting for wallet encryption password. Use lncli create to create a wallet, lncli unlock to unlock an existing wallet, or lncli changepassword to change the password of an existing wallet and unlock it. 10:01:22.722 [INF] BTCN: DNS discovery failed on seed seed.bitnodes.io: tor host is unreachable 10:01:22.757 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:01:22.757 [INF] BTCN: DNS discovery failed on seed x49.seed.bitcoinstats.com: tor host is unreachable 10:01:22.758 [INF] BTCN: DNS discovery failed on seed x49.dnsseed.bluematt.me: tor host is unreachable 10:01:22.758 [INF] BTCN: DNS discovery failed on seed x49.seed.bitcoin.jonasschnelli.ch: tor host is unreachable 10:01:22.758 [INF] BTCN: DNS discovery failed on seed x49.seed.bitcoin.sipa.be: tor host is unreachable 10:01:22.759 [INF] BTCN: DNS discovery failed on seed dnsseed.bitcoin.dashjr.org: tor host is unreachable 10:01:24.217 [INF] LNWL: Opened wallet 10:01:24.424 [INF] CHRE: Primary chain is set to: bitcoin 10:01:24.437 [INF] CHRE: Using external fee estimator https://nodes.lightning.computer/fees/v1/btc-fee-estimates.json: cached=true 10:01:24.437 [INF] LNWL: Starting web API fee estimator 10:01:25.904 [INF] LNWL: The wallet has been unlocked without a time limit 10:01:25.921 [INF] CHRE: LightningWallet opened 10:01:25.926 [INF] SRVR: Proxying all network traffic via Tor (stream_isolation=false)! NOTE: Ensure the backend node is proxying over Tor as well 10:01:25.927 [INF] TORC: Starting tor controller 10:01:25.995 [INF] HSWC: Cleaning circuits from disk for closed channels 10:01:25.996 [INF] HSWC: Finished cleaning: no closed channels found, no actions taken. 10:01:25.996 [INF] HSWC: Restoring in-memory circuit state from disk 10:01:25.996 [INF] HSWC: Payment circuits loaded: num_pending=0, num_open=0 10:01:26.004 [INF] LTND: Channel backup proxy channel notifier starting 10:01:26.004 [INF] ATPL: Instantiating autopilot with active=false, max_channels=5, allocation=1.000000, min_chan_size=20000, max_chan_size=16777215, private=true, min_confs=1, conf_target=3 10:01:26.007 [INF] LTND: We're not running within systemd 10:01:26.007 [INF] LTND: Waiting for chain backend to finish sync, start_height=71000 10:01:26.393 [INF] RPCS: New transaction subscription 10:01:27.834 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:01:32.925 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:01:38.014 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:01:43.118 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:01:48.196 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:01:54.403 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:01:59.488 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:02:04.630 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:02:09.834 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:02:14.960 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:02:20.044 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:02:25.191 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:02:30.310 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:02:35.395 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable

10:02:40.488 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable 10:02:45.648 [WRN] BTCN: unable to lookup IP for node.blixtwallet.com: tor host is unreachable

My Internet connection is stable and good and everything else works fine. Restarted the app multiple times and did exclude blixt from android battery saving but nothing helped.

Phone used: Google Pixel 4 with degoogled OS (GrapheneOS) on Android 12

f321x commented 2 years ago

Ok worked after force closing the app and emptying cache but maybe this should be fixed to not get inexperienced users stuck right at the beginning