To fix this issue, perform the following steps:
Uninstall the Access Gateway Service.
Ensure the following:
The required ports are open in firewall for communication between the Administration Console and the Access Gateway.
Antivirus is disabled during installation of the Access Gateway.
The time is in sync with the Administration Console.
Reinstall the Access Gateway Service.