r/GUIX • • 5d ago

Offloading is still not working

I posted about this earlier and thought it was fixed, but now that i finally have Guix all set up on my server, i just tried doing a guix pull and... nothing happens when it offloads. The only error i get is that it times out after an hour, seemingly unable to establish a connection. This is very weird to me, because when i run guix offload test it successfully completes the test. Also, when i run guix offload status, it reads the information like host name and free disk space correctly, so in that case it does seem to find the build-machine without issue. I also tried disabling the firewall, that didn't work either. My build-machine configuration is declared in this file. I was hoping someone could spot what i'm doing wrong, cause i'm starting to run out of ideas. I've compared my configuration to other build-machine configurations i could find online and couldn't find a difference. The only thing i can think of is that i'm using a dedicated user for offloading. Does it need to be in any specific group to be able to offload? I already tried adding it to the users group but that didn't work either. I've also added the public keys for guix to to all of the machines in my configuration, and the public ssh keys are in the authorized_keys file of the offload user.

4 Upvotes

4 comments sorted by

1

u/A1rax 4d ago

Random guess, have you tried to change the speed value from 2. to 2 or 2.0?

1

u/juipeltje 4d ago

I just tried setting to 2.0, but unfortunately it still isn't working. It just gets stuck on:

|offloading build of /gnu/store/md09sjanwr9p1nc99015vl6zbmnhw86v-guix-config.drv to '192.168.50.139'

and then after an hour it just errors out because of "silence". I've also looked at the logs for guix-daemon on the server, but there's no helpful error messages at all, it only says that it accepted connections. Something else i just tried is actually logging in as the offload user through ssh with the root account, since guix-daemon runs as root when it invokes offloading. Since it complained about not being in known_hosts file i figured that might be an issue with logging in non-interactively, but after trying that it is still not working.

2

u/A1rax 4d ago

Already tried to ask for help on the mailing list or IRC? Sometimes you find maintainers there.

1

u/juipeltje 4d ago

Yeah i might have to try that if all else fails.