Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bot failed to login #3983

Closed
infamousmax opened this issue Aug 15, 2016 · 14 comments
Closed

Bot failed to login #3983

infamousmax opened this issue Aug 15, 2016 · 14 comments

Comments

@infamousmax
Copy link

infamousmax commented Aug 15, 2016

Followed the install document and got this,

any help would be appreciated
pokegoproblem1

2016-08-15 10:48:31,144 [ cli] [INFO] PokemonGO Bot v1.0
2016-08-15 10:48:31,148 [ cli] [INFO] Configuration initialized
2016-08-15 10:48:31,148 [pokemongo_bot.health_record.bot_event] [INFO] Health ch eck is enabled. For more information:
2016-08-15 10:48:31,148 [pokemongo_bot.health_record.bot_event] [INFO] https://g ithub.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics
2016-08-15 10:48:31,154 [requests.packages.urllib3.connectionpool] [INFO] Starti ng new HTTP connection (1): www.google-analytics.com
2016-08-15 10:48:31,226 [PokemonGoBot] [INFO] [set_start_location] Setting start location.
2016-08-15 10:48:31,227 [PokemonGoBot] [INFO] [x] Coordinates found in passed in location, not geocoding.
2016-08-15 10:48:31,227 [PokemonGoBot] [INFO] [location_found] Location found: 5 1.509508, -0.174924 (51.509508, -0.174924, 0.0)
2016-08-15 10:48:31,227 [PokemonGoBot] [INFO] [position_update] Now at (51.50950 8, -0.174924, 0)
2016-08-15 10:48:31,227 [PokemonGoBot] [INFO] [login_started] Login procedure st arted.
Traceback (most recent call last):
File "pokecli.py", line 595, in
main()
File "pokecli.py", line 162, in main
report_summary(bot)
File "pokecli.py", line 197, in report_summary
metrics.capture_stats()
File "C:\Python27\PokemonGo-Bot\pokemongo_bot\metrics.py", line 81, in capture _stats
request = self.bot.api.create_request()
File "C:\Python27\PokemonGo-Bot\pokemongo_bot\api_wrapper.py", line 30, in cre ate_request
self._position_alt
File "C:\Python27\PokemonGo-Bot\pokemongo_bot\api_wrapper.py", line 46, in i nit
PGoApiRequest.init(self, *args)
TypeError: init() takes exactly 6 arguments (5 given)
Sentry is attempting to send 1 pending error messages
Waiting up to 10 seconds

.

O/S : Windows 10

Thanks

@AlexBailey
Copy link

Could you not have followed the default template and at least copied the output to your post? This is almost completely useless...

@infamousmax
Copy link
Author

It closes the window too fast for me to get the output. You can see the error message I get in the screenshot.

@JayMaree
Copy link

JayMaree commented Aug 15, 2016

I get a different error. It won't login since today, nothing changed.

"
[09:46:24] Login procedure started.2016-08-15 09:46:24,831 [pgoapi.pgoapi] [ERROR] Login process failed: Invalid Google Username/password"
I know for sure the account works, because I can login at GMAIL/apiportal with it.

@jeric500
Copy link

jeric500 commented Aug 15, 2016

errorrrrrr
I got the same problem here when i install it to windows 7.

already add @Pause.

@k4n30
Copy link
Contributor

k4n30 commented Aug 15, 2016

@infamousmax - Your start command / batch file / config file is missing a required argument (config option). Seeing as you didn't follow the template which asks you to paste them in, we can't help you further until you do (full config minus username, pass, gmapkey & whatever you're using to launch the bot)

@JayMaree - Have you completed the tutorial in the official client, or do you have 2-factor authentication turned on? If so you need to complete the tutorial, or generate an auth code and put that in, instead of the password depending on which one it is.

@jeric500 - you don't have the dll required (join the slack server as per README).

@JayMaree & @jeric500 - Please don't hijack someone else's issue, as yours are not related to the original issue. Both of yours are not bot errors anyway, so ask in the slack server for assistance (read the README). Further assistance will only be provided to @infamousmax in this issue

@infamousmax
Copy link
Author

infamousmax commented Aug 15, 2016

My Config code,

{
"auth_service": "ptc",
"username": "username",
"password": "password",
"location": "51.509508, -0.174924",
"gmapkey": "AIzaSyDJN4wZzyKirwadXxBw8TuYCmlGe7m4fHw",
"encrypt_location": "",
"tasks": [
{
"type": "HandleSoftBan"
},
{
"type": "SleepSchedule",
"config": {
"enabled": false,
"time": "22:54",
"duration":"7:46",
"time_random_offset": "00:24",
"duration_random_offset": "00:43"
}
},
{
"type": "CollectLevelUpReward"
},
{
"type": "IncubateEggs",
"config": {
"longer_eggs_first": true
}
},
{
"type": "UpdateLiveStats",
"config": {
"enabled": false,
"min_interval": 10,
"stats": ["username", "uptime", "stardust_earned", "xp_earned", "xp_per_hour", "stops_visited"],
"terminal_log": true,
"terminal_title": true
}
},
{
"type": "TransferPokemon"
},
{
"type": "NicknamePokemon",
"config": {
"enabled": false,
"nickname_template": "{iv_pct}_{iv_ads}"
}
},
{
"type": "EvolvePokemon",
"config": {
"evolve_all": "none",
"first_evolve_by": "cp",
"evolve_above_cp": 500,
"evolve_above_iv": 0.8,
"logic": "or",
"evolve_speed": 20,
"use_lucky_egg": false
}
},
{
"type": "RecycleItems",
"config": {
"min_empty_space": 15,
"item_filter": {
"Pokeball": { "keep" : 100 },
"Potion": { "keep" : 10 },
"Super Potion": { "keep" : 20 },
"Hyper Potion": { "keep" : 30 },
"Revive": { "keep" : 30 },
"Razz Berry": { "keep" : 100 }
}
}
},
{
"type": "CatchVisiblePokemon"
},
{
"type": "CatchLuredPokemon"
},
{
"type": "SpinFort"
},
{
"type": "MoveToFort",
"config": {
"lure_attraction": true,
"lure_max_distance": 2000
}
},
{
"type": "FollowSpiral",
"config": {
"diameter": 4,
"step_size": 70
}
}
],
"map_object_cache_time": 5,
"forts": {
"avoid_circles": true,
"max_circle_size": 50,
"cache_recent_forts": true
},
"websocket_server": false,
"walk": 4.16,
"action_wait_min": 1,
"action_wait_max": 4,
"debug": false,
"test": false,
"health_record": true,
"location_cache": true,
"distance_unit": "km",
"reconnecting_timeout": 15,
"catch_randomize_reticle_factor": 1.0,
"catch_randomize_spin_factor": 1.0,
"min_ultraball_to_keep": 10,
"logging_color": true,
"catch": {
"any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"},
"// Example of always catching Rattata:": {},
"// Rattata": { "always_catch" : true }
},
"catch_throw_parameters": {
"excellent_rate": 0.1,
"great_rate": 0.5,
"nice_rate": 0.3,
"normal_rate": 0.1,
"spin_success_rate" : 0.6
},
"release": {
"any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"},
"// Example of always releasing Rattata:": {},
"// Rattata": {"always_release": true},
"// Example of keeping 3 stronger (based on CP) Pidgey:": {},
"// Pidgey": {"keep_best_cp": 3},
"// Example of keeping 2 stronger (based on IV) Zubat:": {},
"// Zubat": {"keep_best_iv": 2},
"// Also, it is working with any": {},
"// any": {"keep_best_iv": 3},
"// Example of keeping the 2 strongest (based on CP) and 3 best (based on IV) Zubat:": {},
"// Zubat": {"keep_best_cp": 2, "keep_best_iv": 3}
},
"vips" : {
"Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!": {},
"any": {"catch_above_cp": 1200, "catch_above_iv": 0.9, "logic": "or" },
"Lapras": {},
"Moltres": {},
"Zapdos": {},
"Articuno": {},

    "// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)": {},
    "Mewtwo": {},
    "Dragonite": {},
    "Snorlax": {},
    "// Mew evolves to Mewtwo": {},
    "Mew": {},
    "Arcanine": {},
    "Vaporeon": {},
    "Gyarados": {},
    "Exeggutor": {},
    "Muk": {},
    "Weezing": {},
    "Flareon": {}

}

}

I'm using the start.bat to run it.

@thanhluan10t2
Copy link

I cant login pokemon go with bot. Mess" Login error, server busy. Waiting 10 seconds to try again." again and again. Maybe IP banned ?

@svebal
Copy link

svebal commented Aug 15, 2016

@infamousmax you should remove your login credentials if you are posting your config here. o.o

@aputs
Copy link

aputs commented Aug 15, 2016

@infamousmax disable health_record on your config,

"health_record": false,

that should fix it.

@infamousmax
Copy link
Author

Hi @aputs thank you for your reply, I disabled health record but it still errors. Same error as before.

Thanks

@aputs
Copy link

aputs commented Aug 15, 2016

did you have proper encrypt.dll or encrypt.so? seems like its the problem, based on your error logs

@infamousmax
Copy link
Author

Hi @aputs how do I do that? sorry noob, tried the command wget but it's not recognised.

Thanks

@aputs
Copy link

aputs commented Aug 15, 2016

@infamousmax
Copy link
Author

Hi, I've downloaded the encrypt file and put it in the pokebot main folder. When running the command I get the same error :(.

Thanks

@k4n30 k4n30 closed this as completed Aug 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants