I'm trying to make a web server with Glassfish 4, and I'm using a WebSocket to communicate back and forth. The only problem is that whenever I try to send anything from my browser to the server, I get disconnected with an "RSV bit(s) incorrectly set" error on the server side, however the server can send stuff to the client no problem. I tested it from my phone, and that works fine. I'm using Safari 7.0.2 on OSX 10.9.2. I think the error might be that the browser is trying to use the "x-webkit-deflate-frame" extension, but I don't know for sure. What do you think could be causing this, and how do I fix it? If you need any more information to help, ask. I'm not sure what to include.
[EDIT] I forgot to mention that this site is doing the same thing. Putting in onto wss works perfectly, but I can't figure out how to get that to work on my server.
[EDIT 2] I did more testing, and it seems to only fail to work when connecting from the same computer. Connecting from anywhere else works fine. Any ideas why this might be? I also tried other browsers on the same computer, and that didn't work either.
Thanks in advance,
-tlf