PokeGOAPI-Java icon indicating copy to clipboard operation
PokeGOAPI-Java copied to clipboard

GoogleAutoCredentialProvider issues centralized

Open vmarchaud opened this issue 10 years ago • 9 comments

  • java 7 isnt supported : merged
  • stackoverflow with regex : merged

Please use the new google provider (token based) in replacement while waiting for fix.

UPDATE : need to test their release and will bump our version after.

vmarchaud avatar Jul 28 '16 21:07 vmarchaud

When running GoogleAutoCredentialProvider:

Exception in thread "main" com.pokegoapi.exceptions.RemoteServerException: com.google.protobuf.InvalidProtocolBufferException: Contents of buffer are null
    at com.pokegoapi.api.inventory.Inventories.updateInventories(Inventories.java:114)
    at com.pokegoapi.api.inventory.Inventories.updateInventories(Inventories.java:84)
    at com.pokegoapi.api.PokemonGo.<init>(PokemonGo.java:90)
Caused by: com.google.protobuf.InvalidProtocolBufferException: Contents of buffer are null
    at com.pokegoapi.main.ServerRequest.getData(ServerRequest.java:66)
    at com.pokegoapi.api.inventory.Inventories.updateInventories(Inventories.java:112)
    ... 4 more

SonnyX avatar Jul 28 '16 22:07 SonnyX

@SonnyX Not related, that come from the PokemonGo servers that are sending garbage.

vmarchaud avatar Jul 28 '16 22:07 vmarchaud

Please, this issue is only for GoogleAutoCredential, not a chat about Pogo's servers having trouble, if you want there is a slack that you can chat on, all info are on the readme.

EDIT : added link to slack invitation

vmarchaud avatar Jul 28 '16 22:07 vmarchaud

@vmarchaud fyi https://github.com/svarzee/gpsoauth-java/commit/92c084f06168a3bdc745b3e35472b7a2b8ba342b https://github.com/svarzee/gpsoauth-java/commit/5dcde304896da3a826817edfcfc7eca538c970f5 i guess this issue fixed ?

okynk avatar Jul 29 '16 02:07 okynk

Apparently, albeit in an excessive attempt to perform what the two pulls did with minimal overhead. Also broken. Hangs build at Configuring > 1/1 projects > Resolving dependencies ':compile'

AbandonedCart avatar Jul 29 '16 03:07 AbandonedCart

Any news on GoogleAutoCredentialProvider ? Is only available login with GoogleUserCredentialProvider ?

john086 avatar Jul 29 '16 09:07 john086

I gonna test the new version later, to see if its working correctly or not. If its working i will bump the version on the dev branch.

vmarchaud avatar Jul 29 '16 10:07 vmarchaud

Great.

john086 avatar Jul 29 '16 10:07 john086

Closing since it has been merged.

vmarchaud avatar Jul 29 '16 19:07 vmarchaud