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

more IE9 issues #104

Closed marbemac closed 12 years ago

marbemac commented 12 years ago

Any why I might get this error:

SecurityError: Error #2060: Security sandbox violation: ExternalInterface caller http://js.pusherapp.com/1.9.4/WebSocketMain.swf cannot access .

at flash.external::ExternalInterface$/_evalJS() at flash.external::ExternalInterface$/call() at WebSocketMain/log() at WebSocket/onSocketData()

I'm using pusher and they pointed me over here for possible help. This error is in IE9 only. If you need any more info please ask.

gimite commented 12 years ago

Do you open your page as local file i.e. with URL file:///... ? It doesn't work in local file.

Or, do you host your HTML page in HTTPS? There may be some issue specific to HTTPS.

Please also try "Troubleshooting" section in https://github.com/gimite/web-socket-js . I tried sample.html (in web-socket-js package) + IE9 with web-socket-ruby server and it worked.

gimite commented 12 years ago

Closing for now. Please reopen with more information pointed above if this is still an issue.