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

Alex Rousskov rousskov at measurement-factory.com
Mon Mar 15 14:51:46 UTC 2021


On 3/15/21 5:18 AM, Eliezer Croitoru wrote:

> 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?

Yes, it would be! We are waiting for a volunteer to contribute a quality
fix or a sponsor who can facilitate the same. The problem can be solved,
but there is no trivial solution AFAICT, and nobody volunteered to do or
pay for the necessary work.

https://wiki.squid-cache.org/SquidFaq/AboutSquid#How_to_add_a_new_Squid_feature.2C_enhance.2C_of_fix_something.3F

Alex.


> -----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
> 
> _______________________________________________
> 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