[squid-users] Squid 5 does not send ICAP request

Alex Rousskov rousskov at measurement-factory.com
Fri Mar 12 18:42:41 UTC 2021


I suspect you are suffering from Bug 4528:
https://bugs.squid-cache.org/show_bug.cgi?id=4528

Which has also been discussed earlier as Bug 3621:
https://bugs.squid-cache.org/show_bug.cgi?id=3621

Does adding icap5 to /etc/hosts (or whatever your hosts_file points to)
help?

Unfortunately, I currently do not have enough free time to study your
logs to explain why Squid v5 delay is longer than that of v4, but I hope
that you can work around the problem by adjusting your hosts file.


HTH,

Alex.


On 3/12/21 2:44 AM, 橋本紘希 wrote:
> I made squid and ICAP system using docker-compose.
> 
> Squid 4 started sending ICAP requests 1 minute after boot.
> 
> However, squid 5 sends no ICAP request even 10 minutes after boot.
> Squid continued to mark the ICAP service down.
> 
> How can I make squid 5 to start ICAP conversation?
> 
> * squid version
> 5.0.5-20210223-r4af19cc24
> 
> * squid.conf
> 
> ```
> http_port 3128
> http_access allow all
> icap_enable on
> icap_service icapsvc reqmod_precache icap://icap5:1344 bypass=off
> adaptation_access icapsvc allow all
> icap_persistent_connections off
> icap_service_revival_delay 60
> debug_options ALL,9
> ```
> 
> * This is my environment.
> https://github.com/hsmtkk/squidicap
> 
> * I uploaded access.log and cache.log to the GitHub issue.
> https://github.com/hsmtkk/squidicap/issues/1
> 
> Best regards,
> Kouki Hashimoto
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
> 



More information about the squid-users mailing list