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 stuck after starting web server #5737

Closed
chriscrutt opened this issue Sep 30, 2016 · 3 comments
Closed

bot stuck after starting web server #5737

chriscrutt opened this issue Sep 30, 2016 · 3 comments

Comments

@chriscrutt
Copy link

I got my bot working, and i can look at it online going to localhost:8000 on my computer, but the bot wont start after the web server is up and running

it goes

`--------------------Starting bot--------------------

2016-09-29 21:10:50,559 [ cli] [INFO] PokemonGO Bot v1.0
2016-09-29 21:10:50,572 [ cli] [INFO] commit: unknown
2016-09-29 21:10:50,573 [ cli] [INFO] No auth argument specified, checking for C:\Users\chris\Documents\Git\PokemonGo-Bot\pokemongo_bot..\configs\auth.json
2016-09-29 21:10:50,575 [ cli] [INFO] No config argument specified, checking for C:\Users\chris\Documents\Git\PokemonGo-Bot\pokemongo_bot..\configs\config.json
2016-09-29 21:10:50,582 [ cli] [INFO] Configuration initialized
2016-09-29 21:10:50,584 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information:
2016-09-29 21:10:50,584 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics
2016-09-29 21:10:50,595 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com
(11160) wsgi starting up on http://0.0.0.0:4000
127.0.0.1 - - [29/Sep/2016 21:10:52] "GET /socket.io/?EIO=3&transport=polling&t=LTvIQNu HTTP/1.1" 200 401 0.001000
127.0.0.1 - - [29/Sep/2016 21:10:52] "GET /socket.io/?EIO=3&transport=polling&t=LTvIQOD&sid=13bba66719c64176a5e52315ef930535 HTTP/1.1" 200 235 0.001000
127.0.0.1 - - [29/Sep/2016 21:10:58] "GET /socket.io/?EIO=3&transport=websocket&sid=13bba66719c64176a5e52315ef930535 HTTP/1.1" 200 0 6.408000
127.0.0.1 - - [29/Sep/2016 21:10:58] "GET /socket.io/?EIO=3&transport=polling&t=LTvIR_L HTTP/1.1" 200 401 0.000000
127.0.0.1 - - [29/Sep/2016 21:10:58] "GET /socket.io/?EIO=3&transport=polling&t=LTvIS03&sid=3e9b80fc7ae5441a81e49fa393d9a304 HTTP/1.1" 200 235 0.003000`

and just gets stuck there, while the python server is running and doing everything.

@ukos-git
Copy link
Contributor

ukos-git commented Sep 30, 2016

I got my bot working, and i can look at it online going to localhost:8000 on my computer

so everything works even online from outside the LAN? What else do you want to do?

but the bot wont start after the web server is up and running

so then start the bot and afterwards the web server.

and just gets stuck there, while the python server is running and doing everything.

what is the output if the web-server is not running?
What is the setting of websocket_server in your config?

(11160) wsgi starting up on http://0.0.0.0:4000

is the port correct?

@Cyruz007
Copy link

I had the same issue, I think.

Changed the last line in my config to this: "server_url": "localhost:4000"
Now everything is working

@chriscrutt
Copy link
Author

that helped, but i realized my main problem was because in the "userdata.js" (im running multiple bots) I did "user@domain, user2@domain"

what i fixed was "user@domain", "user2@domain"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants