-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Error 503 Unable to Connect to LND Server after logging in to RTL #1120
Comments
Was able to solve the issue by changing the RTL config lnServerUrl from "localhost" to 127.0.0.1. I logged the errRes in the catch block and it showed address: '::1' which is the ipv6 loopback. I guess my LND was only listening on ipv4. |
@Zaphod101010 Thank you for sharing the solution. Closing it now. |
I also had this problem and needed to change |
VajraOfIndra
pushed a commit
to raspibolt/raspibolt
that referenced
this issue
Nov 16, 2022
Change `localhost` to `127.0.0.1` in the RTL config file to avoid the following errors: ``` $ node rtl [11/7/2022, 3:34:35 PM] INFO: RTL => Server is up and running, please open the UI at http://localhost:3000 or your proxy configured url. [11/7/2022, 3:35:05 PM] ERROR: Common => Error in Channel Backup for xxxxx: connect ECONNREFUSED ::1:8080 [11/7/2022, 3:35:05 PM] ERROR: GetInfo => Get Info Error: {"name":"RequestError","message":"Error: connect ECONNREFUSED ::1:8080","cause":{"errno":-111,"code":"ECONNREFUSED","syscall":"connect","address":"::1","port":8080},"error":{"errno":-111,"code":"ECONNREFUSED","syscall":"connect","address":"::1","port":8080},"options":{"url":"https://localhost:8080/v1/getinfo","rejectUnauthorized":false,"json":true,"headers":{},"method":"GET","qs":{},"simple":true,"resolveWithFullResponse":false,"transform2xxOnly":false}} ``` Here is a link to an issue on the RTL GitHub describing the same problem with this change posted as the solution Ride-The-Lightning/RTL#1120 Here is a link to an issue I created in the LND GitHub trying to troubleshoot it before I figured it out. lightningnetwork/lnd#7125
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
I seem to be having the same issue as this #1018
but running on ubuntu instead of windows.
I can use curl to query the LND rest api with the macaroon header, but calls to LND via RTL are failing with the following error after logging in to the RTL UI. It looks like RTL isn't sending any headers...
ERROR: GetInfo => Get Info Error: {"name":"RequestError","message":"Error: connect ECONNREFUSED ::1:8084","cause":{"errno":-111,"code":"ECONNREFUSED","syscall":"connect","address":"::1","port":8084},"error":{"errno":-111,"code":"ECONNREFUSED","syscall":"connect","address":"::1","port":8084},"options":{"url":"https://localhost:8084/v1/getinfo","rejectUnauthorized":false,"json":true,"headers":{},"method":"GET","qs":{},"simple":true,"resolveWithFullResponse":false,"transform2xxOnly":false}}
LND Config
RTL Config
Bitcoin Config
LND v0.15.2
RTL v0.13.1
Bitcoin v22.0.0
Firefox v105
The text was updated successfully, but these errors were encountered: