modrzew / pokeminer

Pokemon location scraper
MIT License
220 stars 62 forks source link

Malformed response received! #254

Closed captcho closed 8 years ago

captcho commented 8 years ago

Running 84 workers without proxies. The half of them recieve:

[ worker-1][ WARNING][L 190] Response:
[ worker-1][ WARNING][L 144] Malformed response received!
43 threads active

[W0: RESTART]           [W1: RESTART]       [W2: RESTART]           [W3: RESTART]
[W4: C1,P0,0%]          [W5: RESTART]           [W6: RESTART]           [W7: RESTART]
[W8: RESTART]           [W9: RESTART]           [W10: C1,P0,0%]         [W11: RESTART]
[W12: RESTART]      [W13: RESTART]          [W14: RESTART]          [W15: RESTART]
[W16: RESTART]          [W17: RESTART]          [W18: RESTART]          [W19: RESTART]
[W20: RESTART]          [W21: RESTART]      [W22: RESTART]          [W23: RESTART]
[W24: RESTART]          [W25: C2,P20,68%]       [W26: C2,P25,66%]       [W27: C1,P21,60%]
[W28: C1,P26,59%]       [W29: C2,P19,60%]       [W30: C1,P18,55%]       [W31: C2,P26,70%]
[W32: C2,P17,69%]   [W33: C2,P28,70%]       [W34: C2,P21,68%]       [W35: C1,P2,33%]
[W36: C2,P12,56%]       [W37: C2,P17,70%]       [W38: C2,P17,71%]       [W39: C1,P22,61%]
[W40: C2,P20,70%]       [W41: C1,P1,13%]
PokeMiner       running for 0:43:46.534771
42 workers, each visiting ~102.5 points per cycle (min: 100, max: 110)

Is my accounts banned?

gunawanputra commented 8 years ago

Nope. You should consider your acount get permanent ban if you keep get 'BANNED?' in status bar, and Worker Banned! in log file.

captcho commented 8 years ago

@gunawanputra thanks for your answer. But why half of my workers has RESTART status? What does it mean?

gunawanputra commented 8 years ago

MalformedResponse exception will set status to RESTART. Have you seen your log file?

captcho commented 8 years ago

@gunawanputra i understand. but what I need to do with this status? Restarting worker.py doesn't help

gunawanputra commented 8 years ago

I need more info about your log file.

iluretar commented 8 years ago

im getting the same as @captcho and here's my log

[2016-08-19 11:51:22,082][ worker-0][ ERROR][L 88] Could not retrieve token: Account is not yet active, please redirect [2016-08-19 11:51:22,082][ worker-0][ INFO][L 134] Starting RPC login sequence (app simulation) [2016-08-19 11:51:22,082][ worker-0][ INFO][L 286] Creating a new request... [2016-08-19 11:51:22,082][ worker-0][ INFO][L 295] Adding 'GET_PLAYER' to RPC request [2016-08-19 11:51:22,082][ worker-0][ INFO][L 295] Adding 'GET_HATCHED_EGGS' to RPC request [2016-08-19 11:51:22,083][ worker-0][ INFO][L 295] Adding 'GET_INVENTORY' to RPC request [2016-08-19 11:51:22,083][ worker-0][ INFO][L 295] Adding 'CHECK_AWARDED_BADGES' to RPC request [2016-08-19 11:51:22,083][ worker-0][ INFO][L 291] Adding 'DOWNLOAD_SETTINGS' to RPC request including arguments [2016-08-19 11:51:22,083][ worker-0][ INFO][L 209] Not logged in [2016-08-19 11:51:22,083][ worker-0][ INFO][L 147] Finished RPC login sequence (app simulation) [2016-08-19 11:51:22,083][ worker-0][ INFO][L 178] Login process completed [2016-08-19 11:51:22,083][ worker-0][ INFO][L 180] Visiting point 0 (-17.77679739780837 -63.187113113538906) [2016-08-19 11:51:22,095][ worker-0][ INFO][L 284] Creating a new direct request... [2016-08-19 11:51:22,095][ worker-0][ INFO][L 291] Adding 'GET_MAP_OBJECTS' to RPC request including arguments [2016-08-19 11:51:22,095][ worker-0][ INFO][L 209] Not logged in [2016-08-19 11:51:22,095][ worker-0][ WARNING][L 190] Response: [2016-08-19 11:51:22,095][ worker-0][ WARNING][L 144] Malformed response received!`

gunawanputra commented 8 years ago

@iluretar from your log you could see that your account is not yet active. You need to activate your account by accepting pokemon go TOS. Is it a new account?

iluretar commented 8 years ago

is actually the first one i created, so i have to login in PTC and accept the TOS?

gunawanputra commented 8 years ago

Yes you need to login in pokemon go app and accept the TOS. This repo https://github.com/TBTerra/spawnScan/ have a file named tos.py that you can use to accept tos in account listed in its config.json

iluretar commented 8 years ago

i used that accept TOS in all my accounts but still getting the same error

gunawanputra commented 8 years ago

Do you mean accept tos by using tos.py? what's printed in the terminal? have set your account correctly in config.json?

iluretar commented 8 years ago

Yes, using tos.py. Then i tried login to the app and it sent me to the PTC site to activate it there but it seems to be in maintenance so i'll update when it's up again

gunawanputra commented 8 years ago

Well that mean you don't even validate your account by follow the link sent to your email. At the first time I thought your account is just don't accept the TOS yet.

iluretar commented 8 years ago

That was it, i activated all my accounts but the first one i made, working fine now

captcho commented 8 years ago

Thanks guys.