Skip to content

Commit 11a5827

Browse files
committed
Fix NONE/503 errors in Squid proxy
1 parent 87969e5 commit 11a5827

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

etc/kayobe/containers/squid_proxy/squid.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,7 @@ refresh_pattern ^ftp: 1440 20% 10080
7777
refresh_pattern ^gopher: 1440 0% 1440
7878
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
7979
refresh_pattern . 0 20% 4320
80+
81+
# Disable connections over IPv6
82+
# https://ramesh-sahoo.medium.com/squid-proxy-server-has-stopped-handling-connection-resulting-in-none-503-0-connect-errors-55477316850a
83+
dns_v4_first on
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes an issue where Squid proxy could be unable to reach external servers
5+
due to a preference of choosing IPv6 connectivity by default.

0 commit comments

Comments
 (0)