[ 
https://issues.apache.org/jira/browse/DISPATCH-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15974279#comment-15974279
 ] 

Jiri Danek commented on DISPATCH-745:
-------------------------------------

The hawtio version seems to be working, but now the stand-alone version is 
broken. When I open the 127.0.0.1:8080/stand-alone page, it loads long time and 
there is error in browser console. The fact in the video it displays at the 
moment I opened browser console is only coincidence. When I connect it to my 
router, I get a blank page and more errors in browser console.

Video from my attempt is at https://www.youtube.com/watch?v=k6vIk-eVMe0, 44 
seconds, browser log is pasted below.

{noformat}
angular.js:14362 QDR: *************creating Dispatch Console************
angular.js:14362 QDR: curPath = 
angular.js:14362 QDR: setting location.search to org=null
angular.js:14362 QDR: testConnect called with reconnect false using ws protocol
rhea-min.js:4 WebSocket connection to 'ws://127.0.0.1:8080/' failed: Error 
during WebSocket handshake: Unexpected response code: 200
connect @ rhea-min.js:4
rhea-min.js:1 [connection-1] error: [object Event]
Connection.on_error @ rhea-min.js:1
rhea-min.js:1 [connection-1] disconnected 
Connection._disconnected @ rhea-min.js:1
rhea-min.js:1 [connection-1] disconnected 
Connection._disconnected @ rhea-min.js:1
angular.js:14362 QDR: routeChangeSuccess: path is now /
angular.js:14362 Error: [$injector:unpr] Unknown provider: $dialogProvider <- 
$dialog <- QDR.OverviewController
http://errors.angularjs.org/1.6.2/$injector/unpr?p0=NaNialogProvider%20%3C-%20%24dialog%20%3C-%20QDR.OverviewController
    at https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.js:68:12
    at https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.js:4650:19
    at Object.getService [as get] 
(https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.js:4803:32)
    at https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.js:4655:45
    at getService 
(https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.js:4803:32)
    at injectionArgs 
(https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.js:4828:58)
    at Object.invoke 
(https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.js:4854:18)
    at $controllerInit 
(https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.js:10717:34)
    at nodeLinkFn 
(https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.js:9594:35)
    at compositeLinkFn 
(https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.js:8903:13)
(anonymous) @ angular.js:14362
angular.js:14362 QDR: failed to auto-connect to 127.0.0.1:8080
angular.js:14362 QDR: routeChangeSuccess: path is now /connect
angular.js:14362 $tooltip is now deprecated. Use $uibTooltip instead.
(anonymous) @ angular.js:14362
angular.js:14362 tooltip-popup is now deprecated. Use uib-tooltip-popup instead.
(anonymous) @ angular.js:14362
angular.js:14362 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: connection_opened
angular.js:14362 QDR: sender_opened
angular.js:14362 QDR: receiver_opened
angular.js:14362 QDR: okay to start
angular.js:14362 QDR: got schema after connection
angular.js:14362 QDR: requesting a topology
angular.js:14362 QDR: GET-MGMT-NODES returned an empty list. Using 
angular.js:14362 QDR: [
  "amqp:/_topo/0/Router.A/$management"
]
angular.js:14362 QDR: topology was just initialized
angular.js:14362 QDR: {
  "amqp:/_topo/0/Router.A/$management": {}
}
angular.js:14362 QDR: got initial topology
angular.js:14362 QDR: routeChangeSuccess: path is now /overview
angular.js:14362 Error: [$injector:unpr] Unknown provider: $dialogProvider <- 
$dialog <- QDR.OverviewController <- QDR.OverviewController
http://errors.angularjs.org/1.6.2/$injector/unpr?p0=NaNialogProvider%20%3C-%20%24dialog%20%3C-%20QDR.OverviewController%20%3C-%20QDR.OverviewController
    at https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.js:68:12
    at https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.js:4650:19
    at Object.getService [as get] 
(https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.js:4803:32)
    at https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.js:4655:45
    at getService 
(https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.js:4803:32)
    at injectionArgs 
(https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.js:4828:58)
    at Object.invoke 
(https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.js:4854:18)
    at $controllerInit 
(https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.js:10717:34)
    at nodeLinkFn 
(https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.js:9594:35)
    at compositeLinkFn 
(https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.js:8903:13)
(anonymous) @ angular.js:14362
{noformat}

> Hawtio version of console does not connect: app.js?60f4925a5c3d0942:16 Error: 
> Error: Unknown provider: $uibModalProvider <- $uibModal
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DISPATCH-745
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-745
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Console
>    Affects Versions: 0.8.0
>         Environment: Latest QDR from Git with Tomcat 8.5.13 and Hawtio 1.5.0 
> or 1.4.68 (I tried both). Firefox 51.0.1 (64-bit) or Chrome 56.0.2924.87 
> (64-bit)
>            Reporter: Jiri Danek
>            Assignee: Ernest Allen
>             Fix For: 0.8.0
>
>
> I am unable to connect the console running in Hawtio to the router.
> When I open the connect dialog and enter the IP and port and click connect, I 
> see empty page with only the top menus. If I click button on the top menu, I 
> am redirected to the main page of the hawtio console.
> I see the following messages in the browser log (they are the same for Chrome 
> and Firefox)
> Chrome:
> {noformat}
> app.js?60f4925a5c3d0942:4 Synchronous XMLHttpRequest on the main thread is 
> deprecated because of its detrimental effects to the end user's experience. 
> For more help, check https://xhr.spec.whatwg.org/.
> send @ app.js?60f4925a5c3d0942:4
> ajax @ app.js?60f4925a5c3d0942:3
> (anonymous) @ app.js?60f4925a5c3d0942:64
> (anonymous) @ app.js?60f4925a5c3d0942:45
> m @ app.js?60f4925a5c3d0942:64
> Core @ app.js?60f4925a5c3d0942:65
> (anonymous) @ app.js?60f4925a5c3d0942:65
> app.js?60f4925a5c3d0942:16 [QDR] *************creating Dispatch 
> Console************
> app.js?60f4925a5c3d0942:16 [QDR] curPath is /
> app.js?60f4925a5c3d0942:16 [Core] hawtio started
> app.js?60f4925a5c3d0942:16 [RBAC] Using mbean  
> hawtio:type=security,area=jmx,rank=0,name=HawtioDummyJMXSecurity  for 
> client-side role based access control
> app.js?60f4925a5c3d0942:16 [QDR] okay to start
> app.js?60f4925a5c3d0942:16 [QDR] [
>   "amqp:/_topo/0/Router.A/$management"
> ]
> app.js?60f4925a5c3d0942:16 [QDR] {
>   "amqp:/_topo/0/Router.A/$management": {}
> }
> app.js?60f4925a5c3d0942:16 [QDR] showing dispatch tab: going to page 
> /dispatch_hawtio_console/overview
> app.js?60f4925a5c3d0942:16 [QDR] saving page changed to 
> /dispatch_hawtio_console/overview
> app.js?60f4925a5c3d0942:16 Error: Error: Unknown provider: $uibModalProvider 
> <- $uibModal
>     at app.js?60f4925a5c3d0942:13
>     at Object.c [as get] (app.js?60f4925a5c3d0942:13)
>     at app.js?60f4925a5c3d0942:13
>     at c (app.js?60f4925a5c3d0942:13)
>     at d (app.js?60f4925a5c3d0942:13)
>     at Object.e [as instantiate] (app.js?60f4925a5c3d0942:13)
>     at app.js?60f4925a5c3d0942:13
>     at app.js?60f4925a5c3d0942:13
>     at f (app.js?60f4925a5c3d0942:13)
>     at n (app.js?60f4925a5c3d0942:13)
> consoleLogger @ app.js?60f4925a5c3d0942:16
> c @ app.js?60f4925a5c3d0942:16
> (anonymous) @ app.js?60f4925a5c3d0942:16
> invoke @ app.js?60f4925a5c3d0942:4
> error @ app.js?60f4925a5c3d0942:4
> (anonymous) @ app.js?60f4925a5c3d0942:4
> (anonymous) @ app.js?60f4925a5c3d0942:14
> (anonymous) @ app.js?60f4925a5c3d0942:13
> $broadcast @ app.js?60f4925a5c3d0942:14
> (anonymous) @ app.js?60f4925a5c3d0942:14
> i @ app.js?60f4925a5c3d0942:14
> i @ app.js?60f4925a5c3d0942:14
> (anonymous) @ app.js?60f4925a5c3d0942:14
> $eval @ app.js?60f4925a5c3d0942:14
> $digest @ app.js?60f4925a5c3d0942:14
> $apply @ app.js?60f4925a5c3d0942:14
> f @ app.js?60f4925a5c3d0942:14
> r @ app.js?60f4925a5c3d0942:14
> v.onreadystatechange @ app.js?60f4925a5c3d0942:14
> app.js?60f4925a5c3d0942:16 Stack trace:  <div class="log-stack-trace">
> <p>Error: Unknown provider: $uibModalProvider <- $uibModal</p>
> <p>    at 
> http://127.0.0.1:8080/hawtio/app/app.js?60f4925a5c3d0942:13:16777</p>
> <p>    at Object.c [as get] 
> (http://127.0.0.1:8080/hawtio/app/app.js?60f4925a5c3d0942:13:15704)</p>
> <p>    at 
> http://127.0.0.1:8080/hawtio/app/app.js?60f4925a5c3d0942:13:16865</p>
> <p>    at c 
> (http://127.0.0.1:8080/hawtio/app/app.js?60f4925a5c3d0942:13:15704)</p>
> <p>    at d 
> (http://127.0.0.1:8080/hawtio/app/app.js?60f4925a5c3d0942:13:15838)</p>
> <p>    at Object.e [as instantiate] 
> (http://127.0.0.1:8080/hawtio/app/app.js?60f4925a5c3d0942:13:16480)</p>
> <p>    at 
> http://127.0.0.1:8080/hawtio/app/app.js?60f4925a5c3d0942:13:29000</p>
> <p>    at 
> http://127.0.0.1:8080/hawtio/app/app.js?60f4925a5c3d0942:13:24358</p>
> <p>    at f 
> (http://127.0.0.1:8080/hawtio/app/app.js?60f4925a5c3d0942:13:3546)</p>
> <p>    at n 
> (http://127.0.0.1:8080/hawtio/app/app.js?60f4925a5c3d0942:13:24131)</p>
> </div>
> {noformat}
> Firefox:
> {noformat}
> Synchronous XMLHttpRequest on the main thread is deprecated because of its 
> detrimental effects to the end user’s experience. For more help 
> http://xhr.spec.whatwg.org/  app.js:4:1912
> Use of getPreventDefault() is deprecated.  Use defaultPrevented instead.  
> app.js:2:20942
> unreachable code after return statement[Learn More]  app.js:629:6
> [QDR] *************creating Dispatch Console************  app.js:16:5291
> [QDR] curPath is /  app.js:16:5291
> Use of Mutation Events is deprecated. Use MutationObserver instead.  
> app.js:89:6779
> [RBAC] Using mbean  
> hawtio:type=security,area=jmx,rank=0,name=HawtioDummyJMXSecurity  for 
> client-side role based access control  app.js:16:5291
> [Core] hawtio started  app.js:16:5291
> Empty string passed to getElementById(). app.js:1:23332
> The Web Console logging API (console.log, console.info, console.warn, 
> console.error) has been disabled by a script on this page.
> Empty string passed to getElementById(). app.js:1:23330
> Empty string passed to getElementById(). app.js:1:23330
> Empty string passed to getElementById(). app.js:1:23330
> [QDR] okay to start  app.js:16:5291
> [QDR] [
>   "amqp:/_topo/0/Router.A/$management"
> ]  app.js:16:5291
> [QDR] {
>   "amqp:/_topo/0/Router.A/$management": {}
> }  app.js:16:5291
> [QDR] [
>   "amqp:/_topo/0/Router.A/$management"
> ]  app.js:16:5291
> [QDR] saving page changed to /dispatch_hawtio_console/overview  app.js:16:5291
> Error: Error: Unknown provider: $uibModalProvider <- $uibModal
> Stack trace:
> Error: Unknown provider: $uibModalProvider <- $uibModal
> ya/s.$injector<@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:16777
> c@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:15704
> ya/w.$injector<@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:16863
> c@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:15704
> d@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:15838
> e@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:16480
> Ha/this.$get</<@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:28998
> n/<@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:24358
> f@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:3544
> n@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:24131
> f@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:22086
> z/<@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:21652
> k@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:15:22785
> ib/this.$get</f.prototype.$broadcast@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:14:17750
> k/<@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:14:13064
> fb/h/g.promise.then/i@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:14:10526
> fb/h/g.promise.then/i@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:14:10526
> fb/i/<.then/<@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:14:11087
> ib/this.$get</f.prototype.$eval@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:14:16812
> ib/this.$get</f.prototype.$digest@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:14:15685
> ib/this.$get</f.prototype.$apply@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:14:16962
> f@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:14:21364
> r@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:14:23075
> sb/</v.onreadystatechange@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:14:23710
>   app.js:16:5291
> Stack trace:  <div class="log-stack-trace">
> <p>Error: Unknown provider: $uibModalProvider <- $uibModal</p>
> <p>ya/s.$injector<@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:16777</p>
> <p>c@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:15704</p>
> <p>ya/w.$injector<@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:16863</p>
> <p>c@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:15704</p>
> <p>d@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:15838</p>
> <p>e@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:16480</p>
> <p>Ha/this.$get</<@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:28998</p>
> <p>n/<@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:24358</p>
> <p>f@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:3544</p>
> <p>n@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:24131</p>
> <p>f@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:22086</p>
> <p>z/<@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:13:21652</p>
> <p>k@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:15:22785</p>
> <p>ib/this.$get</f.prototype.$broadcast@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:14:17750</p>
> <p>k/<@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:14:13064</p>
> <p>fb/h/g.promise.then/i@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:14:10526</p>
> <p>fb/h/g.promise.then/i@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:14:10526</p>
> <p>fb/i/<.then/<@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:14:11087</p>
> <p>ib/this.$get</f.prototype.$eval@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:14:16812</p>
> <p>ib/this.$get</f.prototype.$digest@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:14:15685</p>
> <p>ib/this.$get</f.prototype.$apply@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:14:16962</p>
> <p>f@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:14:21364</p>
> <p>r@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:14:23075</p>
> <p>sb/</v.onreadystatechange@http://127.0.0.1:8080/hawtio/app/app.js?c8641b2e13788127:14:23710</p>
> </div>
> {noformat}
> It is very possible I am doing something wrong when setting this up.
> On the other hand, if I open the standalone console, then that is working for 
> me.
> See the video which shows me reproducing the bug first in hawtio, and then in 
> the standalone console. https://www.youtube.com/watch?v=lqrgfH12b6Q 34 seconds



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to