[opensuse-buildservice] # osc ls -> Server returned an error: HTTP Error 401: basic auth failed
# osc ls -> Server returned an error: HTTP Error 401: basic auth failed Can error be fixed ? --Glenn # osc ls Server returned an error: HTTP Error 401: basic auth failed # # osc ls KDE:Current Server returned an error: HTTP Error 401: basic auth failed # zypper in osc Loading repository data... Reading installed packages... 'osc' is already installed. No update candidate for 'osc-0.152.0-2.30.1.noarch'. The highest available version is already installed. Resolving package dependencies... # -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Dienstag, 26. April 2016, 17:09:02 wrote doiggl@velocitynet.com.au:
# osc ls -> Server returned an error: HTTP Error 401: basic auth failed
Can error be fixed ?
first guess, you are using the wrong URL. Do osc -d ls the URL needs to start with https://api.opensuse.org ...
--Glenn
# osc ls Server returned an error: HTTP Error 401: basic auth failed #
# osc ls KDE:Current Server returned an error: HTTP Error 401: basic auth failed
# zypper in osc Loading repository data... Reading installed packages... 'osc' is already installed. No update candidate for 'osc-0.152.0-2.30.1.noarch'. The highest available version is already installed. Resolving package dependencies... #
-- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Can error be fixed ?
first guess, you are using the wrong URL. Do
osc -d ls
the URL needs to start with https://api.opensuse.org ...
- Have you got an example ? I tried: # osc -d ls GET https://api.opensuse.org/source Server returned an error: HTTP Error 401: basic auth failed Date: Tue, 03 May 2016 07:31:25 GMT Server: Apache/2.2.12 (Linux/SUSE) WWW-Authenticate: Basic realm="Use your novell account" Vary: accept-language,accept-charset Strict-Transport-Security: max-age=31536000 Accept-Ranges: bytes Connection: close Transfer-Encoding: chunked Content-Type: text/html; charset=iso-8859-1 Content-Language: en # rpm -qa | grep -i osc |sort osc-0.154.0-180.1.noarch osc-plugin-collab-0.98-21.1.noarch osc-plugin-install-0.25-1.1.noarch osc-plugin-overview-0.3.0-2.1.noarch osc-plugins-gnome-0.4.27-4.1.x86_64 --Glenn -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 2016-05-03 19:27:52 +1000, doiggl@velocitynet.com.au wrote:
Can error be fixed ?
first guess, you are using the wrong URL. Do
osc -d ls
the URL needs to start with https://api.opensuse.org ...
- Have you got an example ?
I tried: # osc -d ls GET https://api.opensuse.org/source Server returned an error: HTTP Error 401: basic auth failed Date: Tue, 03 May 2016 07:31:25 GMT Server: Apache/2.2.12 (Linux/SUSE) WWW-Authenticate: Basic realm="Use your novell account" Vary: accept-language,accept-charset Strict-Transport-Security: max-age=31536000 Accept-Ranges: bytes Connection: close Transfer-Encoding: chunked Content-Type: text/html; charset=iso-8859-1 Content-Language: en
Did you configure the correct username and password? You can check it via osc config https://api.opensuse.org user osc config https://api.opensuse.org pass Also check if the keyring usage is disabled (unless you explicitly want to use it): osc config general use_keyring osc config general gnome_keyring Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Adrian Schröter
-
doiggl@velocitynet.com.au
-
Marcus Hüwe