Metgraph / RewardsTool

RewardsEdge is a program that automates Microsoft rewards jobs.
6 stars 0 forks source link

App is crashing #2

Closed Kraker01 closed 2 years ago

Kraker01 commented 2 years ago

Hi, your program is crashing almost immediately. This is what happen on screen:

Starting MSEdgeDriver 96.0.1054.43 (dca8292d0a7a96ee197e16c71565eb49d4f04b86) on port 60473 Only local connections are allowed. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping MSEdgeDriver safe. MSEdgeDriver was started successfully.

DevTools listening on ws://127.0.0.1:60476/devtools/browser/c8b8f742-5c57-4ded-ade5-92c32454b7af [23484:13860:1210/145953.919:ERROR:fallback_task_provider.cc(118)] Every renderer should have at least one task provided by a primary task provider. If a fallback task is shown, it is a bug. Please file a new bug and tag it as a dependency of crbug.com/739782. [23484:13860:1210/145954.730:ERROR:fallback_task_provider.cc(118)] Every renderer should have at least one task provided by a primary task provider. If a fallback task is shown, it is a bug. Please file a new bug and tag it as a dependency of crbug.com/739782. Starting cards [1639144811.013][WARNING]: Timed out connecting to Chrome, retrying... [1639144819.069][WARNING]: Timed out connecting to Chrome, retrying...

Eccezione non gestita: OpenQA.Selenium.WebDriverException: invalid session id in OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse) in OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters) in OpenQA.Selenium.Remote.RemoteWebDriver.get_WindowHandles() in RewardsEdge.Rewards.OtherCards() in RewardsEdge.Rewards.Main(String[] args)

Browser open up for a while, then crashes.

Metgraph commented 2 years ago

have you tried to clone the project and use the debugger? i'm searching about OpenQA.Selenium.WebDriverException: invalid session id but it looks like the error has no a specific cause, i don't know how to replicate the error (i tried the program in a different machine with the same Edge version and works fine) so if you can tell me which line cause the error would be of great help. For now i can give you this suggestions:

UPDATE The invalid session id error is correlated to the closed browser, so the only way to know which part is causing the error is to run it in debug mode

Metgraph commented 2 years ago

The new release could fix your problem https://github.com/Metgraph/RewardsEdge/releases/tag/v1.0.1