config-state.json file result in Active Directory login failuresFailed to parse response received from connector".400 bad request - invalid username / password" when using Aria Automation API to authenticate as a domain userError: You do not have permission to access this page: /hc/3104/authenticate/ or Error : See logs for details/opt/vmware/horizon/workspace/logs/connector.log, /opt/vmware/horizon/workspace/logs/horizon.log show the issue as:com.vmware.horizon.connector.utils.ServiceUtils - Failed to check service health: invalid MOL urlERROR (pool-4-thread-1) [;;;] com.vmware.horizon.connector.admin.service.impl.StartupDirectoryConfigService - could not take the backup as config-state.json file size is emptyThe vIDM service performs periodic backups of the connector configuration to config-state.json. In instances of file system instability or disk space exhaustion, the integrity of this file may be compromised during the write process.
Broadcom Product team has been notified and is working to address this issue in a timely manner. Subscribe to this article to receive updates when they are available.
/hc/error as shown in the screenshot above in the Introduction section, verify the Bind User/Password of the directory are correct.https://vIDM_NODE_FQDN/SAAS/login/0config-state.json in every <WORKER_ID> directory and restore the latest stable version for any affected directory . SSH to VMware Identity Manager Appliance(s) using root credentials. Change the directory to the location of the config-state.json file by running the command:
cd /usr/local/horizon/conf/states/<TENANT_NAME>/<WORKER_ID> Stop the service before doing anything.
service horizon-workspace stopBack up the current configuration file by running the command:
mv config-state.json config-state.json.1Copy application backup of the configuration file by running the command:
cp -p config-state.json.backup_<latest-stable-version> config-state.jsonChange the owner of the config-state.json to horizon user by running the command:
chown horizon:www /usr/local/horizon/conf/states/<TENANT_NAME>/<WORKER_ID>/config-state.jsonChange the permission of the config-state.json file by running the command:
chmod 640 /usr/local/horizon/conf/states/<TENANT_NAME>/<WORKER_ID>/config-state.jsonStart vIDM/Workspace service by running the command:
service horizon-workspace start