Need some help with strange cached content.
May 30, 2019 10:08PM
I have a Nginx setup that caches windows updates with slice for me and it work great 99% of the time. However sometimes I get corrupted cached files, They have what looks like plain html at the end of the file and that is confusing me. I have attached the file to this post as it's only small.

nginx version: nginx/1.16.0
Ubuntu 18.04
running in a Hyper-V VM

I cant seem to work out why this happens or how to reproduce it as after removing the file from the cache and downloading a range request again with curl (even asking for far more than the file has e.g 0-16777215) it seems to just work fine. Is this a problem that I can fix in Nginx configuration? or is it a result of windows updates CDN network behaving badly?

Access log line:
http_user_agent:"Windows-Update-Agent/10.0.10011.16384 Client-Protocol/1.70"

Strange content at end of cache'd file:
<HTML><HEAD><TITLE>Requested Range Not Satisfiable</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Requested Range Not Satisfiable</h2>
<hr><p>HTTP Error 416. The requested range is not satisfiable.</p>

If there is anything that i should look into I would appreciate the help :)

Regards, Yon

Edited 2 time(s). Last edit at 05/30/2019 10:18PM by YonNomNom.
open | download - 6311228e7225125421d1954abb2083a0 (9.9 KB)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 80
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready