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

Nixos: Unable to use lokinet #2201

Closed
0xMRTT opened this issue Aug 22, 2023 · 2 comments
Closed

Nixos: Unable to use lokinet #2201

0xMRTT opened this issue Aug 22, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@0xMRTT
Copy link

0xMRTT commented Aug 22, 2023

Describe the bug
I tried to use lokinet on NixOS with the following config

services.lokinet = {
  enable = true;
  settings = {
    network.exit-node = [ "exit.loki" ];
  };
};

I've systemd-resolvd and lokinetrunning, but when i run this config, i don't have any internet access. In the logs, I see a lot of:

[path:warning|llarp/path/pathbuilder.cpp:354] endpoint:4erkkzakwxsabh8ocyy7xdj75gmf8rr78ni5f847fxgpgkiiuuxo.loki has no first hop candidate
[:warning|llarp/service/endpoint.cpp:118] could not publish descriptors for endpoint endpoint:4erkkzakwxsabh8ocyy7xdj75gmf8rr78ni5f847fxgpgkiiuuxo.loki because we couldn't get enough valid introductions

Is the issue with lokinet or with a misconfiguration on my end ?

To Reproduce
Use the previous config on Nixos

Screenshots Or Logs
See previously

Device and Operating system (please complete the following information):

  • OS: [e.g. iOS, Windows, Android] NixOS
  • Device: [ e.g. Mac, PC, IPhone] PC
  • Lokinet Version number or Git commit hash: 0.9.11
@0xMRTT 0xMRTT added the bug Something isn't working label Aug 22, 2023
@majestrate
Copy link
Contributor

is there an issue with nixos's lokinet package too? this error line is reported when lokinet cannot connect to a first hop on the network, and a large number of things could cause this to occur.

@wyndon
Copy link

wyndon commented Sep 2, 2023

You need to use useLocally for it to modify the DNS settings automatically. I'm not so sure why we did this at the time, if you can think of a better way to handle this let me know, or open a PR on nixpkgs.

We can close as it's not related to this repo.

@0xMRTT 0xMRTT closed this as completed Sep 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants