<p dir="auto">While i'm using proxies just get always this error.<br>
I've try several times at least i resolved by removing the "s" in the https: proxy too as suggested in <a href="https://stackoverflow.com/questions/65516325/ssl-wrong-version-number-on-python-request" rel="nofollow">this topic</a>:</p>
<p dir="auto">I think this problem is related to the last version, because i've tried on an older one and it works great.</p>
<h2 dir="auto">Solution Steps</h2>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import requests
...
self.proxies = {
    'http': f'http://...:8080/',
    'https': f'http://...:8080/'
}
def get(self, url):
     request_url = self.base_url + url
     return requests.get(request_url, headers=self.headers, proxies=self.proxies)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">requests</span>
...
<span class="pl-s1">self</span>.<span class="pl-s1">proxies</span> <span class="pl-c1">=</span> {
    <span class="pl-s">'http'</span>: <span class="pl-s">f'http://...:8080/'</span>,
    <span class="pl-s">'https'</span>: <span class="pl-s">f'http://...:8080/'</span>
}
<span class="pl-k">def</span> <span class="pl-en">get</span>(<span class="pl-s1">self</span>, <span class="pl-s1">url</span>):
     <span class="pl-s1">request_url</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">base_url</span> <span class="pl-c1">+</span> <span class="pl-s1">url</span>
     <span class="pl-k">return</span> <span class="pl-s1">requests</span>.<span class="pl-en">get</span>(<span class="pl-s1">request_url</span>, <span class="pl-s1">headers</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">headers</span>, <span class="pl-s1">proxies</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">proxies</span>)</pre></div>
<h2 dir="auto">System Information</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ python -m requests.help"><pre class="notranslate"><code class="notranslate">$ python -m requests.help
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
  &quot;chardet&quot;: {
    &quot;version&quot;: &quot;4.0.0&quot;
  },
  &quot;cryptography&quot;: {
    &quot;version&quot;: &quot;&quot;
  },
  &quot;idna&quot;: {
    &quot;version&quot;: &quot;2.10&quot;
  },
  &quot;implementation&quot;: {
    &quot;name&quot;: &quot;CPython&quot;,
    &quot;version&quot;: &quot;3.9.5&quot;
  },
  &quot;platform&quot;: {
    &quot;release&quot;: &quot;10&quot;,
    &quot;system&quot;: &quot;Windows&quot;
  },
  &quot;pyOpenSSL&quot;: {
    &quot;openssl_version&quot;: &quot;&quot;,
    &quot;version&quot;: null
  },
  &quot;requests&quot;: {
    &quot;version&quot;: &quot;2.25.1&quot;
  },
  &quot;system_ssl&quot;: {
    &quot;version&quot;: &quot;101010bf&quot;
  },
  &quot;urllib3&quot;: {
    &quot;version&quot;: &quot;1.26.5&quot;
  },
  &quot;using_pyopenssl&quot;: false
}"><pre class="notranslate"><code class="notranslate">{
  "chardet": {
    "version": "4.0.0"
  },
  "cryptography": {
    "version": ""
  },
  "idna": {
    "version": "2.10"
  },
  "implementation": {
    "name": "CPython",
    "version": "3.9.5"
  },
  "platform": {
    "release": "10",
    "system": "Windows"
  },
  "pyOpenSSL": {
    "openssl_version": "",
    "version": null
  },
  "requests": {
    "version": "2.25.1"
  },
  "system_ssl": {
    "version": "101010bf"
  },
  "urllib3": {
    "version": "1.26.5"
  },
  "using_pyopenssl": false
}
</code></pre></div>
<p dir="auto">With the upgrade to 2.5.3, my application suddenly broke. I've tracked it down to a loss of headers. The response includes two "WWW-Authenticate" headers, but only one is returned in the header list. This appears to be a urllib3 bug.</p>