Mailinglist Archive: opensuse-buildservice (351 mails)

< Previous Next >
Re: [opensuse-buildservice] osc 0.105
  • From: Andreas Bauer <abauer@xxxxxxx>
  • Date: Thu, 10 Jul 2008 16:50:10 +0200
  • Message-id: <487621A2.8060903@xxxxxxx>
Peter Poeml schrieb:
On Thu, Jul 10, 2008 at 02:23:42PM +0000, Christian wrote:
Hi Peter,

is it broken ?

Not that I knew of, but 409 is surely a strange error code coming from
the API.

Somebody reported seeing a 409 some weeks ago, but no details about why
this happens could be found out.

The 409 is sent by the ichain proxy when it encounters a
non-redirectable request (like a POST request) using the http protocol
instead of https. Somehow the url stored in the .osc/_apiurl file inside
your working copy uses http protocol instead of https, therefore every
osc build fails with a 409.

You have to change the url in this file, osc build ignores -A and
settings from ~/.oscrc.


Andreas

osc -A https://api.opensuse.org build openSUSE_10.3 i586 obs-server.spec
Getting buildinfo from server

-- POST http://api.opensuse.org/build/openSUSE:Tools/openSUSE_10.3/i586/obs-server/_buildinfo
connect: (api.opensuse.org, 80)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.....
header: X-Error-Info: Received a non-redirectable request on a secure service. Change the URL from http to https and send the request again
header: Content-Type: text/html; charset=utf-8
header: Content-Length: 3046
header: Pragma: no-cache
header: Connection: close
Server returned an error: HTTP Error 409: Conflict

^^^^^^^^^^^^^

Note that the API says: "Received a non-redirectable request on a secure
service. Change the URL from http to https and send the request again"

Might be worth consideration.

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >