I have a Coldfusion Websockets channel that streams data every 2 seconds. This has worked perfectly for some time, however I have now approximately doubled the amount of data being sent and I have problems when it comes to Chrome and Internet Explorer – they both come up with the following errors -
Websocket connecttion to 'ws://mywebsite.com' failed: Invalid frame header Uncaught TypeError: Cannot set property 'readyState' of undefined
Everything works perfectly on Firefox.
I am assuming the errors relate to the size of the packets and that they are not correctly specified in the header, since if I reduce the amount of data slightly everything works fine. I have increased the “Max Data Size” for websockets in Coldfusion Administrator but this does not fix the problem.
Any help with how to get this working would be greatly appreciated.