Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

meteor restart shows error in terminal console "Failed to receive keepalive! Exiting"

Tags:

meteor

Currently I am coding in Meteor 0.9.3, Ubuntu 14.04 and VMware 10

Every time I edit my code, meteorjs takes too much time for restart and ubuntu terminal console shows error. Sometimes it shows "unexpected error" in chrome also.

=> Meteor server restarted
=> Client modified -- refreshing
I20140927-13:24:11.922(5.5)? Failed to receive keepalive! Exiting.
=> Exited with code: 1
=> Meteor server restarted
=> Client modified -- refreshing
I20140927-13:25:27.484(5.5)? Failed to receive keepalive! Exiting.
=> Exited with code: 1
=> Client modified -- refreshing
=> Exited from signal: SIGUSR2
=> Meteor server restarted
=> Client modified -- refreshing
I20140927-13:33:04.041(5.5)? Failed to receive keepalive! Exiting.
=> Exited with code: 1
=> Meteor server restarted
=> Client modified -- refreshing
I20140927-13:37:47.871(5.5)? Failed to receive keepalive! Exiting.
=> Exited with code: 1
=> Meteor server restarted
=> Client modified -- refreshing
I20140927-13:42:04.362(5.5)? Failed to receive keepalive! Exiting.
=> Exited with code: 1
=> Client modified -- refreshing
=> Meteor server restarted

meteor package list that i used in my project

ubuntu terminal console

like image 419
linto cheeran Avatar asked Nov 01 '22 16:11

linto cheeran


1 Answers

This is a known issue. The fix is currently on the development branch and I assume will be part of the next update after 0.9.3. As suggested by Nick Martin, you can add:

process.argv = _.without(process.argv, '--keepalive');
Meteor.startup(function () { console.log("LISTENING"); });

Somewhere in your server code and that should provide a workable but hacky solution for now.

like image 89
David Weldon Avatar answered Nov 08 '22 04:11

David Weldon