Bug 888268 - Branching packages failed with: HTTP Error 401: basic auth failed
Summary: Branching packages failed with: HTTP Error 401: basic auth failed
Status: REOPENED
Alias: None
Product: openSUSE.org
Classification: openSUSE
Component: BuildService (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Adrian Schröter
QA Contact: Adrian Schröter
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-22 06:10 UTC by Thomas Bechtold
Modified: 2014-09-17 13:06 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
http debug from commit (10.10 KB, application/octet-stream)
2014-09-17 13:06 UTC, Viktor Kijasev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Bechtold 2014-07-22 06:10:11 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
Comment 1 Ruediger Oertel 2014-09-11 11:58:07 UTC
which osc version does this happen with ?
Comment 2 Thomas Bechtold 2014-09-11 12:07:30 UTC
Fixed already. The problems was that I used build.suse.de as API server instead of api.suse.de . Sorry for the noise.
Comment 3 Viktor Kijasev 2014-09-17 12:51:48 UTC
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
Comment 4 Viktor Kijasev 2014-09-17 13:06:27 UTC
Created attachment 606694 [details]
http debug from commit