<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 9, 2019 at 11:38 AM Alex Rousskov <<a href="mailto:rousskov@measurement-factory.com">rousskov@measurement-factory.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 8/9/19 9:59 AM, Tom Karches wrote:<br>
<br>
> With this command :<br>
> $curl --trace --proxy <a href="http://127.0.0.1:3128" rel="noreferrer" target="_blank">http://127.0.0.1:3128</a> <a href="https://www.google.com" rel="noreferrer" target="_blank">https://www.google.com</a><br>
<br>
> <p><b>Invalid URL</b></p><br>
<br>
Yeah, that command does not do what you think it does. This has bitten<br>
me many times. You may want to remove the file name "--proxy" now :-).<br>
<br></blockquote><div><br></div><div>Doh....that was dumb. FWIW, I'm running 3.5.20, not 3.3</div><div><br></div><div>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. </div><div><br></div></div><div>#dns_v4_first on   commented out<br>--------------------------------<br><= Recv header, 34 bytes (0x22)<br>0000: 48 54 54 50 2f 31 2e 31 20 35 30 33 20 53 65 72 HTTP/1.1 503 Ser<br>0010: 76 69 63 65 20 55 6e 61 76 61 69 6c 61 62 6c 65 vice Unavailable<br>0020: 0d 0a<br>.<br>.<br><= Recv header, 37 bytes (0x25)<br>0000: 58 2d 53 71 75 69 64 2d 45 72 72 6f 72 3a 20 45 X-Squid-Error: E<br>0010: 52 52 5f 43 4f 4e 4e 45 43 54 5f 46 41 49 4c 20 RR_CONNECT_FAIL <br>0020: 31 31 31 0d 0a                                  111..<br>.<br>.<br>== Info: Received HTTP code 503 from proxy after CONNECT<br>== Info: Connection #0 to host 127.0.0.1 left intact<br>curl: (56) Received HTTP code 503 from proxy after CONNECT<br><br><br><br>dns_v4_first on<br>---------------------<br><= Recv header, 34 bytes (0x22)<br>0000: 48 54 54 50 2f 31 2e 31 20 35 30 33 20 53 65 72 HTTP/1.1 503 Ser<br>0010: 76 69 63 65 20 55 6e 61 76 61 69 6c 61 62 6c 65 vice Unavailable<br>0020: 0d 0a                                           ..<br><br><= Recv header, 37 bytes (0x25)<br>0000: 58 2d 53 71 75 69 64 2d 45 72 72 6f 72 3a 20 45 X-Squid-Error: E<br>0010: 52 52 5f 43 4f 4e 4e 45 43 54 5f 46 41 49 4c 20 RR_CONNECT_FAIL <br>0020: 31 30 31 0d 0a                                  101..<br>.<br>.<br>== Info: Received HTTP code 503 from proxy after CONNECT<br>== Info: Connection #0 to host 127.0.0.1 left intact<br>curl: (56) Received HTTP code 503 from proxy after CONNECT<br></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font size="1" face="arial, helvetica, sans-serif">Thomas Karches<br>NCSU OIT CSI - Systems Specialist</font></div><div><font size="1" face="arial, helvetica, sans-serif">M.E Student - Technology Education</font></div><div><font size="1" face="arial, helvetica, sans-serif">Hillsborough 319 / 919.515.5508</font></div><div dir="ltr"><br><br></div></div></div></div></div></div></div></div></div></div>