-
Notifications
You must be signed in to change notification settings - Fork 3.1k
ProxyError when email is username in proxy authentication #8818
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
Comments
I've just tested connection using curl and proxy authentication. I get the same error: I only don't get it when trying to reach google, so there is definitely something related to HTTP proxy, although I am not sure why it works from browsers... |
Not really a pip issue at this point, but maybe the proxy is checking the user-agent? |
Hi @uranusjr , I've tried putting user-agent header inside curl request, but I get the same unfortunately, so this probably wouldn't help by inserting into pip request either, but thanks for the suggestion! This is what i tried:
|
Hi guys,
I tried several posts related to this topic, but maybe this issue is specific, due to the format of my proxy username which is in form "myname@corporatedomain:[email protected]." I always get:
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy authentication required'))'
I was using different variations of the command:
I also tried with setting up global environment variables in Windows - it doesn't work.
At the same time, I tested proxy from PyCharm (but that parameter doesn't seem to be used by pip anymore) and the connection test works.
Do you know if I am missing something here? I somehow assume that it has something to with special characters or similar, as this used to worklong time ago on this same machine...
Thanks in advance!
Dragan
The text was updated successfully, but these errors were encountered: