socket hang up

70 views
Skip to first unread message

Ritesh Jha

unread,
Apr 23, 2013, 7:26:35 AM4/23/13
to sha...@googlegroups.com
I am getting this error while using ShareJs in linux, but it is working perfectly in window. please help


timers.js:103
            if (!process.listeners('uncaughtException').length) throw e;
                                                                      ^
Error: socket hang up
    at createHangUpError (http.js:1360:15)
    at ServerResponse.OutgoingMessage._writeRaw (http.js:507:26)
    at ServerResponse.OutgoingMessage._send (http.js:476:15)
    at ServerResponse.OutgoingMessage.write (http.js:740:18)
    at messagingMethods.writeRaw (/usr/local/lib/node_modules/share/node_modules/browserchannel/lib/server.coffee:95:22)
    at Object.module.exports.session [as _onTimeout] (/usr/local/lib/node_modules/share/node_modules/browserchannel/lib/server.coffee:582:13)
    at Timer.list.ontimeout (timers.js:101:19)

Thanks,
Ritesh

Joseph Gentle

unread,
Apr 23, 2013, 11:33:24 AM4/23/13
to sha...@googlegroups.com

What distribution of Linux are you using & what version of nodejs and ShareJS?

--
You received this message because you are subscribed to the Google Groups "ShareJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sharejs+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ritesh Jha

unread,
Apr 23, 2013, 10:25:53 PM4/23/13
to sha...@googlegroups.com
Thanks for your quick reply. here is the details

Linux: CentOS release 5.7 (Final) 

uname - r  output (2.6.18-274.12.1.el5xen)

Node : v0.8.20

ShareJs : 0.6.2

Thanks,
Ritesh


--
You received this message because you are subscribed to a topic in the Google Groups "ShareJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sharejs/K2hiu_rq_QA/unsubscribe?hl=en-GB.
To unsubscribe from this group and all of its topics, send an email to sharejs+u...@googlegroups.com.

Joseph Gentle

unread,
Apr 23, 2013, 10:58:12 PM4/23/13
to sha...@googlegroups.com
There's a known issue with nodejs 0.8.20. Upgrade to 0.8.21+ or 0.10
and see if that fixes things.

Ritesh Jha

unread,
May 1, 2013, 11:04:30 PM5/1/13
to sha...@googlegroups.com
Hi Joseph,

Sorry for late reply. I had to upgrade my server to upgrade node, so it took time. By the way it works great.

Thanks,
RItesh
Reply all
Reply to author
Forward
0 new messages