You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ernest Allen (JIRA)" <ji...@apache.org> on 2017/06/26 17:53:02 UTC

[jira] [Resolved] (DISPATCH-747) Console does not handle connection errors well

     [ https://issues.apache.org/jira/browse/DISPATCH-747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ernest Allen resolved DISPATCH-747.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.0

Entering a bad address or port should display an error.
Killing the router to which the console is attached should immediately display the connect page. Once that router is restarted, the connection should be automatically re-established and you should be returned to the previous page. Note: The longer you wait before restarting the router, the longer the reconnect might take, and it will stop trying to reconnect after 60 seconds.


> Console does not handle connection errors well
> ----------------------------------------------
>
>                 Key: DISPATCH-747
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-747
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Console
>    Affects Versions: 0.8.0
>            Reporter: Jiri Danek
>            Assignee: Ernest Allen
>             Fix For: 1.0.0
>
>         Attachments: test_wrong_ip__20.png, test_wrong_port__10.png
>
>
> Some time ago, like several months in the past, the console used to show error message below the connection dialog. If for example I entered nonsensical port number or IP address, I would get a nice error message and I could correct my entry. See the attached screenshots.
> Currently, in the situation described, the hawtio console displays a rotating circle forever. The stand-alone console displays "Please wait, connecting now..."
> It stays displayed even though the connection attempt has already failed, see the following log from stand-alone console on Chrome, 
> {noformat}
> ...
> QDR: ****** calling rhea.connect ********
> angular.js:14362 QDR: rhea.connect was not passed an existing connection
> angular.js:14362 QDR: testConnect called with reconnect true using ws protocol
> angular.js:14362 QDR: exception caught on test connect SyntaxError: Failed to construct 'WebSocket': The URL 'ws://5465465444:5673' is invalid.
> {noformat}
> I prefer the old behavior and would like it back.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org