I'm attemting to run an ubuntu mirror for use by local systems, using httpd on OpenBSD 7.0-stable.
I am running into some issues that look like a bug in httpd but I am not certain. When I attempt to install a server using this mirror I will often (but not always) get an error similar to the one shown in this screen grab: https://i.ibb.co/KysrhmH/error.png The file with the bad hashes has always been one of these two (usually the first one): - /ubuntu/dists/focal/multiverse/cnf/Commands-amd64.xz - /ubuntu/dists/focal/multiverse/i18n/Translation-en.xz Looking at the httpd access log I will see many request for this file: default 172.16.99.5 - - [20/Nov/2021:22:24:54 -0500] "GET /ubuntu/dists/focal/multiverse/cnf/Commands-amd64.xz HTTP/1.1" 200 9136 default 172.16.99.5 - - [20/Nov/2021:22:24:54 -0500] "GET /ubuntu/dists/focal/multiverse/cnf/Commands-amd64.xz HTTP/1.1" 200 9136 default 172.16.99.5 - - [20/Nov/2021:22:24:54 -0500] "GET /ubuntu/dists/focal/multiverse/cnf/Commands-amd64.xz HTTP/1.1" 200 9136 default 172.16.99.5 - - [20/Nov/2021:22:24:54 -0500] "GET /ubuntu/dists/focal/multiverse/cnf/Commands-amd64.xz HTTP/1.1" 206 8491 default 172.16.99.5 - - [20/Nov/2021:22:24:54 -0500] "GET /ubuntu/dists/focal/multiverse/cnf/Commands-amd64.xz HTTP/1.1" 206 7846 default 172.16.99.5 - - [20/Nov/2021:22:24:54 -0500] "GET /ubuntu/dists/focal/multiverse/cnf/Commands-amd64.xz HTTP/1.1" 206 7201 default 172.16.99.5 - - [20/Nov/2021:22:24:54 -0500] "GET /ubuntu/dists/focal/multiverse/cnf/Commands-amd64.xz HTTP/1.1" 206 6556 default 172.16.99.5 - - [20/Nov/2021:22:24:54 -0500] "GET /ubuntu/dists/focal/multiverse/cnf/Commands-amd64.xz HTTP/1.1" 206 5911 default 172.16.99.5 - - [20/Nov/2021:22:24:54 -0500] "GET /ubuntu/dists/focal/multiverse/cnf/Commands-amd64.xz HTTP/1.1" 206 5266 default 172.16.99.5 - - [20/Nov/2021:22:24:54 -0500] "GET /ubuntu/dists/focal/multiverse/cnf/Commands-amd64.xz HTTP/1.1" 206 4621 default 172.16.99.5 - - [20/Nov/2021:22:24:54 -0500] "GET /ubuntu/dists/focal/multiverse/cnf/Commands-amd64.xz HTTP/1.1" 206 3976 default 172.16.99.5 - - [20/Nov/2021:22:24:54 -0500] "GET /ubuntu/dists/focal/multiverse/cnf/Commands-amd64.xz HTTP/1.1" 206 3331 default 172.16.99.5 - - [20/Nov/2021:22:24:54 -0500] "GET /ubuntu/dists/focal/multiverse/cnf/Commands-amd64.xz HTTP/1.1" 206 2686 default 172.16.99.5 - - [20/Nov/2021:22:24:54 -0500] "GET /ubuntu/dists/focal/multiverse/cnf/Commands-amd64.xz HTTP/1.1" 206 2041 default 172.16.99.5 - - [20/Nov/2021:22:24:54 -0500] "GET /ubuntu/dists/focal/multiverse/cnf/Commands-amd64.xz HTTP/1.1" 206 1396 default 172.16.99.5 - - [20/Nov/2021:22:24:54 -0500] "GET /ubuntu/dists/focal/multiverse/cnf/Commands-amd64.xz HTTP/1.1" 206 751 default 172.16.99.5 - - [20/Nov/2021:22:24:54 -0500] "GET /ubuntu/dists/focal/multiverse/cnf/Commands-amd64.xz HTTP/1.1" 206 106 When the hash check does not fail, I only see one request: default 172.16.99.5 - - [20/Nov/2021:22:46:50 -0500] "GET /ubuntu/dists/focal/multiverse/cnf/Commands-amd64.xz HTTP/1.1" 200 9136 I tried running httpd with -dvv flags, hoping it would log the request as well as the response, but it did not. Interestingly though, I never get this error with httpd in debug mode. I also have not had this error using nginx as the http server. So as I understand it, HTTP 206 response must mean the client is making a range request? But why do I not see this with httpd in debug mode or with nginx? I would prefer to use httpd because of the simplicity of configuration and also a preference for keeping installed packages to a minimum. What can I do to help debug? I have a couple of hundred Ubuntu machines to install so I would like to resolve this. Allan