EPM - Long polling and traditional connection-based heartbeat method

EPM - Long polling and traditional connection-based heartbeat method

89
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:05 PM


Question


Questions between long polling and traditional connection-based heartbeat method:
1. What is the difference between long polling and traditional connection-based heartbeat method?

2. Do the Agent logs indicate that which method is being used?

3. After the Agent switches to traditional connection-based heartbeat method, will the Agent switch back to long polling method?

4. How to determine the long polling and traditional connection-based heartbeat method URLs?


Environment


23.4;23.5;23.6;23.7;23.8;23.9;23.10;23.11;23.12;24.1;24.2;24.3 EPM Windows Agent

Answer


1. By default, EPM uses “long polling” method:
Once a persistent connection is established, the Agent will receive a 1 Byte heartbeat every 30 seconds.
The “long polling” method is extremely traffic saving, but requires network equipment (proxy servers, firewalls, routers, etc.) that able to handle numerous live connections simultaneously.

If the “long polling” method is not applicable, then EPM uses a traditional connection-based heartbeat method (1 KByte heartbeat every 30 seconds).
It is designed to switch to traditional method if persistent connection is not available.


2. When the Agent service starts, this message regarding the What's Up-Long Polling Address can be seen: 
CvfRegistrator::ExecuteCommand: INFO: WIU URL is [SERVERADDRESS]/VFLPWIU/.wiu?a=[AGENTID]&s=[SETID]

If long polling method is working, the following message will appear periodically in the Agent trace:
CvfWIU::_OnReadComplete: INFO: LP data received

If traditional connection-based heartbeat method is used instead, the "LP data received" message will not be found.
The following message will be seen when switching from long polling to traditional connection-based heartbeat method:
CvfDispSender::_WhatsUpV2: Using WIU Version 1: [SERVERADDRESS]/VFWIU/wiu.ashx?a=[AGENTID]&s=[SETID] 


3. Yes, on agent registration.
Agent registration can happen after agent restart, rebooting of the endpoint and/or Server upgrade/long disconnection.


4. Long polling method URL: [SERVERADDRESS]/VFLPWIU/.wiu?a=[AGENTID]&s=[SETID]
For example: https://na107.epm.cyberark.com/VFLPWIU/.wiu?a=52c0a5a5-c823-4107-b5e1-ec98027b9001&s=508de249-6f66-4f73-92d2-09fa259d6557

Connection-based heartbeat method URL: [SERVERADDRESS]/VFWIU/wiu.ashx?a=[AGENTID]&s=[SETID] 
For example: https://na107.epm.cyberark.com/VFWIU/wiu.ashx?a=52c0a5a5-c823-4107-b5e1-ec98027b9001&s=508de249-6f66-4f73-92d2-09fa259d6557


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001JlPCAU&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail