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

[BUG] Argument dataSource is missing. and ERROR [YahooFinanceService] Could not get quote summary for 0P0001J04G #3388

Open
VanQz opened this issue May 9, 2024 · 4 comments
Labels
question Further information is requested self-hosted This issue is relevant for the self-hosted version

Comments

@VanQz
Copy link

VanQz commented May 9, 2024

Important Notice

The issue tracker is ONLY used for reporting bugs. New features should be discussed in our Slack community or in Discussions.

Incomplete or non-reproducible issues may be closed, but we are here to help! If you encounter difficulties reproducing the bug or need assistance, please reach out to our community channels mentioned above.

Thank you for your understanding and cooperation!

Bug Description

Got the following 2 error

[Nest] 152  - 05/10/2024, 12:22:40 AM   ERROR [YahooFinanceService] FetchError: request to https://query1.finance.yahoo.com/v1/test/getcrumb failed, reason: getaddrinfo EAI_AGAIN query1.finance.yahoo.com
[Nest] 152  - 05/10/2024, 12:22:40 AM   ERROR [DataGatheringService] AMC: undefined
[Nest] 152  - 05/10/2024, 12:22:40 AM   ERROR [DataGatheringService] PrismaClientValidationError: 
Invalid `prisma.symbolProfile.upsert()` invocation:

{
  create: {
    assetClass: undefined,
    assetSubClass: undefined,
    countries: undefined,
    currency: undefined,
    dataSource: undefined,
    figi: undefined,
    figiComposite: undefined,
    figiShareClass: undefined,
    isin: undefined,
    name: undefined,
    sectors: undefined,
    symbol: "AMC",
    url: undefined
  },
  update: {
    assetClass: undefined,
    assetSubClass: undefined,
    countries: undefined,
    currency: undefined,
    figi: undefined,
    figiComposite: undefined,
    figiShareClass: undefined,
    isin: undefined,
    name: undefined,
    sectors: undefined,
    url: undefined
  },
  where: {
    dataSource_symbol: {
      symbol: "AMC",
+     dataSource: DataSource
    }
  }
}

Argument `dataSource` is missing.

and

[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] FetchError: request to https://query1.finance.yahoo.com/v1/test/getcrumb failed, reason: getaddrinfo EAI_AGAIN query1.finance.yahoo.com
[Nest] 152  - 05/10/2024, 12:24:20 AM    WARN [YahooFinanceService] Fallback to yahooFinance.quoteSummary()
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for 0P0001J04G
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for A17U.SI
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for AAPL
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for AMC
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for AMD
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for AMZN
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for AW9U.SI
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for BYDDY
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for D5IU.SI
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for M44U.SI
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for NIO
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for NVDA
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] FetchError: request to https://query1.finance.yahoo.com/v1/test/getcrumb failed, reason: getaddrinfo EAI_AGAIN query1.finance.yahoo.com
[Nest] 152  - 05/10/2024, 12:24:20 AM    WARN [YahooFinanceService] Fallback to yahooFinance.quoteSummary()
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for 0P0001J04G
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for A17U.SI
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for AAPL
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for AMC
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for AMD
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for AMZN
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for AW9U.SI
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for BYDDY
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for D5IU.SI
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for M44U.SI
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for NIO
[Nest] 152  - 05/10/2024, 12:24:20 AM   ERROR [YahooFinanceService] Could not get quote summary for NVDA

To Reproduce

Going to the home screen will get it.

Expected behavior

shouldnt have any errors and my dashboard amount should be accurate

Environment

  • Ghostfolio Version 2.80.0
  • Self-hosted
  • Experimental Features disabled
  • Chrome
  • Windows
@slagiewka
Copy link

Same for me on 2.80.0. Reverting to 2.79.0 fixed it.

@dtslvr
Copy link
Member

dtslvr commented May 13, 2024

ERROR [YahooFinanceService] FetchError: request to https://query1.finance.yahoo.com/v1/test/getcrumb failed, reason: getaddrinfo EAI_AGAIN query1.finance.yahoo.com

This seems to be a connection issue to Yahoo Finance.

The symbols seem to have been mixed up in the description (0P0001J04G vs. AMC) and I am not able to reproduce it with the given steps. Can you please supplement them? Thank you.

@dtslvr dtslvr added question Further information is requested self-hosted This issue is relevant for the self-hosted version labels May 13, 2024
@mariorossi77
Copy link

just redeployed 2.81.0 and i don't see the error anymore.
so it was probably related to the yahoo api dns records
@slagiewka @VanQz i highly suggest trying again with the latest version

@slagiewka
Copy link

2.81.0 works again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested self-hosted This issue is relevant for the self-hosted version
Projects
None yet
Development

No branches or pull requests

4 participants