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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 78274 in the body.
You can then email your comments to 78274 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#78274; Package guix. (Tue, 06 May 2025 03:44:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to arthurhdrodrigues <at> proton.me:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 06 May 2025 03:44:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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





Added tag(s) notabug. Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Fri, 09 May 2025 02:05:01 GMT) Full text and rfc822 format available.

Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Fri, 09 May 2025 02:05:02 GMT) Full text and rfc822 format available.

Notification sent to arthurhdrodrigues <at> proton.me:
bug acknowledged by developer. (Fri, 09 May 2025 02:05:02 GMT) Full text and rfc822 format available.

Message #12 received at 78274-done <at> debbugs.gnu.org (full text, mbox):

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




Information forwarded to bug-guix <at> gnu.org:
bug#78274; Package guix. (Fri, 09 May 2025 18:16:01 GMT) Full text and rfc822 format available.

Message #15 received at 78274 <at> debbugs.gnu.org (full text, mbox):

From: arthurhdrodrigues <at> proton.me
To: "78274 <at> debbugs.gnu.org" <78274 <at> debbugs.gnu.org>
Subject: SSL syscall failure error in guix pull
Date: Fri, 09 May 2025 18:14:55 +0000
Hi Maxim,

Thank you for the reply.

Oh, I didn't know about the DDoS attacks.
I've got some 502 codes while testing, but I presumed it was just
a network issue. 

I will try again after the Codeberg migration and
report here if the problem persists.

Thanks,
Arthur





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 07 Jun 2025 11:24:16 GMT) Full text and rfc822 format available.

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.