[Bug 1200043] New: tumbleweed-cli get latest fails when HTTP Redirect is received because curl does not follow redirects by default
http://bugzilla.opensuse.org/show_bug.cgi?id=1200043 Bug ID: 1200043 Summary: tumbleweed-cli get latest fails when HTTP Redirect is received because curl does not follow redirects by default Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: JoeSalmeri@verizon.net QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- When tumbleweed-cli is installed and you issue 'tumbleweed latest' or 'tumbleweed status' you will sometimes get a blank value for latest. This occurs when an HTTP Redirect occurs as demonstrated here: GET /history/latest HTTP/1.1 Host: download.opensuse.org User-Agent: curl/7.83.1 Accept: */* Mark bundle as not supporting multiuse HTTP/1.1 302 Found Date: Sun, 29 May 2022 21:44:28 GMT Server: Apache content-length: 0 location: http://mirrorcache-eu.opensuse.org/history/latest When the HTTP Redirect occurs 'tumbleweed latest' or 'tumbleweed status' fails because curl does not follow redirects by default. To fix the issue all calls to curl should also specify the -L option which allows it to follow the 'Location:' header. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200043 Joe S <JoeSalmeri@verizon.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jimmy@boombatower.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200043 Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suse-beta@cboltz.de Assignee|screening-team-bugs@suse.de |jimmy@boombatower.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200043 http://bugzilla.opensuse.org/show_bug.cgi?id=1200043#c1 Andrii Nikitin <andrii.nikitin@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrii.nikitin@suse.com --- Comment #1 from Andrii Nikitin <andrii.nikitin@suse.com> --- This has been resolved in https://progress.opensuse.org/issues/111788 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200043 http://bugzilla.opensuse.org/show_bug.cgi?id=1200043#c2 --- Comment #2 from Joe S <jmscdba@gmail.com> --- (In reply to Andrii Nikitin from comment #1)
This has been resolved in https://progress.opensuse.org/issues/111788
Thanks Andril! Might still be a good idea to use curl -L in tumbleweed-cli so that if load balancing is enabled again it will just work. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com