unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Quinten Gruenthal <quintengruenthal@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 41878@debbugs.gnu.org
Subject: bug#41878: Handshake Error
Date: Tue, 16 Jun 2020 07:57:26 -0700	[thread overview]
Message-ID: <CAKg3DNufG9cOpkoatZY162FjifCDBO--B7q5T4j-=BJy-oJWNw@mail.gmail.com> (raw)
In-Reply-To: <87a713xwko.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 3637 bytes --]

Yes and yes. I didn't state explicitly that it was a problem with my
network only because I didn't want to appear overconfident in my amateur
diagnosis and I definitely prefer the second error message to the one that
dumps a trace and prompts the filing of a bug. This:

substitute: guix substitute: error: TLS error in procedure 'handshake':
Error in the pull function.
killing process 8828
Backtrace:
          11 (primitive-load
"/gnu/store/pl48b057h6yg8w6f7hafiilcc44d0fn6-compute-guix-derivation")
In ice-9/eval.scm:
    155:9 10 (_ _)
    159:9  9 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-user)
7fc5ff085f?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ./guix/store.scm:
  2025:24  8 (run-with-store #<store-connection 256.99 7fc5fd407640> _
#:guile-for-build _ #:system _ #:target _)
   1859:8  7 (_ _)
In ./guix/gexp.scm:
   243:18  6 (_ _)
   1061:2  5 (_ _)
    921:2  4 (_ _)
    782:4  3 (_ _)
In ./guix/store.scm:
  1907:12  2 (_ #<store-connection 256.99 7fc5fd407640>)
   1356:5  1 (map/accumulate-builds #<store-connection 256.99 7fc5fd407640>
_ _)
  1367:15  0 (_ #<store-connection 256.99 7fc5fd407640> _ _)

./guix/store.scm:1367:15: ERROR:
  1. &store-protocol-error:
      message: "`/gnu/store/5r3sb6bj6pppn4h35a35956mv5qrd011-guix-command
substitute' died unexpectedly"
      status: 1
guix pull: error: You found a bug: the program
'/gnu/store/pl48b057h6yg8w6f7hafiilcc44d0fn6-compute-guix-derivation'
failed to compute the derivation for Guix (version:
"cf48f0fc4c40a2ec0b38a445e1e13f37722a0ade"; system: "x86_64-linux";
host version: "ecf92194a55188a9c217d76617378749db063453"; pull-version: 1).
Please report it by email to <bug-guix@gnu.org>.

is much different than this:

guix substitute: error: TLS error in procedure 'handshake': Error in the
pull function.
substitution of
/gnu/store/k1da7bv579d8gvwdrakd9l4hxswknff2-guix-module-union failed
guix pull: error: some substitutes for the outputs of derivation
`/gnu/store/k2gdq7ahjaqmdgjr9xwywqpxvzazn467-guix-e07573432.drv' failed
(usually happens due to networking issues); try `--fallback' to build
derivation from source

especially to one as new to scheme as myself. I can't say why the two
errors were different as I'm not familiar mechanically with what phases
pull goes through but I can say the first error occurred during the
beginning of the pull and the second occurred in the wrap up thing it does
towards the end.


On Tue, Jun 16, 2020 at 1:07 AM Ludovic Courtès <ludo@gnu.org> wrote:

> Hi,
>
> Quinten Gruenthal <quintengruenthal@gmail.com> skribis:
>
> > Sure; though, as I mentioned before I did try again and it did work.
> Doing
> > a pull once more I failed with:
> >
> > guix substitute: error: TLS error in procedure 'handshake': Error in the
> > pull function.
> > substitution of
> > /gnu/store/k1da7bv579d8gvwdrakd9l4hxswknff2-guix-module-union failed
> > guix pull: error: some substitutes for the outputs of derivation
> > `/gnu/store/k2gdq7ahjaqmdgjr9xwywqpxvzazn467-guix-e07573432.drv' failed
> > (usually happens due to networking issues); try `--fallback' to build
> > derivation from source
>
> Could it be that you’re on a flaky network connection?
>
> > As with before, I was also able to succeed on a subsequent pull; but this
> > error seemed to be handled better as it suggested both the cause of the
> > problem and a possible solution.
>
> If the connection is dropped, there’s little we can do, but maybe you’re
> suggesting better error reporting?
>
> Thanks,
> Ludo’.
>
> PS: Please keep the bug Cc’d.
>

[-- Attachment #2: Type: text/html, Size: 4493 bytes --]

  parent reply	other threads:[~2020-06-16 15:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-15 16:30 bug#41878: Handshake Error Quinten Gruenthal
2020-06-15 19:42 ` Ludovic Courtès
2020-06-15 21:55   ` Quinten Gruenthal
2020-06-16  8:07     ` Ludovic Courtès
2020-06-16  9:31       ` Bengt Richter
2020-06-16 14:57       ` Quinten Gruenthal [this message]
2020-06-17 12:03         ` Ludovic Courtès
2020-08-30 10:06 ` bug#41878: 'guix substitute' and 'guix pull' fail gracelessly on flaky networks Brendan Tildesley
2020-09-11 14:17   ` 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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to='CAKg3DNufG9cOpkoatZY162FjifCDBO--B7q5T4j-=BJy-oJWNw@mail.gmail.com' \
    --to=quintengruenthal@gmail.com \
    --cc=41878@debbugs.gnu.org \
    --cc=ludo@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).