Bug 1107994

Summary: zypper install fails due to https-to-http redirection
Product: [openSUSE] openSUSE.org Reporter: Sebastian Parschauer <sebastian.parschauer>
Component: Download InfrastructureAssignee: Theo Chatzimichos <tchatzimichos>
Status: RESOLVED NORESPONSE QA Contact: Lars Vogdt <lars.vogdt>
Severity: Normal    
Priority: P5 - None CC: lars.vogdt, ma, meissner, opensuse, s.parschauer, sebastian.parschauer, tchvatal
Version: unspecified   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
See Also: http://bugzilla.suse.com/show_bug.cgi?id=1060231
Whiteboard:
Found By: L3 Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Sebastian Parschauer 2018-09-11 11:35:09 UTC
Seems to be the same issue like in bug 1060231 but nobody cared for that one as it has been reported for the wrong assignee.

I have my Leap 42.3 fixes repo configured like this:
> https://download.opensuse.org/repositories/home:/sparschauer:/leap42.3_fixes/openSUSE_Leap_42.3
Local name: fixes

I run
> zypper dup --allow-vendor-change -r fixes
to pull in my temporary fix packages.

zypper output:
> Retrieving package libgvnc-1_0-0-0.6.0-3.1.0.FIX.1099697.x86_64    (1/11), 103,5 KiB (284,2 KiB unpacked)
> Retrieving: libgvnc-1_0-0-0.6.0-3.1.0.FIX.1099697.x86_64.rpm .....................................[error]
Download (curl) error for 'https://download.opensuse.org/repositories/home:/sparschauer:/leap42.3_fixes/openSUSE_Leap_42.3/x86_64/libgvnc-1_0-0-0.6.0-3.1.0.FIX.1099697.x86_64.rpm':
> Error code:  Bad URL
> Error message: Protocol http not supported or disabled in libcurl
> 
> Abort, retry, ignore? [a/r/i/...? shows all options] (a):

Checked in the browser:
> https://download.opensuse.org/repositories/home:/sparschauer:/leap42.3_fixes/openSUSE_Leap_42.3/x86_64/libgvnc-1_0-0-0.6.0-3.1.0.FIX.1099697.x86_64.rpm

It tries to download from http://ftp.icm.edu.pl

Can you please fix that no http mirror is used for https? TIA
Comment 1 Sebastian Parschauer 2018-09-11 11:57:49 UTC
Temporarily fixed by adding
> https://ftp.icm.edu.pl/pub/Linux/opensuse/repositories/home:/sparschauer:/leap42.3_fixes/openSUSE_Leap_42.3/

as the local repo name "fixes2".
Comment 2 Sebastian Parschauer 2018-09-11 12:43:12 UTC
+CC the maintainers for zypper and curl. JFYI in case somebody reports duplicates.
Comment 4 Sebastian Parschauer 2018-09-12 16:39:10 UTC
I switched over to http now as the chosen mirror had slow ping responses the other day. OBS shouldn't suggest to use https if this is not working properly. So we'll have to remember to change to http after copy&paste of the OBS repo URI.
Comment 5 Sebastian Parschauer 2019-02-14 15:34:59 UTC
This is something worked on but rather slowly. The http workaround is working fine. So closing with noresponse for now.