[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Origin v4 Console error (ActiveResource::ConnectionError (Failed.))



On Wed, Jan 14, 2015 at 10:51:31AM +0000, Mirrow Co wrote:
Hi All,

After installation of Origin v4 I got a console error page after login:

Found in ../console/production.log

2015-01-14 02:27:34.419 [ERROR] ActiveResource::ConnectionError (Failed.)
(pid:30369)
2015-01-14 02:27:34.420 [ERROR] Unhandled exception reference
#059a474df85adfd8bf075b03a554e6fb: Failed.
/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.26.3.1/lib/active_resource/persistent_connection.rb:186:in

It looks like the management console is unable to connect to the broker.
(The management console uses the broker's REST API, the same as rhc, for
all interactions with OpenShift.)

Is the BROKER_URL setting in /etc/openshift/console.conf correct?
Generally it should be BROKER_URL=http://localhost:8080/broker/rest,
and you should be able to load that URL, using curl for example.

Is there anything in /var/log/openshift/broker/httpd/access_log or
/var/log/openshift/broker/httpd/error_log corresponding to the
management console's log entries at 2015-01-14 02:27:34?

`rescue in request'

/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.26.3.1/lib/active_resource/persistent_connection.rb:148:in
`request'

/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.26.3.1/lib/active_resource/persistent_connection.rb:112:in
`block in get'

/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.26.3.1/lib/active_resource/persistent_connection.rb:284:in
`with_auth'

/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.26.3.1/lib/active_resource/persistent_connection.rb:112:in
`get'

/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.26.3.1/app/models/rest_api/base.rb:820:in
`find_every'

/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.26.3.1/app/models/rest_api/base.rb:473:in
`find'

/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.26.3.1/app/models/application.rb:56:in
`find'

/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.26.3.1/app/controllers/applications_controller.rb:83:in
`block in index'

/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.26.3.1/app/controllers/async_aware.rb:14:in
`block in async' (pid:30369)
2015-01-14 02:27:34.424 [INFO ] Rendered
/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.26.3.1/app/views/console/error.html.haml
within layouts/console (1.0ms) (pid:30369)
2015-01-14 02:27:34.469 [INFO ] Rendered
/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.26.3.1/app/views/layouts/_head.html.haml
(3.7ms) (pid:30369)
2015-01-14 02:27:34.471 [INFO ] Rendered
/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.26.3.1/app/views/layouts/console/_stylesheets.html.haml
(1.5ms) (pid:30369)
2015-01-14 02:27:34.475 [INFO ] Rendered
/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.26.3.1/app/views/layouts/console/_header.html.haml
(4.3ms) (pid:30369)
2015-01-14 02:27:34.477 [INFO ] Rendered
/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.26.3.1/app/views/layouts/_footer.html.haml
(1.1ms) (pid:30369)
2015-01-14 02:27:34.478 [INFO ] Rendered
/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.26.3.1/app/views/layouts/console/_javascripts.html.haml
(0.7ms) (pid:30369)
2015-01-14 02:27:34.479 [INFO ] Rendered
/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.26.3.1/app/views/shared/_tracking.html.haml
(0.1ms) (pid:30369)
2015-01-14 02:27:34.479 [INFO ] Completed 200 OK in 75ms (Views: 58.2ms)
(pid:30369)

Do you have any clues how to solve it?

P.S. I'm able to create apps with rhc, oo-diagnostics didn't show any errors

Thanks.
Mirrow

_______________________________________________
dev mailing list
dev lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev


--
Miciah Dashiel Butler Masters <mmasters redhat com>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]