Device manager shows gateways as offline but it looks like they have internet connection..

Device manager shows gateways as offline but it looks like they have internet connection..

I have some Gatways that randomly appear as Offline on Device Manager, but the devices at the endpoint seem to be online with the internet working. Right now I have one gateway this way. How can I do to diagnose what is going on?