unman / shaker

19 stars 13 forks source link

Cacher update proxy throws error for some repos #29

Closed unman closed 7 months ago

unman commented 9 months ago

With some repositories correctly configured to use cacher, updates fail.

The reported error is: 503 Server reports unexpected range [IP: 127.0.0.1:8082]

Updates fail for that repository because InRelease cannot be downloaded. Other repositories update well.

Can be see with (e.g): http://HTTPS///apt.syncthing.net

ben-grande commented 9 months ago

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053833

Although Shaker is not cascading Acng, I think Syncthing repo does not set the HTTP header If-Range correctly.

Acng option VfileUseRangeOps: 0 can be set to circumvent the Syncthing repository issue.

unman commented 9 months ago

Right

ben-grande commented 8 months ago

Fixed in 0a68a89df36cbee15e250475b4a760f4f4ec5ecd

tlaurion commented 7 months ago

@unman you can close