Skip to content
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 #2

Open
gauthamk97 opened this issue Aug 23, 2017 · 1 comment
Open

SSLError #2

gauthamk97 opened this issue Aug 23, 2017 · 1 comment

Comments

@gauthamk97
Copy link

I followed the instructions as per the readme, but I've been getting the following error :-

Reading credentials ...
 Authenticating with NITT SonicWall ...
Traceback (most recent call last):
  File "SonicWall_Login.py", line 103, in <module>
    if login(session):
  File "SonicWall_Login.py", line 63, in login
    t = session.get(base_url + 'auth1.html')
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/sessions.py", line 521, in get
    return self.request('GET', url, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/sessions.py", line 508, in request
    resp = self.send(prep, **send_kwargs)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/sessions.py", line 618, in send
    r = adapter.send(request, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/adapters.py", line 519, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:590)
@digaru19
Copy link
Owner

digaru19 commented Sep 7, 2017

Seems like many OS X users have faced the same issue ( requests/issues/3006 ).
Can you try installing the ndg-httpsclient python package.
i.e. pip install ndg-httpsclient

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants