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

Failed to receive contents from server

Open ivankoma opened this issue 10 years ago • 5 comments

Description: Since 1 hour ago you cannot anymore login using this API.

Steps to reproduce:

  1. Call go = new PokemonGo(new PtcCredentialProvider(httpClient, "username", "pass"), httpClient);

Expected behavior: Successful login. Actual behavior: Exception: com.pokegoapi.exceptions.RemoteServerException: Failed to receive contents from server

Version: PokeGOAPI-library-all-0.3.0.jar

More informations on:

https://www.reddit.com/r/pokemongodev/comments/4w0jum/all_ptcgoogle_logins_failing_from_api/ https://www.reddit.com/r/pokemongodev/comments/4w0mtr/getting_0_pokemon_upserted_in_last_few_minutes/

There are some fixes on Github: https://github.com/AHAAAAAAA/PokemonGo-Map/issues/3403?issuecomment=237372013#issuecomment-237372013 https://github.com/NECROBOTIO/NecroBot/commit/35339c3f527e7f934ae5fae6a7c7aa45e246be32

ivankoma avatar Aug 03 '16 22:08 ivankoma

So the API probably changed. I am able to login both PTC and Google on my phone and in the API.

I am also able to use my potions (I'm assuming other items as well) and discard items. However, even after I update my location, I am unable to retrieve any pokéstops or catchablePokémon.

aaiezza avatar Aug 03 '16 22:08 aaiezza

Yes this seems to be the case. All the major Pokemon GO based github projects seem to be discussing it. The protobuffer layouts changed about an hour ago.

jay8ee avatar Aug 03 '16 22:08 jay8ee

Sooo how do we make new ones with the updated info? Wait for a leak?

aaiezza avatar Aug 03 '16 23:08 aaiezza

There's a discussion happening here on the subject : https://www.reddit.com/r/pokemongodev/comments/4w0jum/all_ptcgoogle_logins_failing_from_api/

NoBullPleb avatar Aug 03 '16 23:08 NoBullPleb

please refer to #486

vmarchaud avatar Aug 04 '16 12:08 vmarchaud