Re: [opensuse-buildservice] Application error 500, SSLError
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"
wrote: On Wed, Jun 4, 2014 at 1:14 PM, Smith, Kenneth
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@jaguarlandrover.com 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@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- -- Andrew Melo -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
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
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"
wrote: On Wed, Jun 4, 2014 at 1:14 PM, Smith, Kenneth
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@jaguarlandrover.com 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@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- -- Andrew Melo -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- 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@jaguarlandrover.com 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@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
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/cbd6f8f61c4c7d2698b45...
On Jun 18, 2014, at 0:32 , Smith, Kenneth
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
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"
wrote: On Wed, Jun 4, 2014 at 1:14 PM, Smith, Kenneth
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@jaguarlandrover.com 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@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- -- Andrew Melo -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- 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@jaguarlandrover.com 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@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
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
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/cbd6f8f61c4c7d2698b45...
On Jun 18, 2014, at 0:32 , Smith, Kenneth
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
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"
wrote: On Wed, Jun 4, 2014 at 1:14 PM, Smith, Kenneth
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@jaguarlandrover.com 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@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- -- Andrew Melo -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- 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@jaguarlandrover.com 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@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- 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@jaguarlandrover.com 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@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Dienstag, 17. Juni 2014, 15:59:09 wrote Smith, Kenneth:
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
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/cbd6f8f61c4c7d2698b45...
On Jun 18, 2014, at 0:32 , Smith, Kenneth
wrote: ... <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'
The "_nobody_" user got removed in the database. It should always be there. You can manually create it via the command below, but the questions why this standard seeded user disappered in your DB: from seeds.rb User.where(login: '_nobody_').first_or_create login: "_nobody_", email: "nobody@localhost", realname: "Anonymous User", state: "3", password: "123456", password_confirmation: "123456" you can run it in RAILS_ENV="production" rails c -- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Thank you! The system is back up and running.
Things I learned during this process:
- if you delete your data directory to let OBS rebuild it, you have to
copy the newly generated certs into your ssl store (/etc/ssl/certs on
the appliance) manually
- if you create a new user, make sure you don't put any illegal
characters in the username, or else you won't be able to fix it except
by going into the mysql database
- if you go into the mysql database to fix a broken user, don't
accidentally delete _nobody_.
Again, thanks for the help!
On 18 June 2014 04:49, Adrian Schröter
On Dienstag, 17. Juni 2014, 15:59:09 wrote Smith, Kenneth:
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
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/cbd6f8f61c4c7d2698b45...
On Jun 18, 2014, at 0:32 , Smith, Kenneth
wrote: ... <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'
The "_nobody_" user got removed in the database. It should always be there.
You can manually create it via the command below, but the questions why this standard seeded user disappered in your DB:
from seeds.rb
User.where(login: '_nobody_').first_or_create login: "_nobody_", email: "nobody@localhost", realname: "Anonymous User", state: "3", password: "123456", password_confirmation: "123456"
you can run it in
RAILS_ENV="production" rails c
--
Adrian Schroeter email: adrian@suse.de
SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany
-- 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@jaguarlandrover.com 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@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (4)
-
Adrian Schröter
-
Justin Hammond
-
Kanstantsin Shautsou
-
Smith, Kenneth