chat room websocket
[13:05:03.980] init websocket [13:05:03.980] ws://10.0.0.230:3014 [13:05:03.985] [pomeloclient.init] websocket connected! [13:05:03.990] disconnect [13:05:03.990] init websocket [13:05:03.990] ws://10.0.0.230:3051 [13:05:03.991] socket close %j [object CloseEvent] [13:05:03.994] [pomeloclient.init] websocket connected! [13:05:07.001] server heartbeat timeout [13:05:07.002] disconnect 无法建长连接
It seems a server timeout detected and the client disconnect the connection. This problem may be caused by such as querying a large resources from server and a long time pause by reading the response data.
The simplest way to solved is that disable the heartbeat checking by remove the configure in app.js and try again.
We would optimize the heartbeat checking and avoid the misinformation like this later.
The issue has been fixed as https://github.com/pomelonode/pomelo-jsclient-websocket/commit/92b8e110d58cc6097ab9e83db373981e164a9920. Please pull the latest version (0.2.1) of lordofpomelo or rebuild the web components and try again :)