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

Post here your questions about the HTML5 / JavaScript for SFS2X

Moderators: Lapo, Bax

Ninjaoninja2
Posts: 192
Joined: 22 Sep 2013, 23:33

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

Postby Ninjaoninja2 » 18 May 2018, 19:50

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);
User avatar
Lapo
Site Admin
Posts: 21286
Joined: 21 Mar 2005, 09:50
Location: Italy

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

Postby Lapo » 19 May 2018, 14:07

Hi,
it sounds like this problem:
viewtopic.php?f=18&t=20559
Lapo
--
gotoAndPlay()
...addicted to flash games
Ninjaoninja2
Posts: 192
Joined: 22 Sep 2013, 23:33

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

Postby Ninjaoninja2 » 19 May 2018, 16:46

Lapo wrote:Hi,
it sounds like this problem:
viewtopic.php?f=18&t=20559

It was, should've used the search first. :oops:
User avatar
Lapo
Site Admin
Posts: 21286
Joined: 21 Mar 2005, 09:50
Location: Italy

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

Postby Lapo » 20 May 2018, 08:23

No problem :)
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X HTML5 / JavaScript API”

Who is online

Users browsing this forum: No registered users and 2 guests