Agent Client Collector installation errors on macOSSummary<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Users may see one of the following errors when installing Agent Client Collector (ACC) on macOS: permission denied error on acc.yml 401 handshake failure when connecting to the backend URL Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } All Supported Releases Instructions<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Example Error 1: 2022-09-15T17:08:42.20 [FATAL] [agent] [open /Library/Application Support/ServiceNow/agent-client-collector/acc.yml: permission denied] error executing acc 2022-09-15T17:08:52.28 [FATAL] [agent] [open /Library/Application Support/ServiceNow/agent-client-collector/acc.yml: permission denied] error executing acc Example Error 2: 2022-09-15T17:15:45.67 [INFO] [agent] Agent Protection: Got new check List; init protection data. Using standard CPU limit of 5 percent 2022-09-15T17:15:45.67 [DEBUG] [agent] checkIfIpsChanged: invoked with ipAddresses: [] 2022-09-15T17:15:45.67 [DEBUG] [agent] Interface Name : en5 ipv4Addr: <IP ADDRESS> netMask: fffffe00 on-link route: 2022-09-15T17:15:45.67 [INFO] [agent] connecting to backend URL: wss:///ws/events 2022-09-15T17:15:45.67 [DEBUG] [agent] [Accept: application/octet-stream] setting header 2022-09-15T17:15:45.74 [ERROR] [agent] [handshake failed with status 401] reconnection attempt failed to the url: wss:///ws/events 2022-09-15T17:15:45.79 [DEBUG] [agent] checkIfIpsChanged: invoked with ipAddresses: 2022-09-15T17:15:45.79 [DEBUG] [agent] Interface Name : en5 ipv4Addr: netMask: on-link route: 2022-09-15T17:15:45.79 [DEBUG] [agent] MID selector has no next MID server STEPS TO REPRODUCE: Errors can be reproduced while installing ACC on macOS. CAUSE: For Example Error 1, the acc.yml does not having sufficient permissions. For Example Error 2, the Customer needs to check with their Network team/ wait for next 10 mins. 1. For fixing the permission issues, please use below commands. Please note that the default user would be _servicenow. #chown _servicenow:_servicenow /Library/Application\ Support/servicenow/agent-client-collector/acc.yml 2. Please run the below commands for restarting the service from Mac OS terminal. #sudo launchctl unload /Library/LaunchDaemons/com.sn.acc.plist#sudo launchctl load -w /Library/LaunchDaemons/com.sn.acc.plist 3. ACC Service can be validated by using the below command. #sudo launchctl list | grep acc The service will list as below with 97331(example PID) will be different in your machine.6140 0 com.apple.accessoryupdaterd- 0 com.apple.accessoryd- -9 com.apple.xpc.roleaccountd97331 0 com.sn.acc Related Links<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } #acc.yml path /Library/Application\ Support/servicenow/agent-client-collector/acc.yml#acc logs path /var/log/servicenow/agent-client-collector/acc.log ServiceNow Docs: Agent Client Collector installation on a macOS system