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

橋本紘希 hsmtkk at gmail.com
Mon Mar 15 01:55:33 UTC 2021


Dear Alex,

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

Yes, it dit.

When I added ICAP hostname and IP mapping to the /etc/hosts file
before starting the Squid, the system worked fine.
(I put some shell scripts in the container entry point.)

Thanks for your help.
I hope some fundamental solution might be implemented in the future version.

Best regards,
Kouki Hashimoto

2021年3月13日(土) 3:42 Alex Rousskov <rousskov at measurement-factory.com>:
>
> 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