Getting websocket connection error after some time.

Post here your questions about the HTML5 / JavaScript for SFS2X

Moderators: Lapo, Bax

nik0990
Posts: 76
Joined: 23 Dec 2016, 10:48
Location: India

Getting websocket connection error after some time.

Postby nik0990 » 21 Jan 2017, 08:18

Hi,

I am getting websocket connection error after some time at client side.

websocket connection to 'ws://publicIp:8888/websocket' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSEDfailed

I have configured all server and zone and it is working good but suddenlly it start showing wesocket error and after server restart it working fine and than came again.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Getting websocket connection error after some time.

Postby Lapo » 21 Jan 2017, 09:42

Hi,
so this is happening after the client is connected and communicating with the server?

Since it's a network error I would look into network issues. Where is the server running? Dedicated hosting? Also where is the client connecting from (same country? different country?)

Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X HTML5 / JavaScript API”

Who is online

Users browsing this forum: No registered users and 14 guests