Uploaded image for project: 'AMQ Interconnect'
  1. AMQ Interconnect
  2. ENTMQIC-1946

dispatch-plugin is unable to connect to a router when running offline

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 1.0.0.GA
    • Router Console

    Description

      My web browser can only connect to the server running the console and to the router; the computer does not have unrestricted network access. With this setup, the console does not work.

      When running the AMQ 7 Console on IE11, I am unable to login. After filling in the router ip and port, I see the rotating wheel of dots forever. After a while, the following errors appear in browser console

      HTML1300: Navigation occurred.
      File: hawtio
      DOM7011: The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337
      File: list
      [QDR] *************creating Dispatch Console************
      [QDR] curPath is /
      [RBAC] Using mbean  hawtio:type=security,area=jmx,rank=0,name=HawtioDummyJMXSecurity  for client-side role based access control
      [Core] hawtio started
      XML5632: Only one root element is allowed.
      Line: 3, Column 2
      [QDR] testConnect called with reconnect true using ws protocol
      [QDR] got schema after connection
      [QDR] requesting a topology
      SCRIPT438: Object doesn't support property or method 'queue'
      File: eval code (40), Line: 5, Column: 8603
      [Window] Object doesn't support property or method 'queue'  (<a href=":5">:5:8603</a>)
      

      In Chrome, the symptoms and the error is essentially the same:

      app.js?c8641b2e13788127:4 [Deprecation] 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?c8641b2e13788127:4
      d3.min.js Failed to load resource: net::ERR_NAME_NOT_RESOLVED
      d3-queue.min.js Failed to load resource: net::ERR_NAME_NOT_RESOLVED
      FileSaver.min.js Failed to load resource: net::ERR_NAME_NOT_RESOLVED
      app.js?c8641b2e13788127:16 [Themes] unknown theme name, using default theme
      app.js?c8641b2e13788127:16 [QDR] *************creating Dispatch Console************
      app.js?c8641b2e13788127:16 [QDR] curPath is /
      cdnjs.cloudflare.com/ajax/libs/jquery.tipsy/1.0.2/jquery.tipsy.css Failed to load resource: net::ERR_NAME_NOT_RESOLVED
      maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css Failed to load resource: net::ERR_NAME_NOT_RESOLVED
      app.js?c8641b2e13788127:16 [RBAC] Using mbean  hawtio:type=security,area=jmx,rank=0,name=HawtioDummyJMXSecurity  for client-side role based access control
      app.js?c8641b2e13788127:16 [Core] hawtio started
      jquery.tipsy.js Failed to load resource: net::ERR_NAME_NOT_RESOLVED
      tooltipsy.min.js Failed to load resource: net::ERR_NAME_NOT_RESOLVED
      code.jquery.com/ui/1.8.24/themes/base/jquery-ui.css Failed to load resource: net::ERR_NAME_NOT_RESOLVED
      app.js?c8641b2e13788127:16 [QDR] testConnect called with reconnect true using ws protocol
      app.js?c8641b2e13788127:16 [QDR] got schema after connection
      app.js?c8641b2e13788127:16 [QDR] requesting a topology
      app.js?c8641b2e13788127:16 [Window] Uncaught TypeError: QDR.queue is not a function  (<a href="http://192.168.99.1:8080/hawtio/dispatch_hawtio_console/:5">http://192.168.99.1:8080/hawtio/dispatch_hawtio_console/:5:8603</a>)
      consoleLogger @ app.js?c8641b2e13788127:16
      

      I seems that the console tries to download some fonts JavaScript from the following CDNs: cdnjs.cloudflare.com, code.jquery.com, maxcdn.bootstrapcdn.com, cdn.rawgit.com; and when it cannot get the JavaScript, it stops working.

      Attachments

        Issue Links

          Activity

            People

              eallen@redhat.com Ernest Allen (Inactive)
              jdanek@redhat.com Jiri Daněk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: