internet explorer - Websocket-Rails and IE 8 -


i'm working on real-time chat application using websocket-rails gem , having difficulty in getting real-time updates happen in internet explorer 8.

there's option @ bottom of initializer enables ie8/9 compatibility enabling cors:

  # supporting http streaming on internet explorer versions 8 & 9   # requires cors enabled "/websocket" request.   # list here origin domains allowed perform request.   config.allowed_origins = ['http://localhost:3000'] 

i've enabled development , worked sporadically , unpredictably. able have message appear once or twice never consistently , have since not been able recreate again.

does have experience getting websocket-rails , ie work? in advance.

you can try websocketjs, polyfill websocket

i rather use polyfill have socket connection, trying emulate 1 using http requests.


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -