Project

General

Profile

Actions

tickets #112211

open

mirrorcache-eu: URL transformed to HTTPS due to an HSTS policy

Added by pjessen almost 2 years ago. Updated 5 months ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
Mirrors
Target version:
-
Start date:
2022-06-08
Due date:
% Done:

0%

Estimated time:

Description

This does not look right:

wget -nd  http://download.opensuse.org/distribution/leap/15.4/iso/openSUSE-Leap-15.4-DVD-x86_64-Media.iso
--2022-06-08 16:19:17--  http://download.opensuse.org/distribution/leap/15.4/iso/openSUSE-Leap-15.4-DVD-x86_64-Media.iso
Resolving download.opensuse.org (download.opensuse.org)... 195.135.221.134, 2001:67c:2178:8::13
Connecting to download.opensuse.org (download.opensuse.org)|195.135.221.134|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: /distribution/leap/15.4/iso/openSUSE-Leap-15.4-DVD-x86_64-Build243.2-Media.iso [following]
--2022-06-08 16:19:17--  http://download.opensuse.org/distribution/leap/15.4/iso/openSUSE-Leap-15.4-DVD-x86_64-Build243.2-Media.iso
Reusing existing connection to download.opensuse.org:80.
HTTP request sent, awaiting response... 302 Found
Location: http://mirrorcache-eu.opensuse.org/distribution/leap/15.4/iso/openSUSE-Leap-15.4-DVD-x86_64-Build243.2-Media.iso [following]
URL transformed to HTTPS due to an HSTS policy
--2022-06-08 16:19:17--  https://mirrorcache-eu.opensuse.org/distribution/leap/15.4/iso/openSUSE-Leap-15.4-DVD-x86_64-Build243.2-Media.iso

In this case, it means my download is not given the best mirror, http://mirror.hostsuisse.com/opensuse, but instead a much slower mirror on https and ipv4 only.

What is funny is - the redirect to mirrorcache-eu doesn't happen all the time: ??

wget -nd  http://download.opensuse.org/distribution/leap/15.4/iso/openSUSE-Leap-15.4-DVD-x86_64-Media.iso
--2022-06-08 16:28:38--  http://download.opensuse.org/distribution/leap/15.4/iso/openSUSE-Leap-15.4-DVD-x86_64-Media.iso
Resolving download.opensuse.org (download.opensuse.org)... 195.135.221.134, 2001:67c:2178:8::13
Connecting to download.opensuse.org (download.opensuse.org)|195.135.221.134|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: /distribution/leap/15.4/iso/openSUSE-Leap-15.4-DVD-x86_64-Build243.2-Media.iso [following]
--2022-06-08 16:28:38--  http://download.opensuse.org/distribution/leap/15.4/iso/openSUSE-Leap-15.4-DVD-x86_64-Build243.2-Media.iso
Reusing existing connection to download.opensuse.org:80.
HTTP request sent, awaiting response... 302 Found
Location: http://opensusemirror.lihaso.com//distribution/leap/15.4/iso/openSUSE-Leap-15.4-DVD-x86_64-Build243.2-Media.iso [following]
--2022-06-08 16:28:38--  http://opensusemirror.lihaso.com//distribution/leap/15.4/iso/openSUSE-Leap-15.4-DVD-x86_64-Build243.2-Media.iso
Resolving opensusemirror.lihaso.com (opensusemirror.lihaso.com)... 46.140.178.124
Connecting to opensusemirror.lihaso.com (opensusemirror.lihaso.com)|46.140.178.124|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4083154944 (3.8G) [application/x-iso9660-image]
Saving to: ‘openSUSE-Leap-15.4-DVD-x86_64-Media.iso.1’

I guess the missing support for AS numbers means I can't be given the best mirror ? (that's separate issue though).

Actions #1

Updated by pjessen almost 2 years ago

  • Private changed from Yes to No
Actions #2

Updated by pjessen almost 2 years ago

  • Assignee set to andriinikitin
Actions #3

Updated by lrupp almost 2 years ago

  • Category set to Mirrors
Actions #4

Updated by crameleon 5 months ago

Any update, @andriinikitin ?

Actions #5

Updated by andriinikitin 5 months ago

  • Status changed from New to Feedback

Please excuse me delayed reply.

The first problem was probably some temporary glitch, I haven't seen any complain like this last year.

Is the other question still the issue?
It is true that AS redirection is not supported by MirrorCache.
Currently only Geo distance / Country / Continent is taken in consideration.

Did you consider using a client tool which can determine the best url using metalinks? E.g.

aria2c http://download.opensuse.org/distribution/leap/15.4/iso/openSUSE-Leap-15.4-DVD-x86_64-Build243.2-Media.iso.meta4

Actions

Also available in: Atom PDF