CodeNow/api

socket server crash

anandkumarpatel opened this issue · 4 comments

[api-4 (err) 2014-08-28T01:23:21] Cannot call method 'transforms' of null
[api-4 (err) 2014-08-28T01:23:21] TypeError: Cannot call method 'transforms' of null
[api-4 (err) 2014-08-28T01:23:21] at SubStream.write (load.js:102:17)
[api-4 (err) 2014-08-28T01:23:21] at SubStream. (/home/ubuntu/api/lib/socket/primus-proxy.js:72:9)
[api-4 (err) 2014-08-28T01:23:21] at SubStream.emit (events.js:98:17)
[api-4 (err) 2014-08-28T01:23:21] at done (primus.js:875:48)
[api-4 (err) 2014-08-28T01:23:21] at transform (primus.js:846:30)
[api-4 (err) 2014-08-28T01:23:21] at transform (primus.js:858:14)
[api-4 (err) 2014-08-28T01:23:21] at Primus.transforms (primus.js:867:4)
[api-4 (err) 2014-08-28T01:23:21] at SubStream.mine (primus.js:1922:17)
[api-4 (err) 2014-08-28T01:23:21] at Primus.incoming (primus.js:1745:33)
[api-4 (err) 2014-08-28T01:23:21] at transform (primus.js:849:33)

I definitely saw this before... I don't know where off my head, but I'll
think on it

On Wed, Aug 27, 2014 at 6:24 PM, anandkumarpatel notifications@github.com
wrote:

[api-4 (err) 2014-08-28T01:23:21] Cannot call method 'transforms' of null
[api-4 (err) 2014-08-28T01:23:21] TypeError: Cannot call method
'transforms' of null
[api-4 (err) 2014-08-28T01:23:21] at SubStream.write (load.js:102:17)
[api-4 (err) 2014-08-28T01:23:21] at SubStream.
(/home/ubuntu/api/lib/socket/primus-proxy.js:72:9)
[api-4 (err) 2014-08-28T01:23:21] at SubStream.emit (events.js:98:17)
[api-4 (err) 2014-08-28T01:23:21] at done (primus.js:875:48)
[api-4 (err) 2014-08-28T01:23:21] at transform (primus.js:846:30)
[api-4 (err) 2014-08-28T01:23:21] at transform (primus.js:858:14)
[api-4 (err) 2014-08-28T01:23:21] at Primus.transforms (primus.js:867:4)
[api-4 (err) 2014-08-28T01:23:21] at SubStream.mine (primus.js:1922:17)
[api-4 (err) 2014-08-28T01:23:21] at Primus.incoming (primus.js:1745:33)
[api-4 (err) 2014-08-28T01:23:21] at transform (primus.js:849:33)


Reply to this email directly or view it on GitHub
#213.

That means the socket disconnected, but the code is still trying to write
to the sub stream.

On Wednesday, August 27, 2014, Bryan Kendall notifications@github.com
wrote:

I definitely saw this before... I don't know where off my head, but I'll
think on it

On Wed, Aug 27, 2014 at 6:24 PM, anandkumarpatel <notifications@github.com
javascript:_e(%7B%7D,'cvml','notifications@github.com');>
wrote:

[api-4 (err) 2014-08-28T01:23:21] Cannot call method 'transforms' of
null
[api-4 (err) 2014-08-28T01:23:21] TypeError: Cannot call method
'transforms' of null
[api-4 (err) 2014-08-28T01:23:21] at SubStream.write (load.js:102:17)
[api-4 (err) 2014-08-28T01:23:21] at SubStream.
(/home/ubuntu/api/lib/socket/primus-proxy.js:72:9)
[api-4 (err) 2014-08-28T01:23:21] at SubStream.emit (events.js:98:17)
[api-4 (err) 2014-08-28T01:23:21] at done (primus.js:875:48)
[api-4 (err) 2014-08-28T01:23:21] at transform (primus.js:846:30)
[api-4 (err) 2014-08-28T01:23:21] at transform (primus.js:858:14)
[api-4 (err) 2014-08-28T01:23:21] at Primus.transforms (primus.js:867:4)
[api-4 (err) 2014-08-28T01:23:21] at SubStream.mine (primus.js:1922:17)
[api-4 (err) 2014-08-28T01:23:21] at Primus.incoming (primus.js:1745:33)
[api-4 (err) 2014-08-28T01:23:21] at transform (primus.js:849:33)


Reply to this email directly or view it on GitHub
#213.


Reply to this email directly or view it on GitHub
#213 (comment).

a reminder - we found that log-stream has the fix for this :)

On Wed, Aug 27, 2014 at 8:30 PM, Nathan Meyers notifications@github.com
wrote:

That means the socket disconnected, but the code is still trying to write
to the sub stream.
On Wednesday, August 27, 2014, Bryan Kendall notifications@github.com
wrote:

I definitely saw this before... I don't know where off my head, but I'll
think on it

On Wed, Aug 27, 2014 at 6:24 PM, anandkumarpatel <notifications@github.com
javascript:_e(%7B%7D,'cvml','notifications@github.com');>
wrote:

[api-4 (err) 2014-08-28T01:23:21] Cannot call method 'transforms' of
null
[api-4 (err) 2014-08-28T01:23:21] TypeError: Cannot call method
'transforms' of null
[api-4 (err) 2014-08-28T01:23:21] at SubStream.write (load.js:102:17)
[api-4 (err) 2014-08-28T01:23:21] at SubStream.
(/home/ubuntu/api/lib/socket/primus-proxy.js:72:9)
[api-4 (err) 2014-08-28T01:23:21] at SubStream.emit (events.js:98:17)
[api-4 (err) 2014-08-28T01:23:21] at done (primus.js:875:48)
[api-4 (err) 2014-08-28T01:23:21] at transform (primus.js:846:30)
[api-4 (err) 2014-08-28T01:23:21] at transform (primus.js:858:14)
[api-4 (err) 2014-08-28T01:23:21] at Primus.transforms (primus.js:867:4)
[api-4 (err) 2014-08-28T01:23:21] at SubStream.mine (primus.js:1922:17)
[api-4 (err) 2014-08-28T01:23:21] at Primus.incoming (primus.js:1745:33)
[api-4 (err) 2014-08-28T01:23:21] at transform (primus.js:849:33)


Reply to this email directly or view it on GitHub
#213.


Reply to this email directly or view it on GitHub
#213 (comment).


Reply to this email directly or view it on GitHub:
#213 (comment)

fix submitted