SSL syscall failure error in guix pull

  • Done
  • quality assurance status badge
Details
2 participants
  • arthurhdrodrigues
  • Maxim Cournoyer
Owner
unassigned
Submitted by
arthurhdrodrigues
Severity
normal

Debbugs page

A
A
arthurhdrodrigues wrote on 5 May 17:32 -0700
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
DghRhxy72zrc1xxPy8TPPfHXG52-OWuoTVzYlVScmtt15u51Fyuz7eUQGjqZjg0i71DmMnTMsI7ffmf2GnfYpN8n8Mpj44MTtKZtsEmWdCU=@proton.me
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
M
M
Maxim Cournoyer wrote on 8 May 19:04 -0700
(address . arthurhdrodrigues@proton.me)
87v7qatu90.fsf@gmail.com
tag 78274 + notabug
thanks

Hi,

arthurhdrodrigues@proton.me writes:

Toggle quote (10 lines)
> 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
A
A
arthurhdrodrigues wrote on 9 May 11:14 -0700
SSL syscall failure error in guix pull
(name . 78274@debbugs.gnu.org)(address . 78274@debbugs.gnu.org)
5hthRYZ9HNr-VJ29XQA3zDV3pHCYrOR7RuHPdgBZJ2tmlnUFiTvWh0qedS8qJsin99ZJi0ZfGBrC6YT_VIa_-FF03wYJXzRaeRWmxzxZ5ZQ=@proton.me
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
?
Your comment

This issue is archived.

To comment on this conversation send an email to 78274@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 78274
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch