Mailinglist Archive: opensuse-buildservice (140 mails)

< Previous Next >
Re: [opensuse-buildservice] Problem with local install of obs: Errorcode: 503 Message: Unable to connect to API host. (localhost)
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Wed, 04 Jul 2012 09:45:47 +0200
  • Message-id: <1917377.4W42urvMeW@scherben>
Am Mittwoch, 4. Juli 2012, 08:47:09 schrieb Christian Nilsson:
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
The versions that i have tried is 1.7 and now also 2.3.2 but with same

You installed from source, packages or via appliance?

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>) :

I would check /srv/www/obs/api/log/ in first place. without api and backend the
webui will not work.

[^[[32mINFO ^[[0m|#28023] Processing MainController#index (for <my ip> at
2012-07-04 07:55:02) [GET]
[^[[32mINFO ^[[0m|#28023] Parameters: {"action"=>"index",
[^[[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)):

port 81 is not our standard anymore. We use https 443 for webui and 444 for api.

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'

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!

Christian Nilsson

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