requests.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:590)

2,664 views
Skip to first unread message

daisy....@gmail.com

unread,
Jun 20, 2018, 1:06:29 PM6/20/18
to PsiTurk
Hello,

I see there are a couple similar issues related to this error posted here and on github. I have gone through every step outlined in those posts, and am still having the same issue.

I am trying to run an experiment locally via psiturk in debug mode. I don't believe I need to even enter AWS credentials to do this. This was working perfectly for several months, and then started throwing this error rafter trying to launch by typing psiturk:

requests.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:590)

The full output is:

Sorry, AWS Credentials invalid.
You will only be able to test experiments locally until you enter
valid credentials in the AWS Access section of ~/.psiturkconfig

Traceback (most recent call last):
File "/usr/local/bin/psiturk", line 11, in <module>
sys.exit(process())
File "/Library/Python/2.7/site-packages/psiturk/command_line.py", line 15, in process
launch_shell()
File "/Library/Python/2.7/site-packages/psiturk/command_line.py", line 111, in launch_shell
ps.run(cabinmode=args.cabinmode)
File "/Library/Python/2.7/site-packages/psiturk/psiturk_shell.py", line 1946, in run
config.get('psiTurk Access', 'psiturk_secret_access_id'))
File "/Library/Python/2.7/site-packages/psiturk/psiturk_org_services.py", line 32, in __init__
if not self.check_credentials():
File "/Library/Python/2.7/site-packages/psiturk/psiturk_org_services.py", line 43, in check_credentials
auth=(self.access_key, self.secret_key))
File "/Library/Python/2.7/site-packages/requests/api.py", line 65, in get
return request('get', url, **kwargs)
File "/Library/Python/2.7/site-packages/requests/api.py", line 49, in request
response = session.request(method=method, url=url, **kwargs)
File "/Library/Python/2.7/site-packages/requests/sessions.py", line 461, in request
resp = self.send(prep, **send_kwargs)
File "/Library/Python/2.7/site-packages/requests/sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
File "/Library/Python/2.7/site-packages/requests/adapters.py", line 431, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:590)

I have updated pyopensll, ndg-httpsclient, and pyasn1 and confirmed I am on python 2.7.

Thanks in advance,
Daisy

Dave Eargle

unread,
Jun 20, 2018, 1:12:56 PM6/20/18
to daisy....@gmail.com, PsiTurk
https://github.com/NYUCCL/psiTurk/issues/297#issuecomment-367462285 is the only thing that has been confirmed to work. 

--
You received this message because you are subscribed to the Google Groups "PsiTurk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psiturk+u...@googlegroups.com.
To post to this group, send email to psi...@googlegroups.com.
Visit this group at https://groups.google.com/group/psiturk.
For more options, visit https://groups.google.com/d/optout.

Daisy Burr

unread,
Jun 20, 2018, 1:15:17 PM6/20/18
to PsiTurk
On Wednesday, June 20, 2018 at 1:12:56 PM UTC-4, Dave Eargle wrote:
> https://github.com/NYUCCL/psiTurk/issues/297#issuecomment-367462285 is the only thing that has been confirmed to work. 
>

Thanks, Dave! I have already gone through all those steps and it is still not working, unfortunately...
Reply all
Reply to author
Forward
0 new messages