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

python now throwing SSL errors in download.py #21

Open
blm14 opened this issue Jul 5, 2018 · 0 comments
Open

python now throwing SSL errors in download.py #21

blm14 opened this issue Jul 5, 2018 · 0 comments

Comments

@blm14
Copy link

blm14 commented Jul 5, 2018

Using python 2.7.12 on ubuntu 16.04

$ python download.py manhattan.tsv
2018-07-05 20:49:59,954 Pulling down 1-01969-0081
Traceback (most recent call last):
File "download.py", line 249, in
main(*line.strip().split('\t'))
File "download.py", line 227, in main
search(borough=args[0], block=int(args[1]), lot=int(args[2]))
File "download.py", line 207, in search
resp = SESSION.post(LIST_URL, data=form, verify="/etc/ssl/certs")
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 514, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 471, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 602, in send
history = [resp for resp in gen] if allow_redirects else []
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 176, in resolve_redirects
**adapter_kwargs
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 581, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 491, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)

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

1 participant