Discovery Scan(New SaaS) - Unable to retrieve information due to a scan timeout.

Discovery Scan(New SaaS) - Unable to retrieve information due to a scan timeout.

98
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:54 PM


Symptom


When you perform a large or entire domain scan, you might see the discovery scan process running for a few days and fail with the error below.

"errorMessage": "Unable to retrieve information due to a scan timeout. To resolve this, consider defining multiple narrowed scope scans."



Environment


14.6 Privilege Cloud Central Policy Manager (CPM)
  • PCloud ISPSS New SaaS Discovery Scan
  • Idira Management Agent


Cause


A high volume of calls to the AD causes the discovery scan to reach a timeout.



Resolution


On each Connector Server where you have Idira Management Agent installed, add the registry keys below.

Press Win + R, type regedit, and press Enter.
Navigate to the following location: (If the key does not exist, we need to create it \CyberArk\DiscoveryConfig)
HKEY_LOCAL_MACHINE\SOFTWARE\CyberArk\DiscoveryConfig
Right-click in the right panel and select New > DWORD (32-bit) Value.
Name it THREAD, value=1
Click OK and close the Registry Editor.

Re-run the scan after all the connectors/ a specific connector has above registry key added.

If the issue was NOT RESOLVED, then add the registry key below.

------------------------------------------------------------------------------------------------------------------------------------

Press Win + R, type regedit, and press Enter.
Navigate to the following location:
HKEY_LOCAL_MACHINE\SOFTWARE\CyberArk\DiscoveryConfig
Right-click in the right panel and select New > DWORD (32-bit) Value.
Name it MaxThreadNumber, Value=5 
**Recommend 5 threads. Customer can always increase these numbers based on their requirement.**
This will reduce system traffic and avoid the timeout issue.
Click OK and close the Registry Editor.

Re-run the scan after all the connectors/ a specific connector has the registry key added as mentioned above.



Actions
  • Print
  • Copy Link

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