Issue with Safari 10.1 and websockets?

I'm having issues sending data over a web-socket in JS from Safari 10.1 (fine in 10.0.3).


If I call websocket.sendMessage with a UInt8Array of size greater than approx. 23090, then I get an exception 'Websocket connection to 'XXXX' failed: Failed to send Websocket frame and I get an onclosed callback on the socket.


Is this a bug or has there been some new function added that I have to code against? (recommendations?)


Thank you.

MacBook Pro with Retina display, OS X El Capitan (10.11.6)

Posted on Apr 4, 2017 9:30 AM

Reply
2 replies

Apr 27, 2017 8:24 AM in response to MikeBeale

I have the same issue with 10.1
but it works fine with 10.0.3


Here is my log from browser console:
http://image.quickblox.com/459f0469f8c5af77d71775066988.injoit.png


Checked 10.1 Release Notes but found nothing about Websocket changes

https://developer.apple.com/library/content/releasenotes/General/WhatsNewInSafar i/Articles/Safari_10_1.html


Does anybody from Apple can comment?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Issue with Safari 10.1 and websockets?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.