Device is offline all the time

The supervisor logs look healthy and normal.
Can you run curl https://api.resin.io/ping from inside the device?