Black Lives Matter. Please consider donating to Black Girls Code today.

SSL Cert error trying Dash tutorials

Seems I am getting an SSL Cert error while using the tutorials wherever the code tries to pull data from github. Everything works when I copy the github files locally.

https://dash.plot.ly/getting-started-part-2

The 2nd tutorial on this page attempts to download a .csv file “gapminderDataFiveYear.csv” from https://raw.githubusercontent.com/plotly/datasets/master/gapminderDataFiveYear.csv

I receive the following error:
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:748)

Seems the lib is using requests to pull the file. I assume we need to pass “verify=False” to ignore SSL but don’t know how to pass this via the Dash libs?

Any chance you recently installed Python? If so, check the readme file…it should have notes on running post install command to address SSL. Not 100% sure this is your solution…

1 Like