Description of problem: When a client tries to connect to a WebSocket-based remote console and it fails while the proxy is opening the remote endpoint, the websocket.log doesn't provide any helpful information. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: The websocket.log should provide some information about a failed connection. Additional info:
https://github.com/ManageIQ/manageiq/pull/15428
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/73163cdec8a0085675a9dec64360bb4382a488a8 commit 73163cdec8a0085675a9dec64360bb4382a488a8 Author: Dávid Halász <dhalasz> AuthorDate: Thu Jun 22 11:03:25 2017 +0200 Commit: Dávid Halász <dhalasz> CommitDate: Mon Jun 26 11:34:41 2017 +0200 Add additional logging into the websocket proxy for easier debugging https://bugzilla.redhat.com/show_bug.cgi?id=1464006 lib/websocket_proxy.rb | 6 ++++-- lib/websocket_server.rb | 2 +- spec/lib/websocket_proxy_spec.rb | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-)
Verified using reproduction steps in https://bugzilla.redhat.com/attachment.cgi?id=1326212