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

Bug#973581: apt: Occasional pipelined requests failing against localhost nginx mirror



Package: apt
Version: 2.1.11
Severity: normal

I have a local Debian mirror on a buster machine that I occasionally
build packages on too. Pretty stock Debian nginx config.

Recently I noticed repeated sbuild failures during package installation,
due to connection resets. Can't reproduce with apt 2.1.8 but can with
>= 2.1.9, so presumably the regression is due to
fa375493c5a4ed9c10d4e5257ac82c6e687862d3 disabling retries.

Clearly pipelining messups are still present.

It's quite repeatable on an "apt build-dep chromium" in a sid chroot.
Usually 2 packages will fail to download.

I took a stab at finding the source of the resets, but it's nothing
obvious. I see nginx resetting the connection about 100MiB into it,
immediately after an APT GET request. Those kind of pcaps are too big to
share and not that useful. But I can give you access to experiment, if
desired. Prod me by private email / IRC.

It's entirely possible that I simply haven't built anything on that
machine since apt 2.1.9 that triggers this bug.

SR


Reply to: