RocketBot icon indicating copy to clipboard operation
RocketBot copied to clipboard

Google Refresh Token issue (suspect)

Open onomatopejaeselu opened this issue 10 years ago • 6 comments

Hey,

I met my problem with many cases:

  1. Run from VS (I know I should not but I was debugging something)
  2. Run from Console/bin/Release 2a. With adding response to PokemonGo.RocketAPI.Console.exe.config 2b. Without adding response to PokemonGo.RocketAPI.Console.exe.config

After some time (~1h) Execptions apear: ArgumentOutOfRangeException - Restarting Argument Null Refference - Restarting Argument Null Refference - Restarting Argument Null Refference - Restarting Argument Null Refference - Restarting Argument Null Refference - Restarting

Any idea?

onomatopejaeselu avatar Jul 23 '16 11:07 onomatopejaeselu

Well, when I had this error, I just restarted the program and it worked. Alternately, I left it running with it for like 5 mins and it fixed itself, good luck.

Versified avatar Jul 23 '16 11:07 Versified

I have the same issue with the last few versions. Restarting the program works but requires my permanent assistance. Now with the refresh token fixed, it's even more easier but still requires my presence. The error seems to be looped for ever and never fixes itself unlike you said @Versified, sadly. Maybe you guys could automatically restart the program when this error happens?

v7nce avatar Jul 23 '16 11:07 v7nce

OK, so it is know issue, I will try to find execption source in debug in the evening

Now with the refresh token fixed, it's even more easier but still requires my presence. Was fixed? I need to provide my token on every start (if console was closed with error from this issue, never try other case). If I leave old token then error apear since application start.

onomatopejaeselu avatar Jul 23 '16 11:07 onomatopejaeselu

@onomatopejaeselu Do you have the latest version (1.2.2.1)? Now the refresh token is automatically added to the config file. It's also a different type of token from the last version. It works perfectly for me.

v7nce avatar Jul 23 '16 11:07 v7nce

OK, I pulled changes. Will see.

onomatopejaeselu avatar Jul 23 '16 12:07 onomatopejaeselu

Now you shouldnt add the token manually. Everything should work fine with the latest updates.

Sen66 avatar Jul 23 '16 13:07 Sen66