[
https://issues.apache.org/jira/browse/APLO-331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hiram Chirino resolved APLO-331.
--------------------------------
Resolution: Incomplete
Fix Version/s: (was: 1.7)
Please reopen if you can provide us more info.
> MQTT Websocket problem
> ----------------------
>
> Key: APLO-331
> URL: https://issues.apache.org/jira/browse/APLO-331
> Project: ActiveMQ Apollo
> Issue Type: Bug
> Components: apollo-mqtt
> Affects Versions: 1.6, 1.7
> Environment: 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/)
> Reporter: Ayhan Alkan
> Priority: Blocker
>
> 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
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)