Project

General

Profile

Actions

tickets #55256

closed

zypper DL error: Error message: Redirect to protocol "http" not supported or disabled

Added by pgnd over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:

Description

hi,

as noted here,

https://unix.stackexchange.com/questions/399715/why-do-i-get-protocol-http-not-supported-or-disabled-in-libcurl
https://forums.opensuse.org/showthread.php/527052-Cached-files-in-home-cache-kioexec-krun-_-How-to-avoid?p=2838330#post2838330

and passed off here

https://github.com/openSUSE/open-build-service/issues/3847

quite frequently, I see the same here; e.g.,

zypper up
    ...
    (195/371) Installing: docbook-utils-minimal-0.6.14-lp151.463.26.noarch ................................................................................................................................................................................[done]
    Retrieving package python2-urlgrabber-4.0.0-lp151.3.30.noarch                                                                                                                                                       (196/371),  96.0 KiB (447.3 KiB unpacked)
    Retrieving: python2-urlgrabber-4.0.0-lp151.3.30.noarch.rpm .................................................................................................................................................................................[error (159 B/s)]
    Download (curl) error for 'https://download.opensuse.org/repositories/home:/pgnd:/devel:/python/openSUSE_Leap_15.1/noarch/python2-urlgrabber-4.0.0-lp151.3.30.noarch.rpm':
    Error code:  Unsupported protocol
    Error message: Redirect to protocol "http" not supported or disabled in libcurl

    Abort, retry, ignore? [a/r/i/...? shows all options] (a): r
    Retrieving: python2-urlgrabber-4.0.0-lp151.3.30.noarch.rpm ...............................................................................................................................................................................[done (46.2 KiB/s)]
    (196/371) Installing: python2-urlgrabber-4.0.0-lp151.3.30.noarch ......................................................................................................................................................................................[done]
    ...

where

cat pgnd-Python.repo                                                                                                                                                                                                
    [pgnd-Python]
    name=pgnd-Python
    enabled=1
    autorefresh=1
    baseurl=https://download.opensuse.org/repositories/home:/pgnd:/devel:/python/openSUSE_Leap_15.1
    type=rpm-md
    priority=40
    gpgcheck=1
    keeppackages=0
Actions #1

Updated by pgnd over 4 years ago

On 8/8/19 7:22 AM, admin@opensuse.org wrote:

[openSUSE Tracker]
Issue #55256 has been reported by pgnd.


tickets #55256: zypper DL error: Error message: Redirect to protocol "http" not supported or disabled
https://progress.opensuse.org/issues/55256

  • Author: pgnd
  • Status: New
  • Priority: Normal
  • Assignee:
  • Category:

* Target version:

Don't know if this is (un)related?

Repos frequently return an intermittent 'invalid' status,

zypper up
    ...
    Checking whether to refresh metadata for DocTools
    Repository 'DocTools' is invalid.
    [|] Error trying to read from 'https://download.opensuse.org/repositories/Documentation:/Tools/openSUSE_Leap_15.1'
    Please check if the URIs defined for this repository are pointing to a valid repository.
    Warning: Skipping repository 'DocTools' because of the above error.
    ...
^C

and < ~5 seconds later,

zypper up
    ...
    Checking whether to refresh metadata for DocTools
    Retrieving: repomd.xml ................................................................................................................................................................................................................................[done]
    ...
Actions #2

Updated by pjessen over 4 years ago

  • Private changed from Yes to No

Even though you access download.o.o with https, most mirrors don't support https, and mirrorbrain doesn't know about it either. The error message says it won't downgrade your access to unencrypted http. Change to using http://download.o.o, and it'll work fine.

Actions #3

Updated by lrupp over 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF