POLLHUP message in asset_tracker

I am using  asset_tracker as the basic program and basically it is running fine and sending data to the RF connect web page.

However approximately every 30 minutes I get the POLLHUP signal. at that point it executes the following code

LOG_ERR("Socket error: POLLHUP");
LOG_ERR("Connection was closed by the cloud.");
error_handler(ERROR_CLOUD, -EIO);
return;

this does a system reboot. Is there anyway to stop this from happening? if not is there a way to gracefully reconnect in asset_tracker without a system reboot. It is quite annoying and I am sure our customers would want this removed. I appreciate any help you can give. this is quite repeatable ~30 minutes forever.

Related