Red Hat Bugzilla – Bug 981238
Occurrence error when access "https://broker_domain/broker"
Last modified: 2013-11-03 20:42:36 EST
Description of problem:
When I accessed the address of "https://broker_domain/broker" from a browser,
will meet errors like "Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request." in the browser,
and "Exception ActionController::RoutingError in application (No route matches [GET] "/") (process 3575, thread #<Thread:0x00000001e5e100>):
from /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
from /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
from /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in `call_app'
from /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in `call'
from /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:in `call'
from /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
" in the logger of "/var/log/openshift/broker/httpd/error_log "
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. accessed the address of "https://broker_domain/broker" from a browser
2. tailf /var/log/openshift/broker/httpd/error_log
the respone message is "Internal Server Error"
the respone message is below
The requested URL /brokers was not found on this server.
This is by design. Do you know of anything that accesses this path?
I agree with you, this is an useless path by design. But maybe someone access it and the browser display error information, which is inappropriate.
Only the web console is designed to be accessed by a Browser. The Broker is just the REST API. Unless you find somewhere in the OpenShift documentation that directs users to access the REST API with a browser we'll close this.