Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 9 months ago.
websocket protocol version issue,pls help me!
Hi,I encounter a question that the Browser always call the onclose method,if the websocket protocol version of each side is not the same?
and when I try the Stream example,the eclipse console show error:(I use the QQ Browser which supports websocket)
Streaming server ready. Listen on: 8888 &&& nb_clients: 0 exception run handshake java.io.IOException: Unexpected header field: User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0; QQBrowser/8.0.3197.400) Exception in thread "main" java.io.IOException: accept at websocket4j.server.WebServerSocket.accept(WebServerSocket.java:124) at websocket4j.mbed_demo.WSStreaming.main(WSStreaming.java:77)
I think it's the websocket protocol issue? how can I solve this problem?
Best Regards!
Derek
Hi Derek, did you ever solve this issue? I am currently having the same problem.
posted by Damien Frost 24 Mar 2016