Squid Error: TCP_MISS_ABORTED/000 0 GET HIER_DIRECT/2404: ipV6

Squid Proxy Server Error: TCP_MISS_ABORTED

Error Message:

TCP_MISS_ABORTED/000 0 GET http://www.google.com/ – HIER_DIRECT/2404:6800:4003:803::1011
7433 x.x.x.x TCP_MISS_ABORTED/000 0 GET http://www.facebook.com/ user HIER_DIRECT/2a03:2880:20:3f07:face:b00c:0:1
TCP_DENIED/407 4471 GET http://www.google.com/ – HIER_NONE/- text/html

Reason of the errot:

Latest version of Squid support both ipv4 and ipv6 and by default dns queries will prefer ipv6.
If your system is not configured for ipv6 network, DNS queries will be pointed to ipv6 network and your proxy server cannot reach that network.


Configure ipv6 properly and try pinging IPV6 Addresses.
#ping6 ivp6.google.com

Otherwise you have to add the following line in the squid config to give first preference to ipv4.

#vim /etc/squid/squid.conf
dns_v4_first on
#service squid restart