andrewvc/noir-async-chat — Issue #1: WebSocketHandshakeException - trying to run chat
Author: donderom
Created: 2012-03-09 12:23:48+00:00
State: open

Hi,

trying to get chat up and running I get the following exception:

org.jboss.netty.handler.codec.http.websocketx.WebSocketHandshakeException: not a WebSocket handshake request: missing upgrade
at org.jboss.netty.handler.codec.http.websocketx.WebSocketServerHandshaker00.handshake(WebSocketServerHandshaker00.java:121)
at aleph.http.websocket$websocket_handshake_handler$reify__3769.handleUpstream(websocket.clj:91)
at org.jboss.netty.handler.codec.http.HttpContentEncoder.messageReceived(HttpContentEncoder.java:79)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.unfoldAndFireMessageReceived(ReplayingDecoder.java:522)
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:501)
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:438)
at aleph.netty$upstream_stage$reify__3025.handleUCH> {"mtype":"all-handles","data":null}
pstream(netty.clj:121)
at aleph.netty$upstream_stage$reify__3025.handleUpstream(netty.clj:121)
at aleph.netty$upstream_stage$reify__3025.handleUpstream(netty.clj:121)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:343)
at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:274)
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:194)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Could you please point me to how to try the chat from the browser?