[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Let guix client accept HTTP redirection

From: Ludovic Courtès
Subject: Re: Let guix client accept HTTP redirection
Date: Mon, 14 Dec 2020 11:00:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)


Peng Mei Yu <> skribis:

> Good news.  The maintainers of (an academic
> free software mirror site) agreed to accept Guix into their support
> list.


> Bad news.  Their first implementation of a Guix mirror failed.  Their
> server architecture is like this: A front-end program accepts HTTP
> requests.  It looks up the requested resource from a storage server
> similar to Amazon S3.  If the resource is found on storage server,
> return an HTTP 302 redirection to the storage server.  If the resource
> is not found, return an HTTP 302 redirection to and
> fetch the resource from then store it in the storage
> server.  So the next time the same resource is requested, it can be
> served from the storage server.
> During the test, we found that guix client does not accept HTTP 302
> redirection.  So we are working on a different implementation.  In the
> meantime, I think the problem should be reported here and let's find out
> if something can be done from the Guix side.

Yes, people reported that issue just recently:

Until that is fixed, and until the fix propagates to user installations,
I think you’ll have to arrange so that the mirror transparently proxies
requests instead of returning 302, or just returns 404.  How does that


reply via email to

[Prev in Thread] Current Thread [Next in Thread]