Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Incomplete
-
1.6, 1.7
-
None
-
None
-
OS: Ubuntu 12.04, JDK: 1.6.0_32, Clients: FF 22.0 Chrome 28.0.1500.71, JS library: Paho MQTT JS Client (http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.javascript.git/)
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: "
"
5: undefined
6: " false"
7: "Client._socket_send"
8: "
"
9: "Client._on_socket_message"
10: " " \u0002\u0000\u0004""
11: "Client._on_socket_message"
12: "
"
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