Today I will be discussing about one of the common issue of  on premises gateway on powerapps.
Below is the screen shot of the error. This issue might occur while connecting with sql and data could not be loaded.

Reason : You on premises gateway services is not running .

Solution : Start this service.
Note : You need to open services as administrator.

After stating service your gateway will be live.

Your list of table will be visible here.