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
Till Dörges doerges@pre-sense.de writes:
since a few days I can't access build.opensuse.org anymore:
user@box:> osc -A https://build.opensuse.org ls
Please use https://api.opensuse.org instead.
Andreas.
Am 25.01.2016 um 21:41 schrieb Andreas Schwab:
Till Dörges doerges@pre-sense.de writes:
since a few days I can't access build.opensuse.org anymore:
user@box:> osc -A https://build.opensuse.org ls
Please use https://api.opensuse.org instead.
Perfect.
Thanks,
Till
buildservice@lists.opensuse.org