Join us Dec. 16 for The Community Hour, our first global virtual User Group event!

Need Help: ACC with MID Server – WebSocket handshake failed with status 500 / Agent not registering

Aman Trivedi1
Tera Contributor

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:

  1. ACC Windows service is running successfully.

  2. Confirmed the ACC WebSocket Endpoint in ServiceNow is configured and Started.

  3. Verified network connectivity from the ACC server to the MID Server Port 8800 , TcpTestSucceeded : True
  4. Confirmed from acc.log that ACC is using: using API Key auth

  5. 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.

     
Has someone face this issue earlier?

Thanks in advance



0 REPLIES 0