what's the messaging subsystem configuration you used?
I managed to connect succesfully with AS8 master branch.
The error reported by HornetQ is misleading. The root issue is that the user authentication failed
Did you correctly add a user using the add-user.sh script?
Once I did that, I was able to communicate successfully with Stomp over WebSocket:
--- got data length: 140
server:HornetQ/2.3.0.CR2 (black'n'yellow2, 123) HornetQ Messaging Engine
connected to server HornetQ/2.3.0.CR2 (black'n'yellow2, 123) HornetQ Messaging Engine
send PING every 10000ms
check PONG every 10000ms
connected to Stomp
--- got data length: 161
I checked it with Chrome, Firefox and Safari.
By the way, there is a more correct way to configure the acceptor for Stomp over WebSocket:
add a netty-acceptor instead of a plain acceptor:
<netty-acceptor name="stomp-ws" socket-binding="messaging-stomp-ws">
<param key="protocol" value="stomp_ws" />
and a corresponding socket-binding (at the end of the standalone-full.xml) file:
<socket-binding name="messaging-stomp-ws" port="61614"/>
thank you very much, now my connection is ok by entering the user as appuser and not as a Manager user.Now I have another problem but will also be another thread
Howard just fixed the JIRA