NetBSD-Users archive

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

Re: "hg clone https://anonhg.netbsd.org/src/" still aborts, but...



At Fri, 12 Jun 2020 07:34:55 -0400, matthew sporleder <msporleder%gmail.com@localhost> wrote:
Subject: Re: "hg clone https://anonhg.netbsd.org/src/"; still aborts, but...
>
> On Thu, Jun 11, 2020 at 11:34 PM Greg A. Woods <woods%planix.ca@localhost> wrote:
> >
> > Just a wee while ago it was again mentioned that 'hg clone' would be a
> > suitable way to download NetBSD sources, but I've been trying this off
> > and on for over a month now and always end up with a failure and abort
> > just like this attempt today:
> >
> > $ hg clone https://anonhg.netbsd.org/src/ h-NetBSD-src
> > applying clone bundle from https://cdn.NetBSD.org/_bundles/src/77d2a2ece3a06d837da45acd0fda80086ab4113c.zstd.hg
> > adding changesets
> > adding manifests
> > manifests [====================================>         ] 751718/931876 48m52s
> > transaction abort!
> > rollback completed
> > abort: stream ended unexpectedly  (got 32754 bytes, expected 32768)

>
> curl 'https://cdn.NetBSD.org/_bundles/src/77d2a2ece3a06d837da45acd0fda80086ab4113c.zstd.hg'
> |md5
> 394158db5733b878963e9d6a5eb721d5
>
> what did you get?  why does that clone fail?

$ md5 /build/work-tmp/77d2a2ece3a06d837da45acd0fda80086ab4113c.zstd.hg
MD5 (/build/work-tmp/77d2a2ece3a06d837da45acd0fda80086ab4113c.zstd.hg) = 394158db5733b878963e9d6a5eb721d5

As shown above it would seem that something on the server side, or
between me and the server, simply drops the connection after
transmitting some portion of the data or after some time has elapsed.

My guess is that when "hg clone" opens the connection then it cannot
fetch the data fast enough and something somewhere times the connection
out.

However when the data is fetched first by direct means then the
connection stays open for long enough to pull it all.

Probably it is a load balancer, a NAT, or some other kind of tunnel that
times out.  I think only someone familiar with the whole infrastructure
in front of cdn.NetBSD.org would be able to make a better guess.

--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>

Attachment: pgp0duv_XVaBI.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index