Symptoms
Error is observed in Control Panel when trying to browse APS Catalog:
Error: Unexpected catalog service error. couldn't connect to host
Cause
Most likely OA cannot access APS catalog server. This may happen due to several reasons:
- Privacy Proxy (privoxy) service is not running
- The domain name apscatalog.com is not resolved to correct IP address from Privacy Proxy host
- OA Management Node cannot connect to Privacy Proxy
- Privacy Proxy is not able to connect to APS Catalog via port 80
Resolution
Verify that Privacy Proxy (privoxy) is up and running:
Find the host where PrivacyProxy service is installed:
113462How to find host(s) where particular service is installed
Log in to the host and verify it is up and running:
[root@cp ~]# service privoxy status privoxy (pid 13367) is running...`
Make sure that domain apscatalog.com is resolved to a correct IP address and accessible via port 80:
[root@cp ~]# ping apscatalog.com PING apscatalog.com (64.131.89.42) 56(84) bytes of data. 64 bytes from apscatalog.com (64.131.89.42): icmp_seq=1 ttl=44 time=189 ms 64 bytes from apscatalog.com (64.131.89.42): icmp_seq=2 ttl=44 time=189 ms [root@cp ~]# wget -SO- --spider apscatalog.com Spider mode enabled. Check if remote file exists. --2012-07-13 10:01:02-- http://apscatalog.com/ Resolving apscatalog.com... 64.131.89.42 Connecting to apscatalog.com|64.131.89.42|:80... connected. HTTP request sent, awaiting response... HTTP/1.1 200 OK Server: nginx/0.8.55 Date: Fri, 13 Jul 2012 03:02:40 GMT Content-Type: text/html; charset=UTF-8 Connection: keep-alive Vary: Accept,Cookie Cache-Control: must-revalidate, no-transform, max-age=0 Length: unspecified [text/html] Remote file exists and could contain further links, but recursion is disabled -- not retrieving.
Verify that OA Management Node is able to connect to Privacy Proxy host:
[root@poacore ~]# telnet 10.20.30.40 8008 Trying 10.20.30.40... Connected to 10.20.30.40. Escape character is '^]'.