Mailinglist Archive: opensuse-buildservice (140 mails)

< Previous Next >
[opensuse-buildservice] Problem with local install of obs: Errorcode: 503 Message: Unable to connect to API host. (localhost)
Hi all!

I'm trying out the OBS for a customer and have tested the public opensuse build
service which looks promising.
However now I wan't to install it locally for different reasons.
I have followed the "OBS 1 click install on SLES(SUSE Linux Enterprise Server)
11" (I'm installing on SLED 11 SP1) from http://www.open-build-service.org.
The versions that i have tried is 1.7 and now also 2.3.2 but with same results.
I have not changed anything from the defaults and only trying to reach the
server from localhost.
However when i login to the webui i get the error message "Errorcode: 503
Message: Unable to connect to API host. (localhost)" and in the
/srv/www/obs/webui/log/production.log (obs! i have removed my ip adress from
the snip <my ip>) :

<snip>
[^[[32mINFO ^[[0m|#28023] Processing MainController#index (for <my ip> at
2012-07-04 07:55:02) [GET]
[^[[32mINFO ^[[0m|#28023] Parameters: {"action"=>"index",
"controller"=>"main"}
[^[[32mINFO ^[[0m|#28023] Anonymous request to /
[^[[31mERROR^[[0m|#28023] Couldn't finish http connection: HTTP session not yet
started

[^[[31mFATAL^[[0m|#28023] ActiveXML::Transport::ConnectionError (Failed to
establish connection for http://localhost:81/configuration.json: Connection
refused - connect(2)):
lib/activexml/transport.rb:523:in `http_do'
lib/activexml/transport.rb:391:in `direct_http'
app/controllers/application_controller.rb:423:in `require_configuration'
app/controllers/application_controller.rb:422:in `require_configuration'
</snip>

When I go to the https://localhost:444 it works fine after logging in with the
Admin user.

If there Is someone who knows how to fix this I would be grateful!
Thanks!

Christian Nilsson




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

< Previous Next >
Follow Ups