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

error when loading data #35

Open
joseberlines opened this issue Apr 13, 2021 · 1 comment
Open

error when loading data #35

joseberlines opened this issue Apr 13, 2021 · 1 comment

Comments

@joseberlines
Copy link

when running cell 2 of the first notebook I get:

SSLError: HTTPSConnectionPool(host='www.transtats.bts.gov', port=443): Max retries exceeded with url: /DownLoad_Table.asp?Table_ID=236&Has_Group=3&Is_Zipped=0 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)')))

It looks a problem related to the connection to the API.
Would it be possible to include as part of the repo the data to work with?
Thanks

@bradhannigandaley
Copy link

bradhannigandaley commented Apr 23, 2021

You can work around this by disabling SSL verification when calling the API, by adding verify=False to the requests.post arguments. Which is not something you want to do whenever you are dealing with private credentials or other sensitive information, but I think it's fine to do it here.

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