Closed rnovo1983 closed 3 years ago
I was doing some troubleshooting on this tonight and here's what I came up with.
When allowing the browser ui to load (headless=false), I noticed that the api Best Buy urls weren't loading... at all (even when attempting to look at the source/networking information in dev tools). I tried everything I could to get the page to load in the browser - used the direct product URL (instead of the api shortcut), used http vs https, even changed my Proxy between Socks5 and HTTP. It wasn't until I removed the proxy entirely that I was able to correctly get results.
I don't know if that's because BBY is tracking proxies and banning them/not feeding them html when requested, or if there's something on the server side that doesn't allow transmission through proxy - but for now my work around is to hit these directly using the store specific proxy option.
In /streetmerchant directory, I use 'global.proxies' to define my proxies - and for each store that I want to hit directly, I create the store name file in the same directory (ex: 'bestbuy.proxies') and leave the file blank. The logic says the store specific proxy file will be called (if one exists) instead of the global - which seems to be the case.
There's still the risk that BBY - or one of the other retailers - will ban my primary IP, but as of tonight I don't know another way around it. Hope this helps a bit.
Setting a non 0 value to RESTART_TIME in dotenv seemed to help:
RESTART_TIME=200000
browser gets restarted after milliseconds
I made the recommended adjustment but I'm still seeing the same "Navigation Timeout" result
I get the same behavior whenever I use proxies with amd. Still debugging to understand why,
@rnovo1983 are you using proxies files?
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 10 days
This issue has been closed because it is stale. Reopen if necessary.
Expected Behavior
I have tried running the app from a friends house and its app can detect out of stock instead of timing out
Current Behavior
Every time I try to scan for the BestBuy 3080 Founders Edition I get a Navigation timeout of 20000 ms
Steps to Reproduce
Not sure if they somehow limited my access to their site or if it an app bug. But it happens every time I run the app.
Environment
Logs
[10:24:23 AM] error :: ✖ [bestbuy] nvidia 3080 founders edition - Navigation timeout of 20000 ms exceeded [10:24:45 AM] error :: ✖ [bestbuy] nvidia 3080 founders edition - Navigation timeout of 20000 ms exceeded