Mailinglist Archive: opensuse-buildservice (140 mails)

< Previous Next >
Re: [opensuse-buildservice] Application error 500, SSLError
  • From: "Smith, Kenneth" <ksmith15@xxxxxxxxxxxxxxxxxxx>
  • Date: Tue, 17 Jun 2014 15:59:09 -0700
  • Message-id: <CAJrMQjucgG_3=NQRrx6JBvKPujkfBDzepB_C-TAukCL-3Qb_KQ@mail.gmail.com>
It didn't look SSL related. I tried deleting the /srv/obs content and
rebooting to let OBS create it again. Now the SSL errors are appearing
in the logs again. Apparently this is a one-use system.


On 17 June 2014 15:18, Kanstantsin Shautsou <gentoo.integer@xxxxxxxxx> wrote:
Hm, your error doesn’t look like SSL cert error.
In my installation for ssl errors i did this modification
https://github.com/KostyaSha/open-build-service/commit/cbd6f8f61c4c7d2698b45f217a7703ede13c55ec

On Jun 18, 2014, at 0:32 , Smith, Kenneth <ksmith15@xxxxxxxxxxxxxxxxxxx>
wrote:

I rebuilt my OBS install fresh from the appliances. Everything looked
great. Did a Tizen build. Did a gbs remotebuild. Everything looked
good. Then I had another user login and browse to my home folder. He
clicked on the "Repositories" tab and kablam! Application Error 500.
Reboot? Same error. This time no SSL in the logs.

This is extremely frustrating to say the least. Clicking on a link
permanently brings down the entire system? Presumably some data is
getting corrupted somewhere. It appears to be limited to the webui, as
its logs are the only one showing any problem.

The errors (which are repeated) look like this:

[INFO|#12775] Started GET "/" for 192.168.1.51 at 2014-06-17 20:32:13 +0000
[INFO|#12775] Processing by MainController#index as HTML
[INFO|#12775] Authenticated request to "/" from amcgee7
[INFO|#12775] Completed 500 Internal Server Error in 42ms

[FATAL|#12775] ActiveXML::Transport::NotFoundError (<?xml version="1.0"?>
<status code="not_found">
<summary>Couldn't find User with login = _nobody_</summary>
<details></details>
</status>
):
lib/activexml/transport.rb:449:in `handle_response'
lib/activexml/transport.rb:400:in `http_do'
app/models/api_details.rb:26:in `find'
app/models/person.rb:183:in `requests_that_need_work'
app/controllers/application_controller.rb:254:in `check_user'


On 5 June 2014 03:18, Justin Hammond <justin@xxxxxxxx> wrote:
See my other mail, you have to copy the certs in /srv/obs/certs folder to
your system pki directory.


Sent from my iPhone

On 5 Jun, 2014, at 2:54 am, "Andrew Melo" <andrew.melo@xxxxxxxxx> wrote:

On Wed, Jun 4, 2014 at 1:14 PM, Smith, Kenneth
<ksmith15@xxxxxxxxxxxxxxxxxxx> wrote:
Hello,

My OBS webui installation has become inoperable. I was logged in and
browsing when I clicked a link on the ui and got "Application error
500". I restarted the obs services, no change. I rebooted the server.
No change. I get the same error from another user's machine.

webui production.log shows this:

[INFO |# 2980] Started GET "/" for 192.168.1.60 at 2014-06-04 17:45:11
+0000
[INFO |# 2980] Processing by MainController#index as HTML
[INFO |# 2980] Anonymous request to /
[INFO |# 2980] Completed 500 Internal Server Error in 6ms

[FATAL|# 2980] OpenSSL::SSL::SSLError (SSL_connect SYSCALL returned=5
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:361:in `block in
require_configuration'
app/controllers/application_controller.rb:359:in `require_configuration'

I'm not sure why I'm suddenly getting ssl errors, when I wasn't
before. I'm not sure where to start in fixing this.


I'm not sure if it's related, but:

I just moved my OBS instance to one hypervisor to another and instead
of moving the whole disk image,I started from a scratch hypervisor
image from the OBS website and then rsynced over the /srv tree from
the old machine. When I try to log in, I get:

OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv2/v3
read server hello A: unknown protocol):
/usr/lib64/ruby/2.0.0/net/http.rb:918:in `connect'
/usr/lib64/ruby/2.0.0/net/http.rb:918:in `block in connect'
/usr/lib64/ruby/2.0.0/timeout.rb:52:in `timeout'
<snip>
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
hoptoad_notifier (2.4.11) lib/hoptoad_notifier/user_informer.rb:12:in
`call'
railties (4.0.3) lib/rails/engine.rb:511:in `call'
railties (4.0.3) lib/rails/application.rb:97:in `call'
railties (4.0.3) lib/rails/railtie/configurable.rb:30:in `method_missing'
passenger (4.0.33)
lib/phusion_passenger/rack/thread_handler_extension.rb:77:in
`process_request'
passenger (4.0.33)
lib/phusion_passenger/request_handler/thread_handler.rb:141:in
`accept_and_process_next_request'
passenger (4.0.33)
lib/phusion_passenger/request_handler/thread_handler.rb:109:in
`main_loop'
passenger (4.0.33) lib/phusion_passenger/request_handler.rb:440:in
`block (3 levels) in start_threads'

Not sure if that's related somehow. I'm going to replace the /srv with
the backup to see if that was the cause.

Cheers,
Andrew



--
Kind Regards

Kenneth F. Smith

-------------------
Infotainment Engineer
MSX on behalf of Jaguar Land Rover
One World Trade Center, 121 Southwest Salmon Street, 11th Floor,
Portland, Oregon, 97204

Email: ksmith15@xxxxxxxxxxxxxxxxxxx
PGP: RSA 2048/2048 979C6B958B89909D
-------------------

Business Details:
Jaguar Land Rover Limited
Registered Office: Abbey Road, Whitley, Coventry CV3 4LF
Registered in England No: 1672070



This e-mail and any attachments contain confidential information for a
specific individual and purpose. The information is private and
privileged and intended solely for the use of the individual to whom
it is addressed. If you are not the intended recipient, please e-mail
us immediately. We apologise for any inconvenience caused but you are
hereby notified that any disclosure, copying or distribution or the
taking of any action in reliance on the information contained herein
is strictly prohibited.

This e-mail does not constitute an order for goods or services unless
accompanied by an official purchase order.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx




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





--
Kind Regards

Kenneth F. Smith

-------------------
Infotainment Engineer
MSX on behalf of Jaguar Land Rover
One World Trade Center, 121 Southwest Salmon Street, 11th Floor,
Portland, Oregon, 97204

Email: ksmith15@xxxxxxxxxxxxxxxxxxx
PGP: RSA 2048/2048 979C6B958B89909D
-------------------

Business Details:
Jaguar Land Rover Limited
Registered Office: Abbey Road, Whitley, Coventry CV3 4LF
Registered in England No: 1672070



This e-mail and any attachments contain confidential information for a
specific individual and purpose. The information is private and
privileged and intended solely for the use of the individual to whom
it is addressed. If you are not the intended recipient, please e-mail
us immediately. We apologise for any inconvenience caused but you are
hereby notified that any disclosure, copying or distribution or the
taking of any action in reliance on the information contained herein
is strictly prohibited.

This e-mail does not constitute an order for goods or services unless
accompanied by an official purchase order.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

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




--
Kind Regards

Kenneth F. Smith

-------------------
Infotainment Engineer
MSX on behalf of Jaguar Land Rover
One World Trade Center, 121 Southwest Salmon Street, 11th Floor,
Portland, Oregon, 97204

Email: ksmith15@xxxxxxxxxxxxxxxxxxx
PGP: RSA 2048/2048 979C6B958B89909D
-------------------

Business Details:
Jaguar Land Rover Limited
Registered Office: Abbey Road, Whitley, Coventry CV3 4LF
Registered in England No: 1672070



This e-mail and any attachments contain confidential information for a
specific individual and purpose. The information is private and
privileged and intended solely for the use of the individual to whom
it is addressed. If you are not the intended recipient, please e-mail
us immediately. We apologise for any inconvenience caused but you are
hereby notified that any disclosure, copying or distribution or the
taking of any action in reliance on the information contained herein
is strictly prohibited.

This e-mail does not constitute an order for goods or services unless
accompanied by an official purchase order.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups