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

Eliezer Croitoru ngtech1ltd at gmail.com
Mon Mar 15 09:18:32 UTC 2021


Hey Alex and Amos.

These bugs are open since forever.
There is a simple way to re-produce it.
There is also a simple bypass to the issue but still.
However, Would it be possible to fix it for 6?
It doesn't to even require a single http request to test and verify.
The ICAP hosts doesn't resolve for at-least 3 minutes.

Thanks,
Eliezer

----
Eliezer Croitoru
Tech Support
Mobile: +972-5-28704261
Email: ngtech1ltd at gmail.com
Zoom: Coming soon


-----Original Message-----
From: squid-users <squid-users-bounces at lists.squid-cache.org> On Behalf Of Alex Rousskov
Sent: Friday, March 12, 2021 8:43 PM
To: 橋本紘希 <hsmtkk at gmail.com>; squid-users at lists.squid-cache.org
Subject: Re: [squid-users] Squid 5 does not send ICAP request

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
> 

_______________________________________________
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