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

API Status 5090 failed #18

Closed
bjin7998 opened this issue Feb 5, 2025 · 8 comments
Closed

API Status 5090 failed #18

bjin7998 opened this issue Feb 5, 2025 · 8 comments

Comments

@bjin7998
Copy link

bjin7998 commented Feb 5, 2025

Seems like the DE API Call needs an update. At least for the 5090s, found 5090FEPROSHOP but didn't work.

@jlplenio
Copy link
Owner

jlplenio commented Feb 5, 2025

I updated it manually, but just a few minutes too late. I will think about an implementation of automated sku-updates.
Today's drop had me blocked by cloudflare on all attempts, though 🤷

@bjin7998
Copy link
Author

bjin7998 commented Feb 5, 2025

took me off guard as well. Unfortunately the partners API still provides the 5090FEPROSHOP which does not work. I guess an automated (backend) process, somewhere would help.

Edit: I see you updated to 5090FEPROSHOP_DE I am going to watch the upc property accordingly and make a pull if needed.

@phobos841
Copy link

phobos841 commented Feb 5, 2025

Or how about a separate alert for when the API stops working, since that may indicate a stock drop is imminent and you need to swap to manual mode on the Nvidia website?

@bjin7998
Copy link
Author

bjin7998 commented Feb 5, 2025

Something like this should do the trick. But I am not familiar with next or react. Somewhere in DataFetcher.tsx

  const isAPIReachable = () => {
    const isReachable = gpuCards.some(entry => !entry.api_reachable && entry.included)
    void playSound({ forceSingle: false });
  }

@jlplenio
Copy link
Owner

jlplenio commented Feb 7, 2025

I have a plan for a solution which dynamically updates the SKUs.
Alternatively, I agree. Last time, the old SKU API went down 20min before drop.

@Madnessx9
Copy link

Even though you appear to be catering for the API switcheroo by nvidia, is it possible to have an optional API down sound? Just so we can be aware that something could be happening and can check the old fashioned way?

@jlplenio
Copy link
Owner

Done @Madnessx9. You can find it in the setting or set it via url parameters, e.g.:
https://notify-fe.plen.io/?region=de-de&volume=0.24&repetitions=1&apiAlarmEnabled=true

@jlplenio
Copy link
Owner

Hmmmmm. The "api down alarm" can potentially trigger when switching regions — I will fix that.

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

4 participants