ianmarmour / nvidia-clerk

A cross-platform go bot that tracks for availability of stock from Nvidia's store and adds a cart to your checkout.
BSD 3-Clause "New" or "Revised" License
222 stars 64 forks source link

ERROR: context deadline exceeded #150

Closed ghost closed 3 years ago

ghost commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

While testing for the RTX 2080 TI or any other card, I get the follwoing error: 2020/09/29 14:01:59 Get "https://api-prod.nvidia.com/direct-sales-shop/DR/products/de_de/EUR/5394901600": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

OS: Windows Command: nvidia-clern-windows.exe -telegram -region=DEU -model2080TI

BROKENMIND617 commented 3 years ago

API is down. Consensus is that it needs to be fixed on Nvidia end. They may be working on the API. Apparently it has gone down before. Its been down pretty much consistently since last night.

ghost commented 3 years ago

Checked the partners API: https://api.nvidia.partners/edge/product/search?page=1&limit=9&locale=en-us&category=GPU&gpu=RTX%203090&manufacturer=NVIDIA&manufacturer_filter=NVIDIA~1,ASUS~1,EVGA~3,GIGABYTE~2,MSI~1,PNY~0,ZOTAC~0

Its working fine...

Maybe they deactivated the API for the direct-sales, because of thier bot issue during the RTX 30xx release.

BROKENMIND617 commented 3 years ago

The URL looks different from the one I was checking last night. Is the AIB API different for Nvidia FE, or are they one in the same? This one is much longer. Also the 2060 doesn't refresh with add to cart on phone .

WeetA34 commented 3 years ago

The api.nvidia.partners/edge/product/search?... query can report a prdStatus equals to check_availability instead of upcoming. When it happens, a call to api-prod.nvidia.com/direct-sales-shop/... seems mandatory to get a relevant result. If you test with a 2080 SUPER, prdStatus returns buy_now then a call to api-prod.nvidia.com is automaticaly done.

HelloThisIsFlo commented 3 years ago

I think it's most likely a temporary issue, as mentioned by @BROKENMIND617, and not a deactivation. The reason I'm thinking this is because even on the official website it seems they have the same problem :)

nvidiaLoading
WeetA34 commented 3 years ago

exactly. Like this WE

redstone2019 commented 3 years ago

NVIDIA issues not us

HelloThisIsFlo commented 3 years ago

Hey @redstone2019, If you want to avoid people posting duplicate every time they see this error, maybe you could keep the issue open until nvidia fixes the problem 🙂 Just an idea to minimize unintentional spam 😌

BROKENMIND617 commented 3 years ago

You can also search closed Issues.

HelloThisIsFlo commented 3 years ago

@BROKENMIND617 For sure, one could, I would... I just have a hunch that most people won't 😊

Most people using this bot are not professional devs, I'd assume when they see the issue isn't listed they automatically think it'd be a good idea to create a new one. Hence, all the duplicates about this one issue 🙂

redstone2019 commented 3 years ago

We already have tried leaving them open but people still posted anyway so we close issues that don't need development from us.