jxmorris12 / PokemonGo-Finder

Live visualization of all the pokemon in your area... and more!
GNU General Public License v3.0
171 stars 43 forks source link

"retrying_api_req: request error" loop #51

Open bonswouar opened 8 years ago

bonswouar commented 8 years ago

Expected Behavior

Not looping on an error I guess ? If I stop it and re-run it it works fine (for some time).

Current Behavior

[...] Completed: 100.0% [-] register_background_thread called [-] register_background_thread: queueing [+] Locale is en [!] Google login for: stevejobs [+] RPC Session Token: eyJhbGaiOiJSUzI1MiIsImtpZ ... [+] Received API endpoint: https://pgorelease.nianticlabs.com/plfe/108/rpc [-] retrying_api_req: request error (Unexpected end-group tag.), retrying [-] retrying_api_req: request error (Unexpected end-group tag.), retrying [-] retrying_api_req: request error (Unexpected end-group tag.), retrying [-] retrying_api_req: request error (Unexpected end-group tag.), retrying [...]

Possible Solution

Well I guess some error handling might be incorrect, an initialization or something is missing..? I dumped some vars, it looks like none of them change (access_token for example), maybe that's the problem, catching this error should re-log to google or ptc ..?

Steps to Reproduce (for bugs)

Looks random, maybe due to PTC servers.

Context

Just trying to keep the program running !

Your Environment

langerest commented 8 years ago

It's because the pokemon go server was down

bonswouar commented 8 years ago

I suspected that @langerest, but the retry loop doesn't seem to work properly (when the server is up again I have to restart the program manually)

EDIT : Okay, it just did work right now, maybe I was unlucky

re-EDIT : Well that just happened now again, had this error loop, stopped it, start it, it worked.