This was debugged and sorted out by dusty and patrick... but I'll put up the freeze break.
+1s?
kevin -- commit 21567213544015bba8390c096543d892cf5bb563 Author: Patrick Uiterwijk puiterwijk@redhat.com Date: Mon May 22 02:45:40 2017 +0000
Unset Accept-Encoding for kojipkgs
python-requests sets this to "gzip, deflate", and when it tries to download an aarch64 vmlinuz, it gets (correctly) reported as Encoding: gzip. This triggers automatic gzip decompression by urllib3, resulting in the following error: Expected to download 6529431 bytes, downloaded 15618560
Unsetting Accept-Encoding request header tells mod_deflate it should not send the Encoding: gzip header, avoiding the auto-decompression by urllib3.
Signed-off-by: Patrick Uiterwijk puiterwijk@redhat.com
diff --git a/roles/kojipkgs/files/kojipkgs.conf b/roles/kojipkgs/files/kojipkgs.conf index 5779a74..cf8ea56 100644 --- a/roles/kojipkgs/files/kojipkgs.conf +++ b/roles/kojipkgs/files/kojipkgs.conf @@ -1,5 +1,7 @@ ServerName https://kojipkgs.fedoraproject.org
+RequestHeader unset Accept-Encoding early + CustomLog "| /usr/sbin/rotatelogs /var/log/httpd/kojipkgs01.fedoraproject.org-access.log.%Y-%m-%d 86400" combined ErrorLog "| /usr/sbin/rotatelogs /var/log/httpd/kojipkgs01.fedoraproject.org-error.log.%Y-%m-%d 86400"
On 05/22/2017 09:21 PM, Kevin Fenzi wrote:
This was debugged and sorted out by dusty and patrick... but I'll put up the freeze break.
+1s?
+1 from me even though it doesn't count :)
For real, just wanted to mention that if you want some background on this I opened a few detailed issues about it earlier today. Start here [1].
Dusty
On Mon, May 22, 2017 at 07:21:58PM -0600, Kevin Fenzi wrote:
This was debugged and sorted out by dusty and patrick... but I'll put up the freeze break.
+1s?
kevin
commit 21567213544015bba8390c096543d892cf5bb563 Author: Patrick Uiterwijk puiterwijk@redhat.com Date: Mon May 22 02:45:40 2017 +0000
Unset Accept-Encoding for kojipkgs python-requests sets this to "gzip, deflate", and when it tries to download an aarch64 vmlinuz, it gets (correctly) reported as Encoding: gzip. This triggers automatic gzip decompression by urllib3, resulting in the following error: Expected to download 6529431 bytes, downloaded 15618560 Unsetting Accept-Encoding request header tells mod_deflate it should not send the Encoding: gzip header, avoiding the auto-decompression by urllib3. Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
diff --git a/roles/kojipkgs/files/kojipkgs.conf b/roles/kojipkgs/files/kojipkgs.conf index 5779a74..cf8ea56 100644 --- a/roles/kojipkgs/files/kojipkgs.conf +++ b/roles/kojipkgs/files/kojipkgs.conf @@ -1,5 +1,7 @@ ServerName https://kojipkgs.fedoraproject.org
+RequestHeader unset Accept-Encoding early
CustomLog "| /usr/sbin/rotatelogs /var/log/httpd/kojipkgs01.fedoraproject.org-access.log.%Y-%m-%d 86400" combined ErrorLog "| /usr/sbin/rotatelogs /var/log/httpd/kojipkgs01.fedoraproject.org-error.log.%Y-%m-%d 86400"
+1 for me
Pierre
On Tue, May 23, 2017 at 2:21 AM, Kevin Fenzi kevin@scrye.com wrote:
This was debugged and sorted out by dusty and patrick... but I'll put up the freeze break.
+1s?
+1 from me
kevin
commit 21567213544015bba8390c096543d892cf5bb563 Author: Patrick Uiterwijk puiterwijk@redhat.com Date: Mon May 22 02:45:40 2017 +0000
Unset Accept-Encoding for kojipkgs python-requests sets this to "gzip, deflate", and when it tries to download an aarch64 vmlinuz, it gets (correctly) reported as Encoding: gzip. This triggers automatic gzip decompression by urllib3, resulting in the following error: Expected to download 6529431 bytes, downloaded 15618560 Unsetting Accept-Encoding request header tells mod_deflate it should not send the Encoding: gzip header, avoiding the auto-decompression by urllib3. Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
diff --git a/roles/kojipkgs/files/kojipkgs.conf b/roles/kojipkgs/files/kojipkgs.conf index 5779a74..cf8ea56 100644 --- a/roles/kojipkgs/files/kojipkgs.conf +++ b/roles/kojipkgs/files/kojipkgs.conf @@ -1,5 +1,7 @@ ServerName https://kojipkgs.fedoraproject.org
+RequestHeader unset Accept-Encoding early
CustomLog "| /usr/sbin/rotatelogs /var/log/httpd/kojipkgs01.fedoraproject.org-access.log.%Y-%m-%d 86400" combined ErrorLog "| /usr/sbin/rotatelogs /var/log/httpd/kojipkgs01.fedoraproject.org-error.log.%Y-%m-%d 86400"
infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-leave@lists.fedoraproject.org
infrastructure@lists.fedoraproject.org