Meteor error message: “Failed to receive keepalive! Exiting.”

前端 未结 1 658
抹茶落季
抹茶落季 2020-12-20 17:36

I am just starting to build a new Meteor app. The only thing I have done so far is add one Collection. It will start, run fine for about 5 minutes, and then give me the erro

相关标签:
1条回答
  • 2020-12-20 18:15

    This was being caused by my large data set and autopublish. Since autopublish was on, Meteor was trying to send the whole 4GB collection down to the client. Trying to process all the data prevented the client from responding to the server's keep alive pings. Or something to that effect.

    Removing autopublish with meteor remove autopublish and then writing my own publish and subscribe functions fixed the problem.

    0 讨论(0)
提交回复
热议问题