Re: Cannot fetch FreeBSD ports repository anymore

From: Li-Wen Hsu <lwhsu_at_freebsd.org>
Date: Wed, 11 Jan 2023 08:04:07 UTC
On Wed, Jan 11, 2023 at 2:17 PM Matthias Fechner <idefix@fechner.net> wrote:
>
> Dear all,
>
> if I try to fetch the FreeBSD repository using https I always get:
> ❯ g fetch -afpt
> error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504
> fatal: expected 'packfile'
>
> The part in the config:
> [remote "freebsd"]
>          fetch = +refs/notes/*:refs/notes/*
>          url = https://git.freebsd.org/ports.git
>          fetch = +refs/heads/*:refs/remotes/freebsd/*
>          pushurl = git@gitrepo.freebsd.org:ports.git
>
> I think it is maybe related to my pure internet connection.
>
> If I switch to ssh it takes some minutes the fetch starts, but it seems
> to work fine.
> Is it maybe necessary to adapt here some timeouts to have https fetch
> working also for slow internet connections?

This could be a server side issue caused by it took too long to
process your request.

git.freebsd.org is behind geodns so can you let us know which mirror
you were directed to? `drill git.freebsd.org` should work.

Best,
Li-Wen