GNU bug report logs - #78274
SSL syscall failure error in guix pull

Previous Next

Package: guix;

Reported by: arthurhdrodrigues <at> proton.me

Date: Tue, 6 May 2025 03:44:02 UTC

Severity: normal

Tags: notabug

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#78274: closed (SSL syscall failure error in guix pull)
Date: Fri, 09 May 2025 02:05:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 09 May 2025 11:04:11 +0900
with message-id <87v7qatu90.fsf <at> gmail.com>
and subject line Re: bug#78274: SSL syscall failure error in guix pull
has caused the debbugs.gnu.org bug report #78274,
regarding SSL syscall failure error in guix pull
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
78274: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78274
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: arthurhdrodrigues <at> proton.me
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: SSL syscall failure error in guix pull
Date: Tue, 06 May 2025 00:32:04 +0000
Hello guix,

Last week I downloaded the latest iso of Guix System (v2ih7qy0xrh4w8hp9zd4r06kknbg95jr-image.iso) and after installed it I tried to run guix pull and got this error:

```
$ guix pull
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
guix pull: error: Git error: SSL error: syscall failure: Resource temporarily unavailable
```

Has anyone run into the same problem?

It seems to be an issue in libgit2 dealing with large repositories, because I've found this [open issue in libgit2sharp](https://github.com/libgit2/libgit2sharp/issues/1262#issuecomment-2833483789) reporting a similar behavior. In this thread, user Hex4dec even pointed out that the same problem happens in Guix System.

Some comments in this issue recommended to clone or pull a repository using git:// instead of https:// as a workaround.
To test this, I edited my `.config/guix/channels.scm` to be like this:

```plaintext
(list (channel
        (name 'guix)
        (url "git://git.savannah.gnu.org/guix.git")
        (introduction
         (make-channel-introduction
          "90f0f8713da9cf0dc0bb5c93446a4eba11075352"
          (openpgp-fingerprint
           "D963 A5A3 8A80 3D52 4461  F914 7483 0A27 6C32 8EC2")))))
```

And then `guix pull` and `sudo guix system reconfigure` worked as intended.

I still don't have a good understanding of guix to write and submit a patch for this issue. But as I understand, the only necessary change would be to change the URL in the file `.guix-channel` in guix source code to use git://, right?

If there is anything that I could help with this issue, count on me :)

Thanks in advance,
Arthur



[Message part 3 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: arthurhdrodrigues <at> proton.me
Cc: GNU Debbugs <control <at> debbugs.gnu.org>, 78274-done <at> debbugs.gnu.org
Subject: Re: bug#78274: SSL syscall failure error in guix pull
Date: Fri, 09 May 2025 11:04:11 +0900
tag 78274 + notabug
thanks

Hi,

arthurhdrodrigues <at> proton.me writes:

> Hello guix,
>
> Last week I downloaded the latest iso of Guix System (v2ih7qy0xrh4w8hp9zd4r06kknbg95jr-image.iso) and after installed it I tried to run guix pull and got this error:
>
> ```
> $ guix pull
> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
> guix pull: error: Git error: SSL error: syscall failure: Resource temporarily unavailable
> ```

I believe the error is accurate: the Savannah Git server has been having
DDoS issues as of recently, IIUC, and is struggling to serve requests.
Often, a 502 error is returned.

Your best bet is to try again after some time.  We'll be migrating to a
different Git server/forge soon (1 month time), so that should help.

Thanks for the report!

-- 
Thanks,
Maxim


This bug report was last modified 13 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.