I got that exact message today as well.
Not sure what’s up, though. I frequently (of late) lose all connection to the internet (but not wifi) for a while. Sometimes rebooting my phone fixes it. Rebooting the modem always does, but it’s a pretty inconvenient fix.