When a user tries to create a local destination snapshot on his blog ID 18, the snapshot runs fine, but after some time, it gives “SITE TEMPORARILY UNAVAILABLE. Connection timed out – please try again.” error.
I contacted my server guys and this is what they said:
“looks like the load balancers are timing out then. out load balancers will cut the connection if the browser does not send any data back. the job may still be running, but the connection to the browser is cut.
So the plugin would need to add some sort of keepalive to keep the connection open. As long as the browser sends some data, it could just be a command to show a blinking period on the screen the connection will stay open for up to 15 mins.
It’s not an issue with the browser, its an issue with the code on the site not sending data back to the load balancer. the code on the site tells the browser what to do. So if the code does not tell the browser to send data for longer than 30 seconds then the connection is closed. Even if the script is still running on the server. So it’s not an issue with the browser, but the code itself not having a keep alive.
If they do have a keep alive on their code then that is not the issue then. Then it may be something else. None of the PHP nodes your sites use are under heavy load, the DB server only has a handful of connections. None of the connections to your sites DB were stacking. so from what I can tell on the infrastructure, there is no issue I can see.”