Hi,

I am using the following:

Karaf 4.0.4
ActiveMQ 5.13.0

On a windows 7  ( I have also tried centos).

Following http://activemq.apache.org/websockets.html, I added

<transportConnectors>
  <transportConnector name="secure_websocket" uri="ws://0.0.0.0:61614"/>
</transportConnectors>

to activemq.xml located in C:\apache-karaf-4.0.4\etc

Everything looks ok, I see in the log that activemq is listening for 
connections:

2016-06-16 23:13:34,954 | INFO  | ctivemq.server]) | WSTransportServer          
      | 62 - org.apache.activemq.activemq-osgi - 5.13.0 | Listening for 
connections at 
ws://ala-pcheung-l1:6614?maximumConnections=1000&wireFormat.maxInactivityDuration=0

However, I cannot connect to it, I get the following error in karaf.log

2016-06-17 00:44:04,264 | INFO  | qtp184068257-624 | StompSocket                
      | 62 - org.apache.activemq.activemq-osgi - 5.13.0 | Stomp WebSocket 
closed: code[1006] message[WebSocket Read EOF]

I am using a simple app to connect, such as
https://chrome.google.com/webstore/detail/simple-websocket-client/pfdhoblngboilpfeibdedpjgfnlcodoo?utm_source=chrome-app-launcher-info-dialog

Any help is appreciated.

Thanks,
Pauline

Reply via email to