-
Notifications
You must be signed in to change notification settings - Fork 11
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
Yahoo Finance stops working #136
Comments
I need more info. You can also enable debug level logging to capture more data
|
Hi,
|
Yes, this has happened when the Yahoo website returns different data. Usually due to GDPR consent. What is your location and the url of the Yahoo website (if opened in a browser) ? |
Yes, I'm from Slovakia (part of EU). I don't understand what you mean by Yahoo website URL? When I type finance.yahoo.com I get https://finance.yahoo.com/. |
This is most likely due to something specific in Yahoo content for that region. Seem other folks from EU region have encountered this (#125). The extension tries to automatically accept the GDPR consent and maybe that is not working. Not sure at this point. This should not be related to 2024.10.4 release. |
It is strange, but now at 18:11 it has started to work. |
Also here (Italy) doesnt work from yesterday afternoon. Same error: Unable to get crumb |
same thing here in Belgium: Logger: custom_components.yahoofinance |
Same here in the Netherlands since last weekend. Unable to get crumb. |
The release 1.2.11 should help. |
Confirmed! Many thanks |
I'm sad. I updated to this version and after that it stopped working :( |
Can you share debug log? |
here you are:
|
@seg-on I think you have some other problem. The log indicates similar failure for Everything seems to check out from my end when using VPN to fake European source. |
My problem is back since yesterday, the new version worked for about a day. 2024-11-01 14:04:18.872 WARNING (MainThread) [custom_components.yahoofinance] Unable to get crumb, re-trying in 15 seconds |
I am not hopeful of addressing this issue. I am not able to replicate this over VPN. But I have pushed out another release with more logging. |
Installed your new release. This is what I get: 2024-11-02 10:01:41.962 ERROR (MainThread) [custom_components.yahoofinance.coordinator] Crumb request responded with status=404 |
Yahoo Finance ver: 1.2.12
|
I have attempted one more fix. It has been trouble some to even replicate this issue which could be due to how my VPN connection is directing traffic or perhaps I am getting the same remote address. Sorry but I won't be able to look into this. One can however fork the project and implement/support this elsewhere. It was not my intention for the integration to be completely usable outside US. It would be difficult to continuously bypass GDPS restrictions to account for changes. This will also definitely make it not acceptable as a core integration in HomeAssistant which is what I eventually want it to be. |
Hi @iprak, |
The Yahoo end points are undocumented, this integration is based on my trial an error. v7 url is what is used when accessing finance.yahoo.com from US location, so I cannot tell how is v6 different. One would think that v7 is newer. I get 404 when using v6 Something like this happened in May 2023 (#96) where v6 version was successful temporarily. You can locally change to use v6 but I won't be able to make that part of the integration. |
This has stopped working this mornin. 2024-11-19 10:03:30.129 ERROR (MainThread) [custom_components.yahoofinance.coordinator] Received status 401 (Unauthorized User is unable to access this feature - https://bit.ly/yahoo-finance-api-feedback Says API has been disabled website gives the following message {"finance":{"result":null,"error":{"code":"Unauthorized","description":"User is unable to access this feature - https://bit.ly/yahoo-finance-api-feedback"}}} |
seems to be up and running again. |
yes can confirm it’s working again |
This seems to be more of a Yahoo end point issue. What country is this? |
I’m in Canada. |
I will give it a test using VPN. |
Australia here. |
I receive the same error as stated above (from Belgium). Seems that API Access to Yahoo Finance Quotes might be disabled? Seems they potentially want to make it a paid service: At least that's what the URL states from the Error Message: https://bit.ly/yahoo-finance-api-feedback |
Might be an idea to change the wording on the readme away from "This integration will most only work in US mainland. GDPR requirements seems to be causing requests to fail". If it is a GDPR problem, it's more likely it'll work everywhere but Europe, as opposed to only working in the US. It is currently working in Australia. But I briefly rolled back to 1.2.10 when it appeared it wasn't working (actually a config I broke at the same time), then noticed the wording indicating a change and problem in 1.2.12, thus indicating to me that I'd have more luck with the version I had from my backups. |
Hi,
It seems that after updating HA to 2024.10.4, Yahoo Finance stops working.
I've tried rebooting HA, rebooting PC but it doesn't help.
The text was updated successfully, but these errors were encountered: