Project

General

Profile

Actions

tickets #36213

closed

Images in certain languages on counter-o-o respond with 406 error

Added by hellcp almost 6 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Servers hosted in NBG
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Hi,
https://countdown.opensuse.org/picker

Certain languages can't display pictures, as they respond with 406 error
i.e.
https://countdown.opensuse.org/small-label.pl.png
LCP [Stasiek]
https://lcp.world

Actions #1

Updated by cboltz almost 6 years ago

I can at least explain the problem:

# wget https://countdown.opensuse.org/small-label.pl.png
...
HTTP request sent, awaiting response... 200 OK
...
2018-05-20 13:10:06 (46.4 MB/s) - 'small-label.pl.png' saved [2933/2933]

# wget --header 'Accept-Language: de,en' https://countdown.opensuse.org/small-label.pl.png
...
HTTP request sent, awaiting response... 406 Not Acceptable
2018-05-20 13:10:08 ERROR 406: Not Acceptable.

so if the Accept-Language header does not match the language of the file, Apache returns 406 Not Acceptable

https://httpd.apache.org/docs/2.2/mod/mod_negotiation.html#forcelanguagepriority says ForceLanguagePriority Fallback should fix this. I tried, and sadly it does not help :-(

Can someone who is more familiar with mod_negotiation please have a look?

Actions #2

Updated by cboltz almost 6 years ago

  • Private changed from Yes to No
Actions #3

Updated by tampakrap almost 6 years ago

  • Category set to Servers hosted in NBG
  • Assignee set to IonutVan
Actions #4

Updated by cboltz about 5 years ago

  • Status changed from New to Resolved
  • Assignee changed from IonutVan to cboltz

This will be fixed with the new countdown.o.o server, see https://gitlab.infra.opensuse.org/infra/salt/merge_requests/197

Actions #5

Updated by cboltz almost 5 years ago

It took longer than planned, but since 30 minutes counter.o.o gets served from a new server which should have this bug fixed.

Actions

Also available in: Atom PDF