Mailinglist Archive: opensuse-buildservice (63 mails)

< Previous Next >
[opensuse-buildservice] Can't access OBS (HTTP Error 401: basic auth failed)
Hello all,

since a few days I can't access build.opensuse.org anymore:

user@box:> osc -A https://build.opensuse.org ls
Server returned an error: HTTP Error 401: basic auth failed


The problem persists, even if I start from scratch

mv ~/.oscrc ~/.oscrc.old
rm ~/.osc_cookiejar

The credentials are correct. Login via browser works, too.

Using the debug switch doesn't give me anything obvious

osc --http-full-debug -A https://build.opensuse.org ls

What the client sends, looks OK (I replaced the base64 encoded string, but it
definitely does contain the correct credentials):

send: 'GET /source HTTP/1.1\r\nAccept-Encoding: identity\r\nHost:
build.opensuse.org\r\nConnection: close\r\nAuthorization: Basic
<REPLACED>=\r\nUser-agent: osc/0.145\r\n\r\n'

The reply then reads

reply: 'HTTP/1.1 401 Unauthorized\r\n'
header: Date: Mon, 25 Jan 2016 18:58:53 GMT
header: Server: Apache/2.2.12 (Linux/SUSE)
header: Strict-Transport-Security: max-age=31536000
header: Cache-Control: no-cache
header: Vary: Accept-Encoding
header: X-XSS-Protection: 1; mode=block
header: WWW-Authenticate: basic realm="API login"
header: X-Opensuse-Runtimes: {"view":0.0,"db":1.019252,"backend":0,"xml":0}
header: X-Request-Id: d3115a6c-b7b6-45eb-bfac-d3dfc6ae55ee
header: X-Opensuse-APIVersion: %version
header: X-Runtime: 0.010875
header: X-Frame-Options: SAMEORIGIN
header: X-Content-Type-Options: nosniff
header: X-Opensuse-Errorcode: anonymous_user
header: X-Powered-By: Phusion Passenger 5.0.22
header: Status: 401 Unauthorized
header: Content-Type: application/xml; charset=utf-8
header: Connection: close
header: Transfer-Encoding: chunked


I tested with OSC versions 0.145 and 0.152.


Why does it not work anymore?


Any help is appreciated as usual!

Thanks and regards,

Till
--
Dipl.-Inform. Till Dörges doerges@xxxxxxxxxxxx
Tel. +49 - 40 - 244 2407 - 14
Fax +49 - 40 - 244 2407 - 24
PRESENSE Technologies GmbH Sachsenstr. 5, D-20097 HH
Geschäftsführer/Managing Directors AG Hamburg, HRB 107844
Till Dörges, Jürgen Sander USt-IdNr.: DE263765024
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups