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

called from Flash webSocketError() on server stop #45

Closed earthperson closed 13 years ago

earthperson commented 13 years ago

When I stop server there are so error in javascript console:

[WebSocket] failed to connect Web Socket server (SecurityError) make sure the server is running and Flash socket policy file is correctly placed
webSocketError(message="%5BWebSocket%5D%20faile...is%20correctly%20placed")websoc...lash.js (line 309)
message = "%5BWebSocket%5D%20faile...is%20correctly%20placed"
websocket_flash.js (line 309)

And when I start server I must press F5 on web interface.

gimite commented 13 years ago

Looks like you are using old version of web-socket-js, seeing the error message. Please try latest version. It may be fixed.