javascript - Sails.js disconnects itself -


i got trouble sails.js , socket.io. after little time without use website socket disconnects itself.

i got classic error :

la connexion avec ws://localhost:1337/socket.io/?__sails_io_sdk_version=0.11.0&__sails_io_sdk_platform=browser&__sails_io_sdk_language=javascript&eio=3&transport=websocket&sid=xfnvq0istwig564baaab été interrompue pendant le chargement de la page.  sails.io.js (ligne 5)  ====================================  sails.io.js (ligne 141)  socket disconnected sails.  sails.io.js (ligne 141)    usually, due 1 of following reasons:   -> server taken down   -> browser lost internet connectivity    sails.io.js (ligne 141)  ====================================  sails.io.js (ligne 141)            socket trying reconnect sails...  _-|>_-  (attempt #1)    sails.io.js (ligne 141)  http://localhost:1337/socket.io/?__sails_io_sdk_v...script&eio=3&transport=polling&t=1431665759996-3  	  200 ok  		1ms	  sails.io.js (ligne 4)      |>    socket reconnected after  \___/   being offline ~1.017 seconds.    sails.io.js (ligne 141)  http://localhost:1337/socket.io/?__sails_io_sdk_v...lling&t=1431665760011-4&sid=0_h09mefwxjaslrpaaac  	  200 ok  		0ms	  sails.io.js (ligne 4)        |>    connected sails.  \___/   help, see: http://bit.ly/1dmtvgk          (using browser sdk @v0.11.0)

sails says connected if try refresh or disconnects again... must lift again reconnect correctly.

someone have idea do, or can cause kind of problem?


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -