all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: help-guix <help-guix@gnu.org>
Subject: offload: error: failed to connect to `#<input-output... Protocol error
Date: Mon, 21 Jan 2019 17:07:18 +0100	[thread overview]
Message-ID: <CAJ3okZ1mmz_XDyvG8o0OA-kbVjFOhTjvuffhPKkEEwjXw5GwRg@mail.gmail.com> (raw)

Dear,

I am not able to setup the offloading hook.

I mimmick the example:
(list
      (build-machine
        (name "my-machine.example.org")
        (system "x86_64-linux")
        (host-key "ssh-ed25519 AAAAB3Nza…")
        (user "simon")
        (private-key
         (string-append (getenv "HOME")
                        "/.ssh/identity-for-guix"))))

Then I get the error:  guix offload test

guix offload: testing 1 build machines defined in '/etc/guix/machines.scm'...
guix offload: Guix is usable on 'my-machine.example.org' (test
returned "/gnu/store/883yjkl46dxw9mzykykmbs0yzwyxm17z-test")
guix offload: 'my-machine.example.org is running GNU Guile 2.2.4
guix offload: error: failed to connect to `#<input-output: channel
(open) 2b76fc0>': Protocol error

I am not able to find what is wrong.

Moreover, if I try: guix build emacs --no-substitutes

process 4189 acquired build slot '/var/guix/offload/my-machine.example.org/0'
;;; [2019/01/21 16:58:01.231460, 0] private-key-from-file: [GSSH
ERROR] The file does not exist or permission denied:
"/root/.ssh/identity-for-guix"

I do not understand:
 1. between who is the key pairing? root or daemon or user?
 2. in which $PATH Guile needs to be in? which profile?

Thank you in advance for any insights.

All the best,
simon

             reply	other threads:[~2019-01-21 16:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-21 16:07 zimoun [this message]
2019-01-21 21:56 ` offload: error: failed to connect to `#<input-output... Protocol error Matthew Brooks
2019-01-22 14:00   ` zimoun
2019-01-23 15:41     ` Ricardo Wurmus
2019-01-28 17:13       ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ3okZ1mmz_XDyvG8o0OA-kbVjFOhTjvuffhPKkEEwjXw5GwRg@mail.gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.