akbaryahya / PokeWP

PokeWP not just about bot but scanner map and notifications pokemon
https://tool.siakbary.my.id/p/pokewp.html
GNU General Public License v3.0
17 stars 11 forks source link

Bug pokehash when servers are busy #5

Closed Titiocb13 closed 7 years ago

Titiocb13 commented 7 years ago

[21:50:46] PokeHash: EXCEPTION 953245453, bot restart... 3 sec [21:50:55] PokeHash: Servers are very busy, Bot restart... 5 sec [21:51:06] Great throw as Curve ball. [21:51:06] PokeHash: Servers are very busy, Bot restart... 5 sec [21:51:14] Caught Pidgey CP 97 IV 53,33% using ItemGreatBall got 160 XP. [21:51:23] Found 1 catchable Pokemon(s): Rattata [21:51:33] PokeHash: Servers are very busy, Bot restart... 5 sec [21:51:44] PokeHash: Servers are very busy, Bot restart... 5 sec [21:52:02] Great throw as Curve ball. [21:52:04] Caught Rattata CP 178 IV 42,22% using ItemGreatBall got 160 XP. [21:52:05] We are within 30 meters of target. Slowing down to ~2 km/h to not pass the target. [21:52:16] Farmed XP: 50, Gems: 0, Egg: 0, Items: 1 x ItemSuperPotion, 1 x ItemRevive, 1 x ItemGreatBall [21:52:16] PokeHash: Servers are very busy, Bot restart... 5 sec [21:52:23] Setting Walk speed for this leg to 21km/h [21:52:35] PokeHash: Servers are very busy, Bot restart... 5 sec [21:52:40] PokeHash: Servers are very busy, Bot restart... 5 sec [21:52:51] Found 2 catchable Pokemon(s): Pidgeot, Bulbasaur [21:52:52] PokeHash: Servers are very busy, Bot restart... 5 sec [21:53:25] Missed Pidgeot while using ItemGreatBall [21:53:36] Missed Pidgeot while using ItemGreatBall [21:53:41] Great throw as Straight ball. [21:53:45] Pidgeot escaped while using ItemGreatBall [21:53:51] Great throw as Straight ball. [21:53:53] Pidgeot CP 505 IV 40,00% got away while using ItemUltraBall.. [21:53:55] PokeHash: Servers are very busy, Bot restart... 5 sec [21:54:23] Error: System.AggregateException: Une ou plusieurs erreurs se sont produites. ---> System.Net.Http.HttpRequestException: Une erreur s'est produite lors de l'envoi de la demande. ---> System.Net.WebException: La connexion sous-jacente a été fermée : Une erreur inattendue s'est produite lors de la réception. ---> System.IO.IOException: Impossible de lire les données de la connexion de transport : Une connexion existante a dû être fermée par l'hôte distant. ---> System.Net.Sockets.SocketException: Une connexion existante a dû être fermée par l'hôte distant à System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult) à System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult) --- Fin de la trace de la pile d'exception interne --- à System.Net.Security._SslStream.EndRead(IAsyncResult asyncResult) à System.Net.TlsStream.EndRead(IAsyncResult asyncResult) à System.Net.Connection.ReadCallback(IAsyncResult asyncResult) --- Fin de la trace de la pile d'exception interne --- à System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) à System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar) --- Fin de la trace de la pile d'exception interne --- à PokemonGo.RocketAPI.Logic.Logic.d47.MoveNext() --- Fin de la trace de la pile d'exception interne --- à System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) à System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) à System.Threading.Tasks.Task.Wait() à PokeBOT.Program.<>c.

b11_1() ---> (Exception interne #0) System.Net.Http.HttpRequestException: Une erreur s'est produite lors de l'envoi de la demande. ---> System.Net.WebException: La connexion sous-jacente a été fermée : Une erreur inattendue s'est produite lors de la réception. ---> System.IO.IOException: Impossible de lire les données de la connexion de transport : Une connexion existante a dû être fermée par l'hôte distant. ---> System.Net.Sockets.SocketException: Une connexion existante a dû être fermée par l'hôte distant à System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult) à System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult) --- Fin de la trace de la pile d'exception interne --- à System.Net.Security._SslStream.EndRead(IAsyncResult asyncResult) à System.Net.TlsStream.EndRead(IAsyncResult asyncResult) à System.Net.Connection.ReadCallback(IAsyncResult asyncResult) --- Fin de la trace de la pile d'exception interne --- à System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) à System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar) --- Fin de la trace de la pile d'exception interne --- à PokemonGo.RocketAPI.Logic.Logic.d__47.MoveNext()<---

[21:54:23] Restarting in 20 Seconds. at program.cs

akbaryahya commented 7 years ago

yes I forgot to add "try catch" too, so when the server is very slow to make bot stuck or error restart program.cs