[squid-users] Problems with squid 3.1 to 3.3 upgrade

Tom Karches twk at ncsu.edu
Fri Aug 9 17:37:47 UTC 2019


On Fri, Aug 9, 2019 at 11:38 AM Alex Rousskov <
rousskov at measurement-factory.com> wrote:

> On 8/9/19 9:59 AM, Tom Karches wrote:
>
> > With this command :
> > $curl --trace --proxy http://127.0.0.1:3128 https://www.google.com
>
> > <p><b>Invalid URL</b></p>
>
> Yeah, that command does not do what you think it does. This has bitten
> me many times. You may want to remove the file name "--proxy" now :-).
>
>
Doh....that was dumb. FWIW, I'm running 3.5.20, not 3.3

Ok, here is the info from the real trace. First time with #dns_v4_first on
commented out, 2nd time "dns_v4_ first on" is active. Difference is with no
"dns_v4_first on" directive, I get a RR_CONNECT_FAIL 111. When active, I
get a RR_CONNECT_FAIL 101.

#dns_v4_first on   commented out
--------------------------------
<= Recv header, 34 bytes (0x22)
0000: 48 54 54 50 2f 31 2e 31 20 35 30 33 20 53 65 72 HTTP/1.1 503 Ser
0010: 76 69 63 65 20 55 6e 61 76 61 69 6c 61 62 6c 65 vice Unavailable
0020: 0d 0a
.
.
<= Recv header, 37 bytes (0x25)
0000: 58 2d 53 71 75 69 64 2d 45 72 72 6f 72 3a 20 45 X-Squid-Error: E
0010: 52 52 5f 43 4f 4e 4e 45 43 54 5f 46 41 49 4c 20 RR_CONNECT_FAIL
0020: 31 31 31 0d 0a                                  111..
.
.
== Info: Received HTTP code 503 from proxy after CONNECT
== Info: Connection #0 to host 127.0.0.1 left intact
curl: (56) Received HTTP code 503 from proxy after CONNECT



dns_v4_first on
---------------------
<= Recv header, 34 bytes (0x22)
0000: 48 54 54 50 2f 31 2e 31 20 35 30 33 20 53 65 72 HTTP/1.1 503 Ser
0010: 76 69 63 65 20 55 6e 61 76 61 69 6c 61 62 6c 65 vice Unavailable
0020: 0d 0a                                           ..

<= Recv header, 37 bytes (0x25)
0000: 58 2d 53 71 75 69 64 2d 45 72 72 6f 72 3a 20 45 X-Squid-Error: E
0010: 52 52 5f 43 4f 4e 4e 45 43 54 5f 46 41 49 4c 20 RR_CONNECT_FAIL
0020: 31 30 31 0d 0a                                  101..
.
.
== Info: Received HTTP code 503 from proxy after CONNECT
== Info: Connection #0 to host 127.0.0.1 left intact
curl: (56) Received HTTP code 503 from proxy after CONNECT

-- 
Thomas Karches
NCSU OIT CSI - Systems Specialist
M.E Student - Technology Education
Hillsborough 319 / 919.515.5508
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20190809/96832a52/attachment.html>


More information about the squid-users mailing list