Need Help: ACC with MID Server – WebSocket handshake failed with status 500 / Agent not registering
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
48m ago
Hi All,
We are configuring Agent Client Collector (ACC) with MID Server in our Dev environment and are facing an issue where the ACC agent is installed and running successfully on the Windows target server, but the agent is not appearing under Agent Client Collector > Agents in ServiceNow.
Environment
- ACC version: 7.1.3
- ACC target: Windows Server
- Architecture: ACC with MID Server
Issue
The Agent Client Collector Windows service starts successfully and the ACC configuration validates successfully.
The agent also attempts to connect to the correct MID WebSocket endpoint
However, the connection fails with:
[ERROR] [transport] WebSocket handshake failed with status 500, response body:
[ERROR] [agent] [handshake failed with status 500: ] reconnection attempt failed to the url: wss://IP Addres s of Midserver:Port/ws/events, using api-key authentication failed, validate URL is reachable and authentication is valid
[ERROR] [agent] Failed reaching all MID servers configured.As a result, the ACC agent does not register/appear in under Agent Client Collector > Agents in ServiceNow.
Troubleshooting already performed
We have validated the following:
ACC Windows service is running successfully.
Confirmed the ACC WebSocket Endpoint in ServiceNow is configured and Started.
- Verified network connectivity from the ACC server to the MID Server Port 8800 , TcpTestSucceeded : True
Confirmed from acc.log that ACC is using: using API Key auth
Generated a new MID Web Server API key, updated the live acc.yml, restarted the ACC service, and retested. The same HTTP 500 WebSocket handshake error persists.
Thanks in advance