Bugzilla – Bug 888268
Branching packages failed with: HTTP Error 401: basic auth failed
Last modified: 2014-09-17 13:06:27 UTC
My ~/.oscrc contains: [https://build.suse.de] email=tbechtold@suse.com user=tbechtold pass=secret aliases=i Creating branches from the webinterface works fine (with the same credentials, clicking on https://build.suse.de/package/branch_dialog/Devel:Cloud:4/patterns-cloud). But When I run the follwing command, I get a 401: $ osc -A i --debug branch Devel:Cloud:4 patterns-cloud POST https://build.suse.de/source/Devel:Cloud:4/patterns-cloud?cmd=branch Server returned an error: HTTP Error 401: basic auth failed Date: Tue, 22 Jul 2014 06:06:27 GMT Server: Apache/2.2.12 (Linux/SUSE) X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff X-Opensuse-APIVersion: 2.5.51.git20140717.b0eada4 WWW-Authenticate: basic realm="API login" X-Opensuse-Errorcode: anonymous_user X-Opensuse-Runtimes: {"view":1.6047609999999999,"db":0.447995,"backend":0,"xml":0} Vary: Accept-Encoding Cache-Control: no-cache X-Request-Id: 62682094-29aa-4029-bf64-5d3804150adf X-Runtime: 0.013565 X-Powered-By: Phusion Passenger 4.0.40 Status: 401 Unauthorized Content-Type: application/xml; charset=utf-8 Connection: close Transfer-Encoding: chunked
which osc version does this happen with ?
Fixed already. The problems was that I used build.suse.de as API server instead of api.suse.de . Sorry for the noise.
I ma facing the same problem. Also I am not able to commit. I have tried api.suse.de but still the same issue. osc-0.148.1-144.1.noarch
Created attachment 606694 [details] http debug from commit