Streetmerchant: [nvidia-api] [nvidia (3080)] founders edition :: STATUS CODE ERROR 504

Created on 29 Sep 2020  路  5Comments  路  Source: jef/streetmerchant

image

Status Code Error 504 for the past few hours.
Tried adding this code to Lookup.ts
it worked for about 5 minutes until it started throwing 502 errors instead.

if (response?.status() === 504) {
const client = await page.target().createCDPSession();
await client.send('Network.clearBrowserCookies');
await client.send('Network.clearBrowserCache');
return;

Most helpful comment

the api is down. it was up for a few minutes (probably coincidentally when you made that change) and has been down again ever since. nothing that can be done from this end to fix it, it's on nvidia.

you can test that the API is down by navigating to the 3080 page. if it takes 10 full seconds for "out of stock" to appear, the api is down on nvidia's end. https://www.nvidia.com/en-us/geforce/graphics-cards/30-series/rtx-3080/

All 5 comments

the api is down. it was up for a few minutes (probably coincidentally when you made that change) and has been down again ever since. nothing that can be done from this end to fix it, it's on nvidia.

you can test that the API is down by navigating to the 3080 page. if it takes 10 full seconds for "out of stock" to appear, the api is down on nvidia's end. https://www.nvidia.com/en-us/geforce/graphics-cards/30-series/rtx-3080/

Edited sorry didn't realize I was in a different repository.. Is it possible that Nvidia have changed API domain?

Edited sorry didn't realize I was in a different repository.. Is it possible that Nvidia have changed API domain?

their own website is still using the the same domain as nvidia-snatcher and is still not connecting to it (you can tell when the 'out of stock' buttons take 10 seconds to appear). even if they did change the domain, they didn't change it on their site so the site will continue to say everything is out of stock

this is what you can see in your web browser's console network tab when the actual nvidia site tries to load stock information:
GET | https://api-prod.nvidia.com/direct-sales-shop/DR/products/en_us/USD/5438481700
-- | --
Status504
Gateway Timeout

that is the same domain nvidia-snatcher uses for nvidia-api

Got it TY.

Thanks @tsumeone!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brybry77104 picture brybry77104  路  4Comments

FawnPat picture FawnPat  路  4Comments

ATLTVHEAD picture ATLTVHEAD  路  4Comments

AlphaOmega2020 picture AlphaOmega2020  路  4Comments

AlphaOmega2020 picture AlphaOmega2020  路  4Comments