<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1480883227990_12234"><font face="times new roman, new york, times, serif" size="3" id="yui_3_16_0_ym19_1_1480883227990_12821">Hi </font></div><div id="yui_3_16_0_ym19_1_1480883227990_12302"><font face="times new roman, new york, times, serif" size="3"><br></font></div><div id="yui_3_16_0_ym19_1_1480883227990_12303"><font face="times new roman, new york, times, serif" size="3" id="yui_3_16_0_ym19_1_1480883227990_12824">So I understand that using connect method https connection can pass through http proxy</font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1480883227990_12360"><font face="times new roman, new york, times, serif" size="3" id="yui_3_16_0_ym19_1_1480883227990_12823">but I am seeing strange behavior and thought some one here might help me to find</font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1480883227990_12301"><font face="times new roman, new york, times, serif" size="3" id="yui_3_16_0_ym19_1_1480883227990_12938">the problem we are facing.</font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1480883227990_12359"><font face="times new roman, new york, times, serif" size="3"><br></font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1480883227990_12300"><font face="times new roman, new york, times, serif" size="3" id="yui_3_16_0_ym19_1_1480883227990_12859">I am using simple java app to test https connectivity through http proxy:</font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1480883227990_12300"><font face="times new roman, new york, times, serif" size="3" id="yui_3_16_0_ym19_1_1480883227990_12860"><a href="http://alvinalexander.com/blog/post/java/simple-https-example" class="" id="yui_3_16_0_ym19_1_1480883227990_12417">http://alvinalexander.com/blog/post/java/simple-https-example</a><br></font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1480883227990_12300"><font face="times new roman, new york, times, serif" size="3"><br></font></div><div id="yui_3_16_0_ym19_1_1480883227990_12429"><font face="times new roman, new york, times, serif" id="yui_3_16_0_ym19_1_1480883227990_12948"><span style="font-size: medium;" id="yui_3_16_0_ym19_1_1480883227990_12861">If we run below command agains squid running on RedHat:</span><br></font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1480883227990_12235"><font face="times new roman, new york, times, serif" id="yui_3_16_0_ym19_1_1480883227990_12947"><span style="font-size: medium; white-space: pre-wrap;" id="yui_3_16_0_ym19_1_1480883227990_12862">java -Dhttp.proxyHost=webcache.example.com -Dhttp.proxyPort=808 JavaHttpsExample</span><br></font></div><pre id="yui_3_16_0_ym19_1_1480883227990_12275"><font face="times new roman, new york, times, serif" id="yui_3_16_0_ym19_1_1480883227990_12796" size="3">connection fails , and Squid log file won't even log any thing in log file.</font></pre><pre id="yui_3_16_0_ym19_1_1480883227990_12275"><font face="times new roman, new york, times, serif" size="3">but if we run:</font></pre><pre id="yui_3_16_0_ym19_1_1480883227990_12275"><font face="times new roman, new york, times, serif" id="yui_3_16_0_ym19_1_1480883227990_12799" size="3">java -Dhttps.proxyHost=webcache.example.com -Dhttps.proxyPort=8080 JavaHttpsExample</font></pre><pre id="yui_3_16_0_ym19_1_1480883227990_12275"><font face="times new roman, new york, times, serif" size="3" id="yui_3_16_0_ym19_1_1480883227990_12865">I get response and a line being recorded in log file.</font></pre><pre id="yui_3_16_0_ym19_1_1480883227990_12275"><font face="times new roman, new york, times, serif" id="yui_3_16_0_ym19_1_1480883227990_12946">And now running the same app against different squid running on Centos,</font></pre><pre id="yui_3_16_0_ym19_1_1480883227990_12275"><font face="times new roman, new york, times, serif" id="yui_3_16_0_ym19_1_1480883227990_12949">I get response from both but nothing being logged with -Dhttp.proxyHost.<br></font></pre><pre id="yui_3_16_0_ym19_1_1480883227990_12275"><font face="times new roman, new york, times, serif" size="3">Please help.</font></pre><pre id="yui_3_16_0_ym19_1_1480883227990_12275"><font id="yui_3_16_0_ym19_1_1480883227990_12771" face="times new roman, new york, times, serif" size="3">If any one has any tips or any simple app to test different aspect of https connectivity through squid please let me know.</font></pre><pre id="yui_3_16_0_ym19_1_1480883227990_12275"><font face="times new roman, new york, times, serif" size="3" id="yui_3_16_0_ym19_1_1480883227990_12937">Thanks</font></pre><pre id="yui_3_16_0_ym19_1_1480883227990_12275"><font face="times new roman, new york, times, serif" size="3"><br></font></pre></div></body></html>