Closed danielfmva closed 9 years ago
I could not reproduce this exception.
The exception you have pasted still contains some information to point to a possible cause.
YahooTickerDownloader.py tries to connect to yahoo finance using a secure connection. But this fails. It is possible you do not have the proper root certificate in your trust store. Another possible problem is YahooTickerDownloader.py does not use the proper system trust store. I can not help you check which of those problems it is.
Fixing the trust store issue might be the fastest way. If you would like to wait a few weeks I will be able to add a command line switch in YahooTickerDownloader.py to allow insecure connection to yahoo finance. Are you prepared to wait a while? I might add this anyway if more people people have a problem with a secure SSL/TLS connection.
Please respond if you have fixed this issue yourself.
Hi, thank you for the answer!
How do I check if I have or not the proper root certificate? I am trying to run this script on Mac OS... I think It may be related. Is this script system dependant?
There is no fundamental reason why it should not work on a Mac OS. Can you tell me the way you have installed the YahooTickerDownloader.
Thank for answering! I have installed through pip install command.
Yeah... Searching for the underlying cause will take a lot of effort. I have opted for another solution. There is a new YahooTickerDownloader version on github. This new version allows insecure connections using the -i
switch. This should sidestep your problem.
The obvious downside is the use of a insecure connection. This allows organizations like the NSA to spy on us.
It will take some test runs before I upload it to the python packaging index so you should download/clone it from github.
If you ever find the original cause, please add it to this ticket as a comment.
@danielfmva, can you check if you can visit https://finance.yahoo.com/lookup/ in safari web browser?
You have the proper root certificate if the website is shown without any security alert.
It's a Python in Mac OSX problem that linked against old OpenSSL.
Thanks @knoguchi. I will close this issue.
Hi,
I am receiveing the following error when I try to get the ticker symbols data:
Any idea of what is going on?