StiliyanKushev / csgo-tradeup-cli

A Command Line Tool for generating profitable CSGO trade-ups using the genetic algorithm.
25 stars 2 forks source link

Timeout when finding tradeup #13

Closed SunfxDEV closed 9 months ago

SunfxDEV commented 1 year ago

When the algorithm finds a profitable tradeup it usually generates a tradespylink, but sometimes im getting

node:internal/process/promises:288
            triggerUncaughtException(err, true /* fromPromise */);
            ^

page.evaluate: page.waitForSelector: Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for locator('.searched_skins_container_enabled>a') to be visible
============================================================

Im guessing that means tradeupspy isnt responding, i would appreciate either a message that exactly tells me what happens here instead of name: 'Error' or a option to extend the wait until tradeupspy responds

StiliyanKushev commented 1 year ago

Will take a look in the upcoming days.

NORXONDOR commented 1 year ago

What are you running to generate the skin database?

StiliyanKushev commented 9 months ago

Should automatically extend the waiting and not crash now.