Uploaded image for project: 'ActiveMQ Apollo (Retired)'
  1. ActiveMQ Apollo (Retired)
  2. APLO-331

MQTT Websocket problem

    XMLWordPrintableJSON

Details

    Description

      I get "AMQJS0016E Invalid MQTT message type 0." message while trying to connect MQTT broker via ws probably due to getting "\u0002\u0000\u0004"" stream. The same script works well with Active MQ 1.9.0-SNAPSHOT. JS library stack trace is as follows:

      0: "Client.startTrace"
      1: " "2013-07-21T06:01:48.018Z""
      2: " "0.0.0.0""
      3: "Client.connect"
      4: "

      {"userName":"admin","password":"******","cleanSession":true,"keepAliveInterval":60}

      "
      5: undefined
      6: " false"
      7: "Client._socket_send"
      8: "

      {"type":1,"userName":"admin","password":"******","cleanSession":true,"keepAliveInterval":60,"clientId":"client123"}

      "
      9: "Client._on_socket_message"
      10: " " \u0002\u0000\u0004""
      11: "Client._on_socket_message"
      12: "

      {"type":0}

      "
      13: "Client._disconnected"
      14: " 16"
      15: " "AMQJS0016E Invalid MQTT message type 0.""
      16: "Client.getTraceLog"
      17: " "2013-07-21T06:01:58.006Z""
      18: "Client.getTraceLog in flight messages"
      19: undefined

      Attachments

        Activity

          People

            Unassigned Unassigned
            ayhanalkan Ayhan Alkan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: