Re: [squid-users] Need help on squid configuration with remote icap server

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Wed, 11 Dec 2013 12:51:26 -0700

On 12/11/2013 04:17 AM, Anil Kapu wrote:

> Following is the setup:
> I have setup Squid on 192.168.10.8 and ICAP server on 192.168.10.9, on
> 192.168.10.8 in squid.conf file I have provided "icap_service
> service_req reqmod_precache routing=on bypass=1 icap://<icap server
> ip>:1344/url_check_module".
>
> When I try to open any URL on the machine where squid is setup I get
> following error in squid log "optional ICAP service is down after an
> options fetch failure: icap://192.168.10.9:1344/url_check_module
> [down,!opt]" (I have setup my iptables to route all the http traffic
> to squid port 3128)

Your Squid cannot get an ICAP OPTIONS response from the ICAP server.
What happens when, on the Squid box, you do:

  $ ping 192.168.10.9

and

  $ telnet 192.168.10.9 1344

Thank you,

Alex.

> icap_enable on
> icap_service service_req reqmod_precache routing=on bypass=1
> icap://192.168.10.9:1344/url_check_module
> adaptation_access service_req allow all
> icap_service_failure_limit -1
Received on Wed Dec 11 2013 - 19:51:54 MST

This archive was generated by hypermail 2.2.0 : Thu Dec 12 2013 - 12:00:04 MST