title: SSL Handshake error when using proxy with requests library
body: <pre><code>url = &quot;https://google.com&quot;
  session = requests.session()
  proxy = {
          &quot;http&quot;: &quot;http://REDACTED:12345&quot;,
          &quot;https&quot;: &quot;https://REDACTED:12345&quot;
      }
  r = session.get(url, headers={'User-Agent': get_random_agent()}, proxies=proxy)
  print(r.status_code)
  </code></pre>
  <p>I am trying to make a <code>get</code> request with a proxy via the <code>requests</code> library.  I have the above code snippet to demonstrate what I am trying to do.  This snippet is working on one PC I have.  However, I just recently  got a new PC and when trying to execute the same code snippet on my new PC, I get this error -</p>
  <pre><code>TimeoutError: _ssl.c:980: The handshake operation timed out
  </code></pre>
  <p>If I remove <code>proxies=proxy</code> it works fine on my new PC.  I have openssl 1.1.1 installed and python 3.10.</p>