Mailinglist Archive: opensuse-buildservice (247 mails)

< Previous Next >
Re: [opensuse-buildservice] Application error
  • From: Guillaume Gardet <guillaume.gardet@xxxxxxx>
  • Date: Tue, 11 Jun 2013 17:16:19 +0200
  • Message-id: <51B73F43.10900@free.fr>

Le 10/06/2013 17:25, Guillaume Gardet a écrit :

Le 10/06/2013 16:57, Guillaume Gardet a écrit :
Hi,

I have an application error (500) with my own OBS server.

How to find the problem?

There is nothing about errors in /srv/obs/log or /srv/www/obs/api/log/.

/srv/www/obs/webui/log/ has :
* SSL verify fail (because self signed)
* 500 internal server error

But nothing very useful here.

Now, I have this output in the log:
[INFO |# 3321] Started GET "/" for 127.0.0.1 at 2013-06-10 17:10:56 +0200
[INFO |# 3321] Processing by MainController#index as HTML
[INFO |# 3321] Anonymous request to /
[INFO |# 3321] Completed 500 Internal Server Error in 27ms

[FATAL|# 3321] OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0
state=SSLv3 read server certificate B: certificate verify failed):
lib/activexml/transport.rb:350:in `http_do'
lib/activexml/transport.rb:227:in `direct_http'
app/controllers/application_controller.rb:352:in `block in
require_configuration'
app/controllers/application_controller.rb:350:in `require_configuration'

It seems it does not find the file "/public/configuration.json". It is not
present in filesystem but it seems to be a redirection to 'configurations#show' which
seems to be defined in /srv/www/obs/api/app/controllers/configurations_controller.rb

Any idea how to solve that?

I fixed it with:
cp /srv/obs/certs/server.pem /etc/ssl/certs/
c_rehash /etc/ssl/certs/


Guillaume

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

< Previous Next >