In squid-3.1.6 https are broken when ipv6 is disabled. When I try to open https link I get these errors in cache.log:
2010/08/10 06:23:59| comm_open: socket failure: (97) Address family not supported by protocol
2010/08/10 06:24:02| comm_open: socket failure: (97) Address family not supported by protocol
2010/08/10 06:24:18| comm_open: socket failure: (97) Address family not supported by protocol
2010/08/10 06:24:20| comm_open: socket failure: (97) Address family not supported by protocol
I debug a little and found that getOutgoingAddr return '::' for outgoing address so comm_openex try to open ipv6 socket.
Temporary solution for most users - set tcp_outgoing_address in squid.conf to ipv4 address.
Can you please check if the following patch fixes your problem?
I try this patch but it doesn't help. I think it do something with 'ICAP' feature but my useflag icap-client is disabled.
I'm having this same issue - no IPv6 in the kernel, squid-3.1.6 build with -ipv6, same errors in the cache.log as reported by Leonid.
I applied the patch suggested in comment#1 (to a local modified ebuild) and I also see no change - the same errors are appearing in cache.log.
That also seems to be the experience of upstream at the moment (http://www.spinics.net/lists/squid/msg49141.html).
In the short term I think I'll have to mask that version of the ebuild.
Created attachment 242239 [details, diff]
modified patch for 3.1.6
Fixed in -r1, thanks!
Yep - the -r1 update fixes it for me also, thank you very much.
*** Bug 332771 has been marked as a duplicate of this bug. ***
*** Bug 333073 has been marked as a duplicate of this bug. ***