Error logging in
I use google , This is what i am getting today http://prntscr.com/byj9gc using 0.4.3
The servers are down, always check http://ispokemongodownornot.com if you have login problems. Closing.
servers are ok bro. but google is reply "null" codes.
Try the 0.5.0 version, and tell me if there are still problems.
This is a thing I get (which the author might mean)
28 Jul 11:54:23: Error running loop WalkingLoop!
com.pokegoapi.exceptions.RemoteServerException: com.google.protobuf.InvalidProtocolBufferException: Contents of buffer are null
at com.pokegoapi.api.map.Map.getMapObjects(Map.java:307)
at com.pokegoapi.api.map.Map.getMapObjects(Map.java:270)
at com.pokegoapi.api.map.Map.getMapObjects(Map.java:205)
at com.pokegoapi.api.map.Map.getMapObjects(Map.java:195)
at com.pokegoapi.api.map.Map.getCatchablePokemon(Map.java:103)
at ink.abb.pogo.scraper.util.map.MapKt.getCatchablePokemon(Map.kt:15)
at ink.abb.pogo.scraper.tasks.Walk$walk$1.invoke(Walk.kt:82)
at ink.abb.pogo.scraper.tasks.Walk$walk$1.invoke(Walk.kt:21)
at ink.abb.pogo.scraper.Bot$runLoop$1.invoke(Bot.kt:139)
at ink.abb.pogo.scraper.Bot$runLoop$1.invoke(Bot.kt:32)
at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:18)
Caused by: com.google.protobuf.InvalidProtocolBufferException: Contents of buffer are null
at com.pokegoapi.main.ServerRequest.getData(ServerRequest.java:66)
at com.pokegoapi.api.map.Map.getMapObjects(Map.java:305)
... 10 more
maybe they changed their protobufs?
I am on the latest dev-branch (0.5 alpha)
Same issue here on 0.4.3, servers are good to go, the app is working fine.
Getting errors too. Keep on going though.

function to fix (in main.kt) must be smthing like this
fun getAuth(settings: Settings, http: OkHttpClient): CredentialProvider {
val username = settings.username
val password = settings.password
val token = settings.token()
val auth = if (username.contains('@')) {
try {
val token = GoogleAutoCredentialProvider(http, username, password)
} catch (e: LoginFailedException) {
throw e
} catch (e: RemoteServerException) {
throw e
} catch (e: Exception) {
// sometimes throws ArrayIndexOutOfBoundsException or other RTE's
throw RemoteServerException(e)
}
} else {
try {
PtcCredentialProvider(http, username, password, time)
} catch (e: LoginFailedException) {
throw e
} catch (e: RemoteServerException) {
throw e
} catch (e: Exception) {
// sometimes throws ArrayIndexOutOfBoundsException or other RTE's
throw RemoteServerException(e)
}
}
return auth
}
Same issue on 0.5.0-alpha.

Im getting the same trying to login, and working fine on the phone.
I'm getting the same error with google logins.
java -jar pogo.scraper-all-0.5.0-alpha.jar 28 lug 12:18:11: Logging in to game server... D/GoogleCredentialProvider: 0 D/GoogleCredentialProvider: Get user to go to:null and enter code:null
With all version. 0.3 0.4 0.5. With the zipped version and with the github version :(
get the new config file https://raw.githubusercontent.com/jabbink/PokemonGoBot/master/config.properties.template For the protobuf errors, go here #562
Already used the last config file on 0.5.0-alpha.
@pr0ves api have been update (login function has changed) so it's not about config problem. update
Also, the stacktrace i posted above resolved itself. ¯\_(ツ)_/¯
Last version with last config file, even trying #562. No way to make it works
same issue, getting D/GoogleCredentialProvider: Get user to go to:null and enter code:null
Seen in another post with the same issue someone say. "the Google Rocket API project is at limit. There will be no more new device id for a while for google account. Try login with your PTC account or create a new one" Perhaps it's the same here.
What do you mean? i've always used my google account. is not a new one!
guys, please #545
also, google accounts needs the new API...there is nothing we can do, just wait for a new release.
And PTC login servers are down...
Just chill

It is working for me atm using my google account on 0.4.3.