Hit "Connection timeout. No sockjs heartbeat received." when the tab is not the active one for a few minutes

I constantly hit “Connection timeout. No sockjs heartbeat received.” when the tab is not the active one for a few minutes. It happens on the latest Chrome browser with Meteor 1.5

If I stay in the meteor app tab, the connection never timeout, however if I switch to another tab browse for a bit, or leave Chrome in background for a while, when I switch back I will see “Connection timeout. No sockjs heartbeat received.”

Wondering if anyone else have similar problem? Do you know how to prevent this from happening?

2 Likes