gimite / web-socket-js

HTML5 Web Socket implementation powered by Flash
BSD 3-Clause "New" or "Revised" License
2.73k stars 489 forks source link

don't work at ie 8 #174

Closed kyytyp closed 7 years ago

kyytyp commented 7 years ago

chrome and ie11 is ok ,but not work on ie8。

error message: 用户代理: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0) 时间戳: Fri, 20 Jan 2017 06:44:46 UTC 消息: 例外被抛出且未被接住 行: 78 字符: 7 代码: 0 URI: http://192.168.1.52:8081/Chat/web_socket.js

on 78 line:throw "INVALID_STATE_ERR: Web Socket connection has not been established";

gimite commented 7 years ago

Can you follow: https://github.com/gimite/web-socket-js#troubleshooting and describe its result? Especially:

kyytyp commented 7 years ago

if i don't run as ruby server, my server is java tomcat8 , it's ok? it's must need 1.client 2.ruby server 3.java tomcat , three?

gimite commented 7 years ago

You need:

See here for details and links to implementations of Flash socket policy server: https://github.com/gimite/web-socket-js#flash-socket-policy-file