EPM Initial Registration issue when customer has proxy requiring user to be logged in for network access

EPM Initial Registration issue when customer has proxy requiring user to be logged in for network access

131
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 16:04 PM


Symptom


Some customers use proxy software on workstations that prevents internet access unless an end user is logged in,
 

In some cases, they may install EPM through a tool like SCCM, but EPM won't be able to register or download policies until the end user logs in.  
 

The purpose of this article is to show you what the EPM log entries may look like in this situation.



Environment


22.6;22.8;23.4;23.6;23.8;23.10;23.12;24.2 EPM
  • EPM SaaS
  • EPM deployed via a tool like SCCM
  • Proxy software prevents internet access unless an end user is logged in
In vf_agent_srv.trace logs, if this situation is happening you may see these entries repeated constantly:

2022.09.14 10:25:56 PID:4576 TID:664 CvfProxySettings::_GetProxyByScript: WinHttpGetProxyForUrl() failed; error 12006
2022.09.14 10:25:56 PID:4576 TID:664 <no class name>::_GetProxyByScript: ERROR: InternetInitializeAutoProxyDll failed, error 12006
2022.09.14 10:25:56 PID:4576 TID:664 CvfRegistrator::Register: AAUTH (RM): RegToken len: 773 e




Then, once EPM finally can communicate because the proxy allows network access, you may see entries like this:

2022.09.14 15:23:28 PID:4576 TID:664 CvfRegistrator::_TryActiveSessionProxy: Proxy settings from active session worked. Setting for future use
2022.09.14 15:23:28 PID:4576 TID:664 CvfRegistrator::ExecuteCommand: INFO: ManagerURL is https://na163.epm.cyberark.com/VFAGT/vfagent.asmx
2022.09.14 15:23:28 PID:4576 TID:664 CvfRegistrator::ExecuteCommand: INFO: WIU URL is https://na163.epm.cyberark.com/VFLPWIU/.wiu?a=d2fa4ef5-569b-4012-ac66-e2df531768de&s=e0c47955-e550-4ac9-b2f4-7d051edd5df8
2022.09.14 15:23:28 PID:4576 TID:664 CvfRegistrator::Register: AAUTH (PR): RegToken len: 773 e
2022.09.14 15:23:29 PID:4576 TID:664 CvfRegistrator::Register: AAUTH: Registration succeeded


Cause


Proxy software prevents internet access unless an end user is logged in

Resolution


Customer can choose to leave as is or to try to modify their proxy software
  • Leave as is - drawbacks
    • There will be a delay in initial EPM agent registration and policy download
    • Future policy downloads, set moves, agent upgrades, inventories, etc will not work unless an end user is logged in
  • Modify proxy software


Actions
  • Print
  • Copy Link

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