Subject: Git error: no content-type header in response

From: Maxim Cournoyer <[email-masked]>
Date: Sat, 09 Jul 2022 10:40:43 -0400

Hello Guix,

Running: 'guix import elpa -a melpa paredit' produces:

--8<---------------cut here---------------start------------->8---
Backtrace:
          11 (primitive-load "/home/maxim/.config/guix/current/bin/guix")
In guix/ui.scm:
   2238:7 10 (run-guix . _)
  2201:10  9 (run-guix-command _ . _)
In guix/scripts/import.scm:
    92:11  8 (guix-import . _)
In guix/scripts/import/elpa.scm:
   104:24  7 (guix-import-elpa . _)
In guix/import/elpa.scm:
    213:2  6 (elpa->guix-package _ #:repo _ #:version _)
In ice-9/boot-9.scm:
  1752:10  5 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/store.scm:
   659:37  4 (thunk)
In guix/git.scm:
    550:8  3 (latest-repository-commit #<store-connection 256.99 7f516171b6e0> "https://mumble.net/~c…" …)
   465:29  2 (update-cached-checkout "https://mumble.net/~campbell/git/paredit.git" #:ref _ # _ # _ # _ …)
   397:11  1 (_ git-error #<<git-error> code: -1 message: "no content-type header in response" class: …>)
In ice-9/boot-9.scm:
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Git error: no content-type header in response
--8<---------------cut here---------------end--------------->8---

Cloning the repo via the command line succeeds, so it seems libgit
library has a problem, or the guile-git bindings.

Thanks,

Maxim