RocketBot icon indicating copy to clipboard operation
RocketBot copied to clipboard

ArgumentOutOfRangeException - Restarting

Open JvB94 opened this issue 10 years ago • 3 comments

Hey,

i think a lot of ppl have this problem. Every 20-30 Mins i will get this message in the console and the Bot stops and ask again for the google authication on google.com/device where i have to input the code.

it is posible to bugfix that? I hate it on afk boting.

JvB94 avatar Jul 21 '16 22:07 JvB94

This has already been addressed, the device code times out after 30 min, use the GoogleRefreshToken to stay logged in longer than 30 min. -- it is provided on the first item you log in using device code, and you add it to the app.config file.

dragfang23 avatar Jul 22 '16 00:07 dragfang23

Thanks but where can i find the GoogleRefreshToken? How i can get it?

JvB94 avatar Jul 22 '16 08:07 JvB94

Every time you go to google.com/device and do the thing, you get your code prompted in the console. Copy it with right click select and right click, edit, copy, then paste it on settings and restart.

Zashuiba avatar Jul 22 '16 11:07 Zashuiba