Page 1 of 1

Websocket request rejected. Received: TEXT, Required: Byte[].

Posted: 18 May 2018, 19:50
by Ninjaoninja2
Hello,
For some reason, as soon as I upgraded to the latest JavaScript API update, I am getting this error when trying to connect using Web Sockets, even though the useSSL Boolean is set to true.

"Websocket request rejected. Received: TEXT, Required: Byte[], Session will be closed."

Here's a look at my connection code:
sfs.connect("domainname.co", 8443, true);

Re: Websocket request rejected. Received: TEXT, Required: Byte[].

Posted: 19 May 2018, 14:07
by Lapo
Hi,
it sounds like this problem:
viewtopic.php?f=18&t=20559

Re: Websocket request rejected. Received: TEXT, Required: Byte[].

Posted: 19 May 2018, 16:46
by Ninjaoninja2
Lapo wrote:Hi,
it sounds like this problem:
viewtopic.php?f=18&t=20559

It was, should've used the search first. :oops:

Re: Websocket request rejected. Received: TEXT, Required: Byte[].

Posted: 20 May 2018, 08:23
by Lapo
No problem :)