Skip to content
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

rtl: fix lnd, lightning-loop connection errors #631

Merged
merged 1 commit into from
Jul 29, 2023

Conversation

erikarvstedt
Copy link
Collaborator

Copy of commit msg

lnd and lightning-loop resolve localhost to an IPv4 address when creating RPC sockets.

Since NixOS 23.05, RTL (nodejs) resolves localhost to an IPv6 address when connecting to lnd and lightning-loop, which leads to connection errors.

To fix these and other potential errors, replace all instances of localhost with 127.0.0.1.

lnd and lightning-loop resolve `localhost` to an IPv4 address when
creating RPC sockets.

Since NixOS 23.05, RTL (nodejs) resolves `localhost` to an IPv6
address when connecting to lnd and lightning-loop, which leads to
connection errors.

To fix these and other potential errors, replace all instances
of `localhost` with `127.0.0.1`.
Copy link
Member

@jonasnick jonasnick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 14ca8b4

@jonasnick jonasnick merged commit 2e53fd2 into fort-nix:master Jul 29, 2023
5 checks passed
@naturallaw777
Copy link

Thanks for correcting this! Much appreciated!

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

Successfully merging this pull request may close these issues.

None yet

3 participants