Open
ghost
opened this issue 10 years ago
•
21 comments
Description:
When launching the bot I get this
Steps to reproduce:
Launch the bot
Expected behavior:
Bot should connect to PoGO server
Actual behavior:
PoGO return an invalid response (I guess)
Stacktrace (If it's a crash):
Getting profile data from pogo server.
Exception in thread "default" com.pokegoapi.exceptions.AsyncPokemonGoException: Unknown exception occurred.
at com.pokegoapi.util.AsyncHelper.toBlocking(AsyncHelper.java:45)
at com.pokegoapi.main.RequestHandler.sendServerRequests(RequestHandler.java:155)
at com.pokegoapi.api.inventory.Inventories.updateInventories(Inventories.java:108)
at com.pokegoapi.api.inventory.Inventories.updateInventories(Inventories.java:84)
at com.pokegoapi.api.inventory.Inventories.(Inventories.java:74)
at com.pokegoapi.api.PokemonGo.getInventories(PokemonGo.java:130)
at com.pokegoapi.api.player.PlayerProfile.getStats(PlayerProfile.java:304)
at ink.abb.pogo.scraper.Bot.(Bot.kt:41)
at ink.abb.pogo.scraper.MainKt.startBot(Main.kt:142)
at ink.abb.pogo.scraper.MainKt.startDefaultBot(Main.kt:84)
at ink.abb.pogo.scraper.PokemonGoBotApplication$BotRunner$run$1.invoke(PokemonGoBotApplication.kt:57)
at ink.abb.pogo.scraper.PokemonGoBotApplication$BotRunner$run$1.invoke(PokemonGoBotApplication.kt:46)
at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:18)
Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.google.protobuf.InvalidProtocolBufferException: Contents of buffer are null
at rx.exceptions.Exceptions.propagate(Exceptions.java:58)
at rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:465)
at rx.observables.BlockingObservable.first(BlockingObservable.java:168)
at com.pokegoapi.util.AsyncHelper.toBlocking(AsyncHelper.java:37)
... 12 more
Caused by: java.util.concurrent.ExecutionException: com.google.protobuf.InvalidProtocolBufferException: Contents of buffer are null
at com.pokegoapi.main.RequestHandler$1.get(RequestHandler.java:109)
at com.pokegoapi.main.RequestHandler$1.get(RequestHandler.java:86)
at rx.internal.operators.OnSubscribeToObservableFuture$ToObservableFuture.call(OnSubscribeToObservableFuture.java:74)
at rx.internal.operators.OnSubscribeToObservableFuture$ToObservableFuture.call(OnSubscribeToObservableFuture.java:43)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
at rx.Observable.subscribe(Observable.java:9957)
at rx.Observable.subscribe(Observable.java:9924)
at rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:445)
... 14 more
Caused by: com.google.protobuf.InvalidProtocolBufferException: Contents of buffer are null
at com.pokegoapi.main.ServerRequest.getData(ServerRequest.java:78)
at com.pokegoapi.main.RequestHandler.run(RequestHandler.java:292)
at java.lang.Thread.run(Thread.java:745)
Version:
Last version (pulled and builded the repo before re-testing)
Operating System:
Debian 7
Java version:java version "1.8.0_101"
Exception in thread "main" com.pokegoapi.exceptions.LoginFailedException: Error in API Url
at com.pokegoapi.main.RequestHandler.internalSendServerRequests(RequestHandler.java:216)
at com.pokegoapi.main.RequestHandler.run(RequestHandler.java:289)
at java.lang.Thread.run(Thread.java:745)