Hi Folks,
I am trying to configure the squid3.1.x with c-icap and modules on
ubuntu 10.10. Things went well for the srv_clamav. However, when we
test the srv_check_url module, ICAP protocol error as shown:
The following error was encountered while trying to retrieve the URL:
=================================================
http://google.com/
ICAP protocol error.
The system returned: [No Error]
This means that some aspect of the ICAP communication failed.
Some possible problems are:
The ICAP server is not reachable.
An Illegal response was received from the ICAP server.
When I check the server log:
Server 15352 going to serve new request from client (keep-alive)
Error 7 while parsing headers :(205)
Process request timeout or interrupted....
Waiting for a request....
Allocate a new entity of type 0
Allocate a new entity of type 4
Going to check request for access control restrictions
Access control: ALLOW
pool hits:1 allocations: 1
Allocating from objects pool object 0
Requested service: url_check
URL to host www.squid-cache.org
URL page www.squid-cache.org/Artwork/SN.png
Going to check the db ALL for BLOCK
The db :ALL matches!
Storing to objects pool object 0
Log request to access log file /usr/local/c-icap/var/log/access.log
Width: 0, Parameter:
Width: 0, Parameter:
Width: 0, Parameter:
Width: 0, Parameter:
Width: 0, Parameter:
Width: 0, Parameter:
Keep-alive:1
Server 15352 going to serve new request from client (keep-alive)
Error 7 while parsing headers :(205)
Process request timeout or interrupted....
Waiting for a request....
======================================
On the squid, I have the following configuration options:
=======================================
icap_enable on
icap_send_client_ip on
icap_send_client_username on
icap_client_username_encode off
icap_client_username_header X-Authenticated-User
icap_preview_enable on
icap_preview_size 1024
icap_service service_req reqmod_precache 1
icap://127.0.0.1:1344/url_check_module
icap_service service_resp respmod_precache 1
icap://127.0.0.1:1344/url_check_module
icap_class class_avreq service_req
icap_class class_avresp service_resp
icap_access class_avreq allow all
icap_access class_avresp allow all
========================================
Do anyone have any clue on this problem?
Thanks!
Received on Sat May 14 2011 - 16:38:45 MDT
This archive was generated by hypermail 2.2.0 : Sun May 15 2011 - 12:00:02 MDT