Symptoms
The following error appear during the attempt to add a SpamExperts APS service to a user in CCP:
Checking prerequisites...
Error requesting/processing information from the server. SyntaxError: Unexpected token < in JSON at position 0
The browser console shows the following response on PUT HTTP request:
Operations Automation. Service Unavailable Error
Cause
Insufficient Apache timeout for the HTTP request used by the application.
Resolution
Increase Apache timeout on UI server and the APS Endpoint node:
[root@UI01 ~]# grep Timeout /etc/httpd/conf/httpd.conf
Timeout 120
Reload Apache service:
# service httpd reload
The target timeout value should be figured out in accordance with the REST API request execution time. Analyze /var/log/pa/apsc.http.log
to determine the real time the execution takes.