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

Hostname doesn't match #12

Open
galouzis opened this issue Apr 27, 2016 · 2 comments
Open

Hostname doesn't match #12

galouzis opened this issue Apr 27, 2016 · 2 comments
Assignees
Labels

Comments

@galouzis
Copy link

I'm getting the following Traceback when I run the script

Traceback (most recent call last): File "c:/Python27/Scripts/YahooTickerDownloader.py", line 144, in <module> main() File "c:/Python27/Scripts/YahooTickerDownloader.py", line 101, in main downloadEverything(downloader, tickerType, args.insecure) File "c:/Python27/Scripts/YahooTickerDownloader.py", line 46, in downloadEverything symbols = downloader.nextRequest(insecure) File "c:\python27\lib\site-packages\ytd\SymbolDownloader.py", line 88, in nextRequest html = self._fetchHtml(insecure) File "c:\python27\lib\site-packages\ytd\SymbolDownloader.py", line 40, in _fetchHtml resp = self.rsession.send(req) File "c:\python27\lib\site-packages\requests\sessions.py", line 576, in send r = adapter.send(request, **kwargs) File "c:\python27\lib\site-packages\requests\adapters.py", line 447, in send raise SSLError(e, request=request) requests.exceptions.SSLError: hostname 'finance.yahoo.com' doesn't match u'www.yahoo.com'

I'm not sure why it tries to match finance.yahoo.com with u'www.yahoo.com'. It obviously shouldn't match and I haven't been able to debug it.

@Benny- Benny- added the bug label Apr 30, 2016
@Benny-
Copy link
Owner

Benny- commented Aug 13, 2016

Could not reproduce. Can you verify you still have this problem?

@Benny- Benny- self-assigned this Aug 13, 2016
@Benny-
Copy link
Owner

Benny- commented May 11, 2017

What happens when you use the insecure (-i) flag?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants