Read Timeout error message is thrown while trying to login to Horizon Server REST API or com.vmware.vrho.adapter.HorizonAdapter.onTest - Exception occured while testing the adapter instance or com.vmware.vrho.adapter.utils.exceptions.HorizonAdapterRuntimeException: Invalid User Credential.
Problem
Login to Horizon Server REST API failed.
Solution
- Verify the Horizon Rest API access using the following steps:
- Enter https://{Horizon-Connection-Server-URL}/rest/swagger-ui.html URL.
- Click Auth Section.
- Click POST /login API.
- Click Try It Out.
- Replace AD-TEST-DOMAIN with the domain name, <password> with Password, and Administrator with the actual values providing to the adapter.
- Click Execute.
{ "access_token": "eyJhbGciOiJSUzI1NiJ9.eyJ1c2VyLXNpZCI6IlMtMS01LTIxLT...............", "refresh_token": "eyJhbGciOiJSUzI1NiJ9.eyJ1c2VyLXNpZCI6IlMtMS01LTIxLTM0MDkw............" }
- If the server not responding with 200 code and not reporting the permission issues, please follow the below steps:
- Traverse to the location
"<INSTALLDIR>\VMware\VMware View\Server\broker\webapps"
in non-working CS. - Delete the rest folder.
- Restart the connection server.
- Traverse to the location
- If the issue is not resolved after step 2, contact the Horizon support team to resolve issue with rest API connectivity.