Mailinglist Archive: opensuse-buildservice (140 mails)

< Previous Next >
Re: [opensuse-buildservice] Installing local obs 2.3.2 getting problem connectiong to remote project via https://api.opensuse.org/public?
Nope it's already set to:
NO_PROXY="localhost, 127.0.0.1"

//Christian

----- Original Message -----
From: "Adrian Schröter" <adrian@xxxxxxx>
To: "Christian Nilsson" <cnilsson@xxxxxxxxxxxx>
Cc: opensuse-buildservice@xxxxxxxxxxxx
Sent: Friday, July 6, 2012 10:47:36 AM
Subject: Re: [opensuse-buildservice] Installing local obs 2.3.2 getting problem
connectiong to remote project via https://api.opensuse.org/public?

Am Freitag, 6. Juli 2012, 10:42:20 schrieb Christian Nilsson:
That helped....
Another thing, the /etc/init.d/obsworker startscript seems not support
noproxy, i had to change the line:
#curl -s "$WORKER_CODE"/getworkercode | cpio --quiet --extract
to
curl -x "" -s "$WORKER_CODE"/getworkercode | cpio --quiet --extract

Tried to set the env http(s)_proxy="" but that was not enough...

Or am i doing something wrong here too?

It should help to set it in

/etc/sysconfig/proxy

Thanks!
Christian

----- Original Message -----
From: "Adrian Schröter" <adrian@xxxxxxx>
To: opensuse-buildservice@xxxxxxxxxxxx
Cc: "Christian Nilsson" <cnilsson@xxxxxxxxxxxx>
Sent: Friday, July 6, 2012 10:21:26 AM
Subject: Re: [opensuse-buildservice] Installing local obs 2.3.2 getting
problem connectiong to remote project via https://api.opensuse.org/public?

Am Freitag, 6. Juli 2012, 10:13:16 schrieb Christian Nilsson:
Hi all!

So I'm struggling with the installation of obs 2.3.2 (from rpm packages).
I have followed the /usr/share/doc/packages/obs-api/README.SETUP
Now i have come to the point:

4.1 Reuse projects hosted on openSUSE.org build service
So have done this:
#curl -x "" -0 --user "Admin:opensuse" -X PUT -T
/usr/share/doc/packages/obs-api/openSUSE.org.xml
https://localhost:444 /source/openSUSE.org/_meta --insecure
<?xml version="1.0" encoding="UTF-8"?>
<status code="ok">
<summary>Ok</summary>
<details></details>
</status>

Seems to work..
Then i try to "Branch package from other project" into my home project.
Name of original project:
openSUSE.org:openSUSE:11.4
Name of package in original project:
at

and then i press "Create Branch" button.

after a while i get an error message:
OBS Web Interface Error:
Error Details:
Errorcode: 400
Message: connect to api.opensuse.org:443: Connection timed out

I have also tried to insert https://username:password@xxxxxxxxxxxxxxxx in
/usr/share/doc/packages/obs-api/openSUSE.org.xml before posting it however
same problem.

I'm sitting behind a http proxy thats why i do -x on curl.

And you have configured the proxy in BSConfig.pm ?

our $proxy = "http(s)://<user:pass>\@<host>:<port>";

--
Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References