PokemonGoBot icon indicating copy to clipboard operation
PokemonGoBot copied to clipboard

0.4.2 google login issue

Open karikkato opened this issue 10 years ago • 22 comments

Logging in to game server... Exception in thread "main" com.pokegoapi.exceptions.LoginFailedException at com.pokegoapi.auth.GoogleLogin.login(GoogleLogin.java:160) at ink.abb.pogo.scraper.MainKt.main(Main.kt:85)

I thought #317 would be my issue, but it's not... I can log in with PTC accounts just fine, only happens with my google account.

Further info java is at 1.8.0_92 and I'm on a mac, I'll see if I can reproduce (and try to debug) once I get home and can use my windows dev machine

karikkato avatar Jul 25 '16 14:07 karikkato

Version? The error is in Main.kt line 85. That file only has 82 lines.

jabbink avatar Jul 25 '16 14:07 jabbink

No login issue here as of about 10 minutes ago on 0.4.2

wartickler avatar Jul 25 '16 14:07 wartickler

hello, im using it now, it says, get user to go to https://www.google.com/device and enter code, and then stuck, can you help me?

EDIT : fixed , sorry newbie here :)

ceboks avatar Jul 25 '16 14:07 ceboks

i have similar problem with PTC account

Exception in thread "main" com.pokegoapi.exceptions.LoginFailedException: Error in API Url at com.pokegoapi.main.RequestHandler.sendServerRrequests(RequestHandler. java:149) at com.pokegoapi.api.player.PlayerProfile.updateProfile(PlayerProfile.java:79) at com.pokegoapi.api.player.PlayerProfile.(PlayerProfile.java:67) at com.pokegoapi.api.PokemonGo. (PokemonGo.java:66) at ink.abb.pogo.scraper.Mainkt.main(Main.kt:107)

0rf3o avatar Jul 25 '16 14:07 0rf3o

interesting, this is using both the jar for 0.4.2 release and then got it again from the latest master and develop branches

I'm at the office now using my work mac so right so it might just be my machine, but like I said, PTC accounts work fine.

karikkato avatar Jul 25 '16 14:07 karikkato

PTC server down ) xD

ErusPenates avatar Jul 25 '16 14:07 ErusPenates

@0rf3o remove the token from your config

And yes, Ptc is flaky, atm.

jabbink avatar Jul 25 '16 14:07 jabbink

@jabbink this is actually an error on the API on the Development branch for google token refresh

SwipeX avatar Jul 25 '16 14:07 SwipeX

Well, "for google token refresh". Main cause of this happening is actually when using Ptc login.

Someone added that shitty else-if branch in there again. Used to work.

jabbink avatar Jul 25 '16 14:07 jabbink

Can i create token for all time in google ?

ErusPenates avatar Jul 25 '16 14:07 ErusPenates

Compile from source and it's hopefully fixed. I wouldn't suggest using this on a google account anyways.

jabbink avatar Jul 25 '16 14:07 jabbink

I like living life on the razors edge :) but alas, no luck

Logging in to game server... Exception in thread "main" com.pokegoapi.exceptions.LoginFailedException at com.pokegoapi.auth.GoogleLogin.login(GoogleLogin.java:160) at ink.abb.pogo.scraper.MainKt.main(Main.kt:49)

karikkato avatar Jul 25 '16 15:07 karikkato

my PTC account can not login, why ?

juniarta avatar Jul 25 '16 16:07 juniarta

@WillymarJ PTC login server is down right now.. https://go.jooas.com/

okynk avatar Jul 25 '16 16:07 okynk

Back on topic @karikkato does removing the token from your config file fix the issue?

jabbink avatar Jul 25 '16 18:07 jabbink

@jabbink it does, but right when the token line is filled. It fails to launch.

ColeB27 avatar Jul 25 '16 18:07 ColeB27

I never had a token to begin with since the login failed, also forgot to post but after getting home yesterday I tried everything again on my windows 10 dev box and it gave me a different set of errors, but I was too busy to try debugging.. can't recall what they were either. I'm glad I have a copy of 0.4.1 because that still works like a charm, just went back to that since I didn't have any time for anything else.

karikkato avatar Jul 26 '16 13:07 karikkato

Update, just tried the 0.3.0 jar and it also fails with an error related to googlelogin, so I think this might just be an isolated issue with macs (or just my work mac) can someone using mac verifies this works for them?

karikkato avatar Jul 26 '16 13:07 karikkato

my work mac

Using any corporate firewalls that mess with https (eg. man in the middle everything with a self signed cert that is installed on your work computer)?

jabbink avatar Jul 26 '16 14:07 jabbink

I had considered that it might be that, but when I tried using my phones wifi it still failed. I would still like to hear the status from a personal mac user

karikkato avatar Jul 26 '16 14:07 karikkato