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

Cannot turn websocket off #5108

Closed
avexus opened this issue Sep 2, 2016 · 3 comments
Closed

Cannot turn websocket off #5108

avexus opened this issue Sep 2, 2016 · 3 comments

Comments

@avexus
Copy link

avexus commented Sep 2, 2016

if i set:
"websocket": {
"start_embedded_server": false,
"server_url": "127.0.0.1:4000"
}

it will give me error, and the bot wont start.
/PokemonGo-Bot (dev)
$ python pokecli.py
2016-09-02 08:35:33,937 [ cli] [INFO] PokemonGO Bot v1.0
2016-09-02 08:35:33,953 [ cli] [INFO] commit: unknown
2016-09-02 08:35:33,954 [ cli] [INFO] No auth argument specified, checking for E:\Google Drive\PokemonGo-Bot\pokemongo_bot..\configs\auth.json
2016-09-02 08:35:33,954 [ cli] [INFO] No config argument specified, checking for E:\Google Drive\PokemonGo-Bot\pokemongo_bot..\configs\config.json
2016-09-02 08:35:33,961 [ cli] [INFO] Configuration initialized
2016-09-02 08:35:33,961 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information:
2016-09-02 08:35:33,963 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics
2016-09-02 08:35:33,970 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com
2016-09-02 08:35:34,141 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): 127.0.0.1
2016-09-02 08:35:35,142 [socketIO-client] [WARNING] 127.0.0.1:4000/socket.io [engine.io waiting for connection] HTTPConnectionPool(host='127.0.0.1', port=4000): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1472830534139-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x00000000060FD8D0>: Failed to establish a new connection: [Errno 10061] WSAECONNREFUSED',))
2016-09-02 08:35:36,147 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (2): 127.0.0.1
2016-09-02 08:35:37,148 [socketIO-client] [WARNING] 127.0.0.1:4000/socket.io [engine.io waiting for connection] HTTPConnectionPool(host='127.0.0.1', port=4000): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1472830536144-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x00000000060FDA90>: Failed to establish a new connection: [Errno 10061] WSAECONNREFUSED',))
2016-09-02 08:35:38,151 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (3): 127.0.0.1
2016-09-02 08:35:39,154 [socketIO-client] [WARNING] 127.0.0.1:4000/socket.io [engine.io waiting for connection] HTTPConnectionPool(host='127.0.0.1', port=4000): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1472830538150-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x00000000060FD908>: Failed to establish a new connection: [Errno 10061] WSAECONNREFUSED',))
2016-09-02 08:35:40,157 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (4): 127.0.0.1
2016-09-02 08:35:41,161 [socketIO-client] [WARNING] 127.0.0.1:4000/socket.io [engine.io waiting for connection] HTTPConnectionPool(host='127.0.0.1', port=4000): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1472830540156-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x00000000060FD470>: Failed to establish a new connection: [Errno 10061] WSAECONNREFUSED',))
2016-09-02 08:35:42,165 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (5): 127.0.0.1

@Asafffff
Copy link

Asafffff commented Sep 2, 2016

Same here when turning it off

@avexus
Copy link
Author

avexus commented Sep 2, 2016

i guess i'll use master branch for a while

@oralunal
Copy link
Contributor

oralunal commented Sep 2, 2016

Remove those lines from your config file:

"websocket": {
"start_embedded_server": false,
"server_url": "127.0.0.1:4000"
}

@oralunal oralunal closed this as completed Sep 2, 2016
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