title: Python urllib2 giving "network unreachable error" if the URL is https
body: <p>I am trying to fetch some urls using urllib2 library.</p>
  
  <pre><code>a = urllib2.urlopen("http://www.google.com")
  ret = a.read()
  </code></pre>
  
  <p>Code above is working fine, and giving expected result. But when I make the url https, it gives "network unreachable" error</p>
  
  <pre><code>a = urllib2.urlopen("https://www.google.com")
  urllib2.URLError: &lt;urlopen error [Errno 101] Network is unreachable&gt;
  </code></pre>
  
  <p>Is there any problem with ssl? My python version is Python2.6.5. I am also behind an academic proxy server. I have the settings in bash file. Anyway, since http is opening proxy shouldn't be the problem here.</p>