RTL: Step3 Initiate RTL Webserver Error

I am getting an error message when i try to initiate RTL webserver

C:\RTL\connect.js:162
                throw new Error(errMsg);
                ^

Directory is correct as follows but error also shows

Error:
Default Node Authentication can be set with LND Config Path only. Please set LND Config Path through environment/RTL.conf!

To reproduce , I followed the above steps all without errors. LND: 0.5.2 and node 4.11 installed successfully Thanks

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 34

Most upvoted comments

@anonymoustrident

  1. Slight correction for RTL authentication process:

    There are two ways to get authenticated by RTL:

    • DEFAULT,
    • CUSTOM
  • if nodeAuthType is set to DEFAULT, then

      => RTL reads lndConfigPath from 'RTL.conf' file.
      => Reads lnd.conf file from above path, searches for 'bitcoind.rpcpass' variable value.
      => Get the RTL server up by executing 'node rtl' in command.
      => User needs to open the browser and go to url 'http://localhost:3000'.
      => User will be asked to enter the RPC password in the browser.
      => User needs to enter the same value as 'bitcoind.rpcpass' value to get auhenticated.
    
  • if nodeAuthType is set to CUSTOM, then

      => RTL reads the password value from 'RTL.conf' file itself. 
      => User needs to set the password within RTL.conf's variable 'rtlPass'.
      => Start RTL node server, open 'http://localhost:3000' in the browser.
      => User can enter the password value same as assigned to 'rtlPass' to get authenticated.
    
  1. You do not need to define lndir path in the node console anymore. I believe that the whole confusion is due to wrong readme link. That command was required initially but as RTL evolved, the setup process evolved and became more intuitive. Please DO NOT follow the old link and check our new link to follow new setup process. (Updated the old read me file also, to avoid further confusion.) https://github.com/ShahanaFarooqui/RTL