Environment
- App Control Server: 8.1.x - 8.8.x
Symptoms
API Errors similar to:
GET CB_Server.domain.net/api/bit9platform/v1/fileInstanceGroup/ results in "Cannot expand field certificateid"
PHP Fatal error: Maximum execution time of <time> seconds exceeded in C:\Program Files (x86)\Bit9\Parity Console\WebUI\include\Objects\ApiCall.php on line <number of line>
Cause
ScriptResultSetLimit value set where it exceeds response buffer size limit
ResponseBufferLen needs to be set to a higher value than the default (64*1024=65536)
Resolution
Additional Notes
- App Control Server 8.9.0 included a rewrite that no longer uses the old AD scripts by default.
- If AllowADScripts was set to true, this issue could return. The previous workaround is as follows:
- Log in to the Console and navigate to https://ServerAddress/shepherd_config.php
- Locate the Property: ScriptResultSetLimit
- Change the Value to 250. (Prevents exceeding the Response Buffer max size: 64*1024 bytes which equals 65536)
- Locate the Property: ResponseBufferLen
- Change the Value to 83968 to support a larger chunk of data that would be generated.
- Restart both the App Control Server and App Control Reporter services