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

Error searching for any symbol #7

Closed
diamant-x opened this issue Apr 16, 2024 · 7 comments
Closed

Error searching for any symbol #7

diamant-x opened this issue Apr 16, 2024 · 7 comments

Comments

@diamant-x
Copy link

Hi,

Thanks for the time to deploy a HA addon for this. I see it's quite recent so not sure if it's ready for showtime or not.
Anyways I proceeded to install your postgre and ghostfolio addons. It runs and I can navigate around. However, when I attempt to add any symbol to start testing with data it fails to look it up. Even the MSFT symbol which is the example used in the official docs fails and can't proceed.
I understand YAHOO source should be available by default, but let me know if I need to explicitly set it up as a platform, and if so, what to fill there?
Thanks

image

image

@lildude
Copy link
Owner

lildude commented Apr 16, 2024

Hey there. Yeah, it's a little early for prime time but it was working recently but now I see this is failing for me too. In the log I've getting errors like:

[Nest] 305  - 04/16/2024, 1:40:51 PM   ERROR [YahooFinanceService] Error: Invalid Crumb. For Developers - https://bit.ly/yahoo-finance-api-feedback
[Nest] 305  - 04/16/2024, 1:40:51 PM    WARN [YahooFinanceService] Fallback to yahooFinance.quoteSummary()
[Nest] 305  - 04/16/2024, 1:40:51 PM   ERROR [YahooFinanceService] Could not get quote summary for USDGBP=X
[Nest] 305  - 04/16/2024, 1:40:51 PM   ERROR [YahooFinanceService] Could not get quote summary for USDUSX=X
[Nest] 305  - 04/16/2024, 1:40:51 PM   ERROR [YahooFinanceService] Could not get quote summary for USDGBp=X
[Nest] 305  - 04/16/2024, 1:40:51 PM   ERROR [YahooFinanceService] Error: Invalid Crumb. For Developers - https://bit.ly/yahoo-finance-api-feedback

So either something has changed on the Yahoo or Ghostfolio side or I've fudged something up without realising it when trying to get Ingres working 😬

My devcontainer stopped behaving on Sunday (I think something changed in the upstream addon devcontainer) and I've not had the chance to dig into why. I'll dig into this as soon as I can get a working devcontainer again.

@diamant-x
Copy link
Author

diamant-x commented Apr 16, 2024

Awesome thanks, I'll keep notifications on here.
I opened a free account on the official ghostfol.io site and search there was working, not sure what's the difference (the dev team doesn't provide any proper documentation, in particular there's nothing about Yahoo integration, which i'm surprised there's no need for even a basic API key to be generated).
I could always flag everything as Manual and upload manually the prices but... well, I'll let you take a look at it. Maybe the ingress reverse proxy is messing it up. I'm happy to access it through normal port access (i have my own nginx setup so i can have subdomains per app, so not really in need of ingress myself.)

@lildude
Copy link
Owner

lildude commented Apr 17, 2024

I finally worked out the cause of my devcontainer not working and have now looked into this further and this is affecting the upstream self-hosted version too. I can't resolve any normal stocks, like MSFT, and get exactly the same error.

They have ghostfolio/ghostfolio#3276 which is showing as related to gadicc/node-yahoo-finance2#764 which was resolved about 3 hours ago, so I'd expect this to be fixed in the next version of the upstream project which I'll then pull in.

@lildude
Copy link
Owner

lildude commented Apr 17, 2024

Upstream PR pulling in the fix: ghostfolio/ghostfolio#3286

@diamant-x
Copy link
Author

What an unfortunate coincidence that this fails the day i attempt to try it... Thanks for finding out and keeping up to date. I'll look forward for the upstream fix.

@lildude
Copy link
Owner

lildude commented Apr 21, 2024

I've now released v1.2.0 which pulls in Ghostfolio 2.73.0 and I've confirmed I can now lookup symbols again. Closing as resolved.

@lildude lildude closed this as completed Apr 21, 2024
@diamant-x
Copy link
Author

I've pulled the latest and confirm search works again thanks. I'll be testing it further once I have some time, thanks!

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