#790482 ftp2.de.d.o serves bzip2 instead of plain-text / 404

#790482#5
Date:
2015-06-29 17:42:06 UTC
From:
To:
Package: ftp.debian.org
Severity: normal

Try getting something like:
http://ftp2.de.debian.org/debian/dists/unstable/main/i18n/Translation-de
http://ftp.ch.debian.org/debian/dists/unstable/main/i18n/Translation-en

Result: Something like:
Resolving ftp2.de.debian.org (ftp2.de.debian.org)... 137.226.34.42
Connecting to ftp2.de.debian.org (ftp2.de.debian.org)|137.226.34.42|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4979488 (4.7M) [application/x-bzip2]

The content is not Translation-xx file that is described in InRelease
but the data from Translation-xx.bz2 version, Content-Type is also
doesn't make sense (it's octet-stream if you download .bz2 version).

Regards,
Eduard.

#790482#10
Date:
2015-08-21 23:16:44 UTC
From:
To:
Hi,

How is this relevant to ftp master?

APT does the right thing in order to cope with those mirrors that
happen to have apache multiviews enabled.

Cheers,

#790482#13
Date:
2015-08-21 23:16:44 UTC
From:
To:
Hi,

How is this relevant to ftp master?

APT does the right thing in order to cope with those mirrors that
happen to have apache multiviews enabled.

Cheers,

#790482#18
Date:
2015-08-22 13:49:27 UTC
From:
To:
Hallo,
* Raphael Geissert [Sat, Aug 22 2015, 01:16:44AM]:
problem, I blame nginx for this crap.

I reported this bug here since I assumed that the maintainers here are
doing some basic QA work and can dispatch the issue accordingly.

And regarding multiview, see below. Even when I set Accept-Encoding: to
identity, this does not change a thing. You might argue that
SHOULD!=MUST but it's still a broken way to handle this situation, IMHO.

| If an Accept-Encoding field is present in a request, and if the server
| cannot send a response which is acceptable according to the
| Accept-Encoding header, then the server SHOULD send an error response
| with the 406 (Not Acceptable) status code.

GET /debian/dists/unstable/main/i18n/Translation-de HTTP/1.1
User-Agent: Wget/1.16.3 (linux-gnu)
Accept: */*
Accept-Encoding: identity
Host: ftp2.de.debian.org
Connection: Keep-Alive

HTTP/1.1 200 OK
Server: nginx/1.6.2
Date: Sat, 22 Aug 2015 13:29:00 GMT
Content-Type: application/x-bzip2
Content-Length: 1832158
Connection: keep-alive
Content-Location: Translation-de.bz2
Vary: negotiate
TCN: choice
Last-Modified: Sat, 25 Apr 2015 03:14:16 GMT
ETag: "1bf4de-51483e868b200;51de294049878"
Accept-Ranges: byte

Regards,
Eduard.

#790482#23
Date:
2015-08-22 13:49:27 UTC
From:
To:
Hallo,
* Raphael Geissert [Sat, Aug 22 2015, 01:16:44AM]:
problem, I blame nginx for this crap.

I reported this bug here since I assumed that the maintainers here are
doing some basic QA work and can dispatch the issue accordingly.

And regarding multiview, see below. Even when I set Accept-Encoding: to
identity, this does not change a thing. You might argue that
SHOULD!=MUST but it's still a broken way to handle this situation, IMHO.

| If an Accept-Encoding field is present in a request, and if the server
| cannot send a response which is acceptable according to the
| Accept-Encoding header, then the server SHOULD send an error response
| with the 406 (Not Acceptable) status code.

GET /debian/dists/unstable/main/i18n/Translation-de HTTP/1.1
User-Agent: Wget/1.16.3 (linux-gnu)
Accept: */*
Accept-Encoding: identity
Host: ftp2.de.debian.org
Connection: Keep-Alive

HTTP/1.1 200 OK
Server: nginx/1.6.2
Date: Sat, 22 Aug 2015 13:29:00 GMT
Content-Type: application/x-bzip2
Content-Length: 1832158
Connection: keep-alive
Content-Location: Translation-de.bz2
Vary: negotiate
TCN: choice
Last-Modified: Sat, 25 Apr 2015 03:14:16 GMT
ETag: "1bf4de-51483e868b200;51de294049878"
Accept-Ranges: byte

Regards,
Eduard.

#790482#26
Date:
2015-08-22 13:49:27 UTC
From:
To:
Hallo,
* Raphael Geissert [Sat, Aug 22 2015, 01:16:44AM]:
problem, I blame nginx for this crap.

I reported this bug here since I assumed that the maintainers here are
doing some basic QA work and can dispatch the issue accordingly.

And regarding multiview, see below. Even when I set Accept-Encoding: to
identity, this does not change a thing. You might argue that
SHOULD!=MUST but it's still a broken way to handle this situation, IMHO.

| If an Accept-Encoding field is present in a request, and if the server
| cannot send a response which is acceptable according to the
| Accept-Encoding header, then the server SHOULD send an error response
| with the 406 (Not Acceptable) status code.

GET /debian/dists/unstable/main/i18n/Translation-de HTTP/1.1
User-Agent: Wget/1.16.3 (linux-gnu)
Accept: */*
Accept-Encoding: identity
Host: ftp2.de.debian.org
Connection: Keep-Alive

HTTP/1.1 200 OK
Server: nginx/1.6.2
Date: Sat, 22 Aug 2015 13:29:00 GMT
Content-Type: application/x-bzip2
Content-Length: 1832158
Connection: keep-alive
Content-Location: Translation-de.bz2
Vary: negotiate
TCN: choice
Last-Modified: Sat, 25 Apr 2015 03:14:16 GMT
ETag: "1bf4de-51483e868b200;51de294049878"
Accept-Ranges: byte

Regards,
Eduard.

#790482#31
Date:
2018-05-21 11:01:00 UTC
From:
To:
reassign 790482 mirrors
retitle 790482 ftp2.de.d.o serves bzip2 instead of plain-text / 404
thanks

Hi,

I am reassigning this old (but still reproducible) bug to the mirror
team as I assume they can help with getting ftp2.de.d.o to tweak their
configuration or at least help forward it.

I am quoting Eduard's mail in full below for the mirror team's
convenience and my reproduction attempt is appended below that mail.

Thanks,
~Niels

My reproduction attempt today:

#790482#40
Date:
2021-11-26 15:30:52 UTC
From:
To:
Ich bin Martial Douti, von Beruf Anwalt. Ich werde Sie bezüglich Ihres relativen Fondsbetrags von neun Komma acht Millionen US-Dollar kontaktieren. Kontaktieren Sie meine E-Mail-Adresse für alle Details.
    martialouti@hotmail.com

Grüße,
Martial Douti, esq

#790482#45
Date:
2021-11-26 15:30:52 UTC
From:
To:
Ich bin Martial Douti, von Beruf Anwalt. Ich werde Sie bezüglich Ihres relativen Fondsbetrags von neun Komma acht Millionen US-Dollar kontaktieren. Kontaktieren Sie meine E-Mail-Adresse für alle Details.
    martialouti@hotmail.com

Grüße,
Martial Douti, esq