I've embedded tomcat 8.0.20 and using that. I build the tomcat websocket
example and when I'm trying to run it in my server for all 4 examples
(Echo, chat, etc..)
I'm getting

> Info: WebSocket connection closed, Code: 1006

In the console it prints

WebSocket connection to 'ws://
>' failed: Error
> during WebSocket handshake: Unexpected response code: 302

This same war file is running perfectly on Tomcat distribution.

Can someone tell me what could be the reason for this?

In the pom, my dependency is as follows

Best Regards

Reply via email to