New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proxy authentication bug #6027
Comments
Hi @flameaway, it’s hard to tell what exactly is happening here without more info. Could you verify this issue occurs in both Requests 2.26.0 and urllib3 1.25.11? It could very well be related to the ipaddress change, I’d just like to rule out other potential factors before we start down that path. |
Requests 2.26.0 returns status 200. Either version of urllib (1.25.11, 1.26.7) work with it. Requests 2.27.0 returns the 407 error with either urllib version. |
Thanks for confirming that! It sounds like this may be localized to today's release (2.27.0) We made some minor refactorings to how we handle proxies on redirects in #5924. I'm not seeing anything off immediately, so this will need some digging. For the meantime, using 2.26.0 is likely the short term solution. I just want to clarify one more comment.
Does this mean 2.27.0 works on all other Python versions besides 3.8.12, or did you only test 2.27.0 with 3.8.12? I want to confirm we're not dealing with a requests release issue AND a python release issue. |
It seems to only be having issues on 2.27.0. I didn't realize, but python 3.9.7 defaulted to installing requests 2.26.0. |
Confirming that this error also occurs with requests 2.27.0 and Python 3.8.9 |
To be clear, there is way too little information in here as it stands to be able to debug this from our end. |
Did a bisect and found:
I'm using a proxy from QuotaGuard, so it has auth. |
So after doing some digging, in my case the params passed to Adding this to
|
Same issue here. I confirm @adamp01 investigation with mine. |
Thanks again everyone, we have the fix merged into |
When using proxies in python 3.8.12, I get an error 407. Using any other version of python works fine. I am assuming it could be to do with this https://docs.python.org/3/whatsnew/3.8.html#notable-changes-in-python-3-8-12.
I should get a status of 200.
I get a status code of 407.
System Information
The text was updated successfully, but these errors were encountered: