-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
SSLError: EOF occurred in violation of protocol #1449
Comments
Try to use PROXIES = {
'http': 'http://proxy.campus.employer.com:911',
'https': 'http://proxy.campus.employer.com:911'
} |
Forgot to mention in my list that I have already tried that...
|
As a member of a debug team of a broad software stack, I understand the Feel free to close this if you deem it necessary. On 7/9/2013 7:36 PM, Ian Cordasco wrote:
|
It's perfectly possible this is an SSL issue, SSL negotiation problems tend to show similar errors. I need to spend some time looking into the proxy stuff in Requests, and get clear in my head what we can and can't do. In the meantime, @kylestev, it would be worth trying to grab tcpdump from the connection: it's possible the SSL handshake isn't completing. |
I can do this tomorrow. I was out of office today and my dev machine (w/
|
@kylestev any update? |
Closed due to inactivity. |
I am behind a proxy at work and in order for my requests to be routed (even internally) I have to connect to a proxy. I have tried doing so in multiple different ways in order to get my script to function.
I can run things such as the
easy_install
command line tool if I set thehttp_proxy
andhttps_proxy
environment variables to:protocol://my_username:my_password@proxy_fqdn:proxy_port
(protocol
= http or https). It appears that Requests does not look for this information however so I am left to use an HTTPProxyAuth object.Relevant information to my setup/environment
Stack trace
Source
Please note that my actual code looks a lot nicer - I have extracted the relevant lines as needed to reproduce this bug.
Is there anything I am doing wrong? I have also tried the following variations to find a fix:
PROXIES
dictionary --> Causes a KeyError similar to Requests v0.14.2 - requests.session() fails on post() with KeyError exception #997Proxy preferences in RHEL 6.4 - this is the system I am running this script on as well as where I got the initial proxy FQDNs from. I checked the laptop that was issued to me by my employer and it has the same settings as well.
The text was updated successfully, but these errors were encountered: