Skip to content

Odd integrated mode user flow #128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
justinpobrien opened this issue Oct 9, 2020 · 1 comment
Open

Odd integrated mode user flow #128

justinpobrien opened this issue Oct 9, 2020 · 1 comment

Comments

@justinpobrien
Copy link
Contributor

Perhaps not worth optimizing for but a brand new user trying to run Terminal for the first time in integrated mode needs to first:

  • Populate a lit.conf file for integrated mode and specify a password to login to the UI
  • Separately run lncli create to create a password for the wallet which they would only know to do after running Terminal
nolnd@ubuntu-s-1vcpu-1gb-sfo2-01:~/lightning-terminal-linux-amd64-v0.2.0-alpha.rc4$ ./litd --uipassword=My$trongP@ssword                                                        [43/54]
2020-10-09 03:23:59.769 [INF] LTND: Version: 0.11.1-beta.rc3 commit=lightning-terminal-v0.1.1-alpha-17-g22ae8222216c6c05d43ab2a560a2ed9a33d866d4, build=production, logging=default    
2020-10-09 03:23:59.770 [INF] LTND: Active chain: Bitcoin (network=testnet)                                                                                                            
2020-10-09 03:23:59.770 [INF] LTND: Opening the main database, this might take a few minutes...                                                                                        
2020-10-09 03:23:59.770 [INF] LTND: Opening bbolt database, sync_freelist=false                                                                                                        
2020-10-09 03:23:59.771 [INF] CHDB: Checking for schema update: latest_version=17, db_version=17                                                                                       
2020-10-09 03:23:59.771 [INF] LTND: Database now open (time_to_open=1.191937ms)!                                                                                                       
2020-10-09 03:23:59.794 [INF] BTCN: Loaded 6 addresses from file '/home/nolnd/.lnd/data/chain/bitcoin/testnet/peers.json'                                                              
2020-10-09 03:23:59.795 [INF] BTCN: Registering block subscription: id=1                                                                                                               
2020-10-09 03:23:59.795 [INF] RPCS: password gRPC proxy started at 0.0.0.0:8080                                                                                                        
2020-10-09 03:23:59.795 [INF] BTCN: Broadcaster now active                                                                                                                             
2020-10-09 03:23:59.795 [INF] RPCS: password RPC server listening on 0.0.0.0:10009                                                                                                     
2020-10-09 03:23:59.801 [INF] LTND: Waiting for wallet encryption password. Use `lncli create` to create a wallet, `lncli unlock` to unlock an existing wallet, or `lncli changepasswo$
d` to change the password of an existing wallet and unlock it.                                                                                                                         
2020-10-09 03:23:59.796 [WRN] GRPC: grpc: addrConn.createTransport failed to connect to {127.0.0.1:10009  <nil> 0 <nil>}. Err: connection error: desc = "transport: Error while dialin$
 dial tcp 127.0.0.1:10009: connect: connection refused". Reconnecting...                                                                                                               
2020-10-09 03:23:59.803 [INF] LITD: Dialing lnd gRPC server at 127.0.0.1:10009                                                                                                         
2020-10-09 03:23:59.819 [INF] BTCN: DNS discovery failed on seed testnet-seed.bitcoin.schildbach.de: lookup testnet-seed.bitcoin.schildbach.de on 127.0.0.53:53: no such host          
2020-10-09 03:23:59.803 [INF] BTCN: DNS discovery failed on seed x49.seed.tbtc.petertodd.org: lookup x49.seed.tbtc.petertodd.org on 127.0.0.53:53: no such host                        
2020-10-09 03:23:59.803 [INF] BTCN: 6 addresses found from DNS seed testnet-seed.bluematt.me                                                                                           
2020-10-09 03:23:59.820 [INF] BTCN: DNS discovery failed on seed x49.testnet-seed.bitcoin.jonasschnelli.ch: lookup x49.testnet-seed.bitcoin.jonasschnelli.ch on 127.0.0.53:53: server $
isbehaving                                                                                                                                                                             
2020-10-09 03:24:00.127 [ERR] BTCN: Unable to parse IP network for peer nkf5e6b7pl4jfd4a.onion:18333: unsupported IP type                                                              
----------------------------------------------------------                                                                                                                             
 Lightning Terminal (LiT) by Lightning Labs                                                                                                                                            
                                                                                                                                                                                       
 Operating mode      integrated                                                                                                                                                        
 Node status         locked                                                                                                                                                            
 Alias               maui-lit-testnet⚡                                                                                                                                                
 Version             0.11.1-beta.rc3                                                                                                                                                   
 Web interface       https://127.0.0.1:8443                                                                                                                                            
----------------------------------------------------------                                                                                                                             
2020-10-09 03:24:00.155 [INF] LITD: Listening for http_tls on: [::]:8443                                                                                                               
2020-10-09 03:24:00.172 [ERR] BTCN: Unable to parse IP network for peer nkf5e6b7pl4jfd4a.onion:18333: unsupported IP type                                                              
2020-10-09 03:24:00.242 [ERR] BTCN: Unable to parse IP network for peer 4zhkir2ofl7orfom.onion:18333: unsupported IP type                                                              
2020-10-09 03:24:00.356 [ERR] BTCN: Unable to parse IP network for peer 4zhkir2ofl7orfom.onion:18333: unsupported IP type
@guggero
Copy link
Member

guggero commented Oct 9, 2020

I agree this is not optimal. The mid term goal is to be able to configure and unlock the wallet from the UI. Certain steps towards that are already taken (on the backend side) in #116.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants