Meteor connection often won't reconnect on mobile browser

Does anyone else have the problem:

I am on an arbitrary route of my app using a mobile browser (not cordova, just the mobile Android browser) and the display becomes inactive for a few minutes.

When activating the display again, the current connection is inactive and also won’t reload but requires a hard page refresh. This is very annoying for our users and I’d like to solve this but mobile debugging is… :rage:

This happens only in production using mobiles, no matter whether using wifi or mobile internet.

I am already doubting my nginx config but I’d like to avoid any experiments before knowing what’s going on.

Can anyone help out here?

Nginx conf for the current route:

location /app {
	proxy_pass http://111.111.111.111:5678;
	proxy_http_version 1.1;
	proxy_read_timeout 36000s;
	proxy_send_timeout 36000s;
	proxy_set_header Upgrade $http_upgrade;
	proxy_set_header Connection "upgrade";
	proxy_set_header Host $host;
}

where 111.111.111.111:5678 is my private ip and port settings.

Anyone can has experienced the same issue?

We actively timeout our users to reduce load on the server, so if they leave the page for more than 15 mins we kill their connection.

When they reactivate the page again, we just reconnect them - could you do the same? I believe the event is visibilitychange on the document

I have a Tracker running that checks if the app is disconnected and then calls reconnect but even that won’t work on the production server (which is why I think it could be something involved with nginx).