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

Can't fetch anything #178

Open
typhoon71 opened this issue Jan 7, 2024 · 1 comment
Open

Can't fetch anything #178

typhoon71 opened this issue Jan 7, 2024 · 1 comment

Comments

@typhoon71
Copy link

typhoon71 commented Jan 7, 2024

Tryng to get some data with:

ticker = YahooFinancials('AAPL.MI') 
ticker.get_stock_quote_type_data()

but it stops, and after a long time I get this error (10 of those - I guess it's using 10 threads):

WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)'))': /consent?brandType=nonEu&gcrumb=AReJ0hM&done=https%3A%2F%2Ffinance.yahoo.com%2F

The error seems to be related to the Oath Privacy Policy, but it's strange ...

Once this started I couldn't get any data; I can still get history data, it's just those other methods don't work.

I did get the get_historical_price_data() for the AAPL.MI ticker a bunch of times, but only in small runs - I shouldn't have triggered any block.

Any idea?

@datatalking
Copy link

@typhoon71 This is a long error string so there is lots to try to process. It looks like this is an 'SSLEOFError' try googling the string after that or 'How to fix SSLEOFError in python'

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