PokemonGoF / PokemonGo-Bot

The Pokemon Go Bot, baking with community.
MIT License
3.86k stars 1.54k forks source link

Bot Crash #5200

Closed rafzx2 closed 8 years ago

rafzx2 commented 8 years ago

Expected Behavior

Bot running without errors

Actual Behavior

Bot crashing

Your FULL config.json (remove your username, password, gmapkey and any other private info)

{ "websocket_server": false, "heartbeat_threshold": 10, "enable_social": true, "live_config_update": { "enabled": false, "tasks_only": false }, "tasks": [ { "type": "TelegramTask", "config": { "enabled": false, "master": null, "alert_catch": ["all"] } }, { "//NOTE: This task MUST be placed on the top of task list": {}, "type": "RandomAlivePause", "config": { "enabled": true, "min_duration": "00:05:00", "max_duration": "00:20:00", "min_interval": "00:30:00", "max_interval": "01:00:00" } }, { "type": "HandleSoftBan" }, { "type": "RandomPause", "config": { "enabled": true, "min_duration": "00:10:00", "max_duration": "00:45:00", "min_interval": "01:30:00", "max_interval": "02:00:00" } }, { "type": "CompleteTutorial", "config": { "enabled": false, "// set a name": "", "nickname": "" } }, { "type": "CollectLevelUpReward", "config": { "collect_reward": true, "level_limit": -1 } }, { "type": "IncubateEggs", "config": { "enabled": true, "infinite_longer_eggs_first": false, "breakable_longer_eggs_first": true, "min_interval": 120, "infinite": [2,5,10], "breakable": [2,5,10] } }, { "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": "UpdateLiveInventory", "config": { "enabled": false, "min_interval": 120, "show_all_multiple_lines": false, "items": ["pokemon_bag", "space_info", "pokeballs", "greatballs", "ultraballs", "razzberries", "luckyegg"] } }, { "type": "ShowBestPokemon", "config": { "enabled": true, "min_interval": 60, "amount": 5, "order_by": "cp", "info_to_show": ["cp", "ivcp", "dps", "hp"] } }, { "type": "TransferPokemon", "config": { "enabled": true, "min_free_slot": 5, "transfer_wait_min": 5, "transfer_wait_max": 8 } }, { "type": "NicknamePokemon", "config": { "enabled": false, "nickname_above_iv": 0.9, "nickname_template": "{ivpct}{iv_ads}" } }, { "type": "EvolvePokemon", "config": { "enabled": true,

        "// evolve only pidgey and drowzee": "",
        "// evolve_list": "pidgey, drowzee",
        "// donot_evolve_list": "none",

        "// evolve all but pidgey and drowzee": "",
        "// evolve_list": "all",
        "// donot_evolve_list": "pidgey, drowzee",

        "evolve_list": "rattata,pidgey,zubat",
        "donot_evolve_list": "none",

      "first_evolve_by": "cp",
      "evolve_above_cp": 0,
      "evolve_below_iv": 0.8,
      "logic": "or",
      "min_evolve_speed": 25,
      "max_evolve_speed": 30,
      "use_lucky_egg": false
    }
  },
  {
    "type": "RecycleItems",
    "config": {
      "enabled": true,
      "min_empty_space": 15,
      "max_balls_keep": 150,
      "max_potions_keep": 50,
      "max_berries_keep": 70,
      "max_revives_keep": 70,
      "item_filter": {
        "Pokeball":       { "keep" : 100 },
        "Potion":         { "keep" : 10 },
        "Super Potion":   { "keep" : 20 },
        "Hyper Potion":   { "keep" : 30 },
        "Revive":         { "keep" : 30 },
        "Razz Berry":     { "keep" : 100 }
      },
      "recycle_wait_min": 3,
      "recycle_wait_max": 5,
      "recycle_force": true,
      "recycle_force_min": "00:05:00",
      "recycle_force_max": "00:10:00"
    }
  },
  {
    "type": "CatchPokemon",
    "config": {
      "enabled": true,
      "catch_visible_pokemon": true,
      "catch_lured_pokemon": true,
      "min_ultraball_to_keep": 5,
      "berry_threshold": 0.35,
      "vip_berry_threshold": 0.9,
      "treat_unseen_as_vip": true,
      "daily_catch_limit": 800,
      "catch_throw_parameters": {
        "excellent_rate": 0.1,
        "great_rate": 0.2,
        "nice_rate": 0.3,
        "normal_rate": 0.5,
        "spin_success_rate" : 0.6,
        "hit_rate": 0.45
      },
      "catch_simulation": {
        "flee_count": 3,
        "flee_duration": 2,
        "catch_wait_min": 3,
        "catch_wait_max": 6,
        "berry_wait_min": 3,
        "berry_wait_max": 5,
        "changeball_wait_min": 3,
        "changeball_wait_max": 5,
        "newtodex_wait_min": 20, 
        "newtodex_wait_max": 30
      }
    }
  },
  {
    "type": "SpinFort",
    "config": {
      "enabled": true,
      "spin_wait_min": 3,
      "spin_wait_max": 5
    }
  },
  { "type": "UpdateWebInventory",
    "config": {
      "enabled": true
    }
  },
  {
    "type": "MoveToFort",
    "config": {
      "enabled": true,
      "lure_attraction": true,
      "lure_max_distance": 2000,
      "walker": "StepWalker",
      "log_interval": 5
    }
  },
  {
    "type": "FollowSpiral",
    "config": {
      "enabled": true,
      "diameter": 4,
      "step_size": 70
    }
  }
],
"map_object_cache_time": 5,
"forts": {
  "avoid_circles": true,
  "max_circle_size": 50,
  "cache_recent_forts": true
},
"pokemon_bag": {
  "// if 'show_at_start' is true, it will log all the pokemons in the bag (not eggs) at bot start": {},
  "show_at_start": true,
  "// if 'show_count' is true, it will show the amount of each pokemon (minimum 1)": {},
  "show_count": false,
  "// if 'show_candies' is true, it will show the amount of candies for each pokemon": {},
  "show_candies": false,
  "// 'pokemon_info' parameter define which info to show for each pokemon": {},
  "// the available options are": {},
  "// ['cp', 'iv_ads', 'iv_pct', 'ivcp', 'ncp', 'level', 'hp', 'moveset', 'dps']": {},
  "pokemon_info": ["cp", "iv_pct"]
},
"walk_max": 4.16,
"walk_min": 2.16,
"alt_min": 500,
"alt_max": 1000,
"gps_default_altitude": 8.0,
"replicate_gps_xy_noise": true,
"replicate_gps_z_noise": true,
"gps_xy_noise_range": 0.000125,
"gps_z_noise_range": 12.5,
"debug": false,
"test": false,
"walker_limit_output": false,
"health_record": true,
"location_cache": true,
"distance_unit": "km",
"reconnecting_timeout": 15,
"logging": {
  "color": true,
  "show_datetime": true,
  "show_process_name": true,
  "show_log_level": true    },
"catch": {
  "any": {"candy_threshold" : 400 ,"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"},
  "// Example of always catching Rattata:": {},
  "// Rattata": { "always_catch" : true }
},
"release": {
  "any": {"release_below_cp": 0, "release_below_iv": 0.8, "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 best (based on IV) Zubat:": {},
  "// Zubat": {"keep_best_iv": 2},
  "// Keep no more than 3 best IV pokemon for every pokemon type": {},
  "// any": {"keep_best_iv": 3},
  "// Discard all pokemon in bag except 100 pokemon with best CP": {},
  "// all": {"keep_best_cp": 100},
  "// 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},
  "// Example of custom order of static criterion": {},
  "// Zubat": {"keep_best_custom": "iv, cp, hp_max", "amount":2}
},
"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": {}

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

Output when issue occurred

[2016-09-04 22:30:22] [MainThread] [ItemRecycler] [INFO] [item_discarded] Discarded 1x Hyper Potion. [2016-09-04 22:30:22] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Buffet para Casamentos - 0.08km [2016-09-04 22:30:28] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Buffet para Casamentos - 0.08km [2016-09-04 22:30:37] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Buffet para Casamentos - 0.07km [2016-09-04 22:30:43] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Buffet para Casamentos - 0.06km [2016-09-04 22:30:48] [MainThread] [IncubateEggs] [INFO] [next_egg_incubates] Eggs incubating: [1.40/2.0 km, 3.03/5.0 km, 3.03/5.0 km](Eggs left: 6, Incubating: 3) [2016-09-04 22:30:49] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Buffet para Casamentos - 0.05km [2016-09-04 22:30:56] [MainThread] [ SpinFort] [INFO] [spun_pokestop] Spun pokestop Buffet para Casamentos. Experience awarded: 50. Items awarded: 2x Pokeball, 1x Greatball [2016-09-04 22:31:00] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Gato e Cachorro no Banho - 0.11km [2016-09-04 22:31:07] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Gato e Cachorro no Banho - 0.11km [2016-09-04 22:31:10] [MainThread] [ShowBestPokemon] [INFO] [show_best_pokemon] [Golbat, CP 1019, IVCP 0.86, DPS 11.16, HP 94/94] | [Golbat, CP 1007, IVCP 0.79, DPS 10.53, HP 94/94] | [Starmie, CP 993, IVCP 0.98, DPS 13.4, HP 71/71] | [Golbat, CP 987, IVCP 0.68, DPS 11.16, HP 96/96] | [Rhydon, CP 944, IVCP 0.88, DPS 12.61, HP 114/114] [2016-09-04 22:31:14] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Gato e Cachorro no Banho - 0.10km [2016-09-04 22:31:19] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Gato e Cachorro no Banho - 0.10km [2016-09-04 22:31:26] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Gato e Cachorro no Banho - 0.09km [2016-09-04 22:31:31] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Gato e Cachorro no Banho - 0.08km [2016-09-04 22:31:37] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Gato e Cachorro no Banho - 0.07km [2016-09-04 22:31:43] [MainThread] [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Clefairy appeared! [CP 79] [NCP 0.07] [Potential 0.47] [A/D/S 6/11/4] [2016-09-04 22:31:51] [MainThread] [PokemonCatchWorker] [INFO] [threw_pokeball] Nice Curveball throw! Used Pokeball, with chance 55.62 (37 left) [2016-09-04 22:31:51] [MainThread] [PokemonCatchWorker] [INFO] [pokemon_caught] Captured Clefairy! [CP 79] [NCP 0.07] [Potential 0.47] 6/11/4 [+120 exp] [2016-09-04 22:31:51] [MainThread] [PokemonCatchWorker] [INFO] [gained_candy] You now have 24 Clefairy candy! [2016-09-04 22:31:58] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Gato e Cachorro no Banho - 0.07km [2016-09-04 22:31:58] [MainThread] [PokemonGoBot] [INFO] [badges] awarded badge: BADGE_TYPE_FAIRY, lvl 1 [2016-09-04 22:32:05] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Gato e Cachorro no Banho - 0.07km [2016-09-04 22:32:10] [MainThread] [ShowBestPokemon] [INFO] [show_best_pokemon] [Golbat, CP 1019, IVCP 0.86, DPS 11.16, HP 94/94] | [Golbat, CP 1007, IVCP 0.79, DPS 10.53, HP 94/94] | [Starmie, CP 993, IVCP 0.98, DPS 13.4, HP 71/71] | [Golbat, CP 987, IVCP 0.68, DPS 11.16, HP 96/96] | [Rhydon, CP 944, IVCP 0.88, DPS 12.61, HP 114/114] [2016-09-04 22:32:16] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Gato e Cachorro no Banho - 0.06km [2016-09-04 22:32:24] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Gato e Cachorro no Banho - 0.04km [2016-09-04 22:32:27] [MainThread] [ SpinFort] [INFO] [spun_pokestop] Spun pokestop Gato e Cachorro no Banho. Experience awarded: 50. Items awarded: 2x Pokeball, 1x Super Potion [2016-09-04 22:32:31] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Igreja Adventista do Sétimo Dia - 0.09km [2016-09-04 22:32:36] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Igreja Adventista do Sétimo Dia - 0.08km [2016-09-04 22:32:42] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Igreja Adventista do Sétimo Dia - 0.07km [2016-09-04 22:32:48] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Igreja Adventista do Sétimo Dia - 0.06km [2016-09-04 22:32:49] [MainThread] [IncubateEggs] [INFO] [next_egg_incubates] Eggs incubating: [1.40/2.0 km, 3.03/5.0 km, 3.03/5.0 km](Eggs left: 6, Incubating: 3) [2016-09-04 22:32:56] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Igreja Adventista do Sétimo Dia - 0.06km [2016-09-04 22:33:03] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Igreja Adventista do Sétimo Dia - 0.05km [2016-09-04 22:33:07] [MainThread] [ SpinFort] [INFO] [spun_pokestop] Spun pokestop Igreja Adventista do Sétimo Dia. Experience awarded: 100. Items awarded: 1x Ultraball, 2x Razz Berry, 1x Potion, 1x Pokeball, 1x Greatball [2016-09-04 22:33:12] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Igreja de Jesus Cristo dos Santos dos Últimos Dias - 0.13km [2016-09-04 22:33:14] [MainThread] [ShowBestPokemon] [INFO] [show_best_pokemon] [Golbat, CP 1019, IVCP 0.86, DPS 11.16, HP 94/94] | [Golbat, CP 1007, IVCP 0.79, DPS 10.53, HP 94/94] | [Starmie, CP 993, IVCP 0.98, DPS 13.4, HP 71/71] | [Golbat, CP 987, IVCP 0.68, DPS 11.16, HP 96/96] | [Rhydon, CP 944, IVCP 0.88, DPS 12.61, HP 114/114] [2016-09-04 22:33:17] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Igreja de Jesus Cristo dos Santos dos Últimos Dias - 0.12km [2016-09-04 22:33:23] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Igreja de Jesus Cristo dos Santos dos Últimos Dias - 0.11km [2016-09-04 22:33:29] [MainThread] [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Igreja de Jesus Cristo dos Santos dos Últimos Dias - 0.11km [2016-09-04 22:33:30] [MainThread] [ cli] [INFO] [2016-09-04 22:33:30] [MainThread] [ cli] [INFO] Ran for 3:04:26 [2016-09-04 22:33:30] [MainThread] [ cli] [INFO] Total XP Earned: 15235 Average: 4956.18/h [2016-09-04 22:33:30] [MainThread] [ cli] [INFO] Travelled 7.21km [2016-09-04 22:33:30] [MainThread] [ cli] [INFO] Visited 77 stops [2016-09-04 22:33:30] [MainThread] [ cli] [INFO] Encountered 54 pokemon, 51 caught, 0 released, 3 evolved, 2 never seen before (Rhydon, Nidorino) [2016-09-04 22:33:30] [MainThread] [ cli] [INFO] Threw 149 pokeballs [2016-09-04 22:33:30] [MainThread] [ cli] [INFO] Earned 10096 Stardust [2016-09-04 22:33:30] [MainThread] [ cli] [INFO] Hatched eggs 4 [2016-09-04 22:33:30] [MainThread] [ cli] [INFO] Next egg hatches in 0.46 km [2016-09-04 22:33:30] [MainThread] [ cli] [INFO] [2016-09-04 22:33:30] [MainThread] [ cli] [INFO] Highest CP Pokemon: Rhydon [CP: 944] [IV: 14/13/12] Potential: 0.87 [2016-09-04 22:33:30] [MainThread] [ cli] [INFO] Most Perfect Pokemon: Horsea [CP: 335] [IV: 14/13/15] Potential: 0.93 Traceback (most recent call last): File "pokecli.py", line 795, in main() File "pokecli.py", line 248, in main formatted='Forts cached.', File "/root/Bot/pokemongo_bot/event_manager.py", line 76, in emit handler.handle_event(event, sender, level, formatted_msg, data) File "/root/Bot/pokemongo_bot/event_handlers/socketio_handler.py", line 28, in handle_event 'data': data File "/usr/local/lib/python2.7/dist-packages/socketIO_client/init.py", line 429, in emit self._message(str(socketIO_packet_type) + socketIO_packet_data) File "/usr/local/lib/python2.7/dist-packages/socketIO_client/init.py", line 28, in wrap return f(_args, _kw) File "/usr/local/lib/python2.7/dist-packages/socketIO_client/init.py", line 225, in _message transport.send_packet(engineIO_packet_type, engineIO_packet_data) File "/usr/local/lib/python2.7/dist-packages/socketIO_client/transports.py", line 162, in send_packet self._connection.send(packet) File "/usr/local/lib/python2.7/dist-packages/websocket/_core.py", line 239, in send return self.send_frame(frame) File "/usr/local/lib/python2.7/dist-packages/websocket/_core.py", line 264, in send_frame l = self._send(data) File "/usr/local/lib/python2.7/dist-packages/websocket/_core.py", line 425, in _send return send(self.sock, data) File "/usr/local/lib/python2.7/dist-packages/websocket/_socket.py", line 112, in send return sock.send(data) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 379, in send return self._send_loop(self.fd.send, data, flags) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 374, in _send_loop timeout_exc=socket.timeout("timed out")) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 203, in _trampoline mark_as_closed=self._mark_as_closed) File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/init.py", line 160, in trampoline listener = hub.add(hub.WRITE, fileno, current.switch, current.throw, mark_as_closed) File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/epolls.py", line 49, in add listener = BaseHub.add(self, evtype, fileno, cb, tb, mac) File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in add evtype, fileno, evtype, cb, bucket[fileno])) RuntimeError: Second simultaneous write on fileno 16 detected. Unless you really know what you're doing, make sure that only one greenthread can write any particular socket. Consider using a pools.Pool. If you do know what you're doing and want to disable this error, call eventlet.debug.hub_prevent_multiple_readers(False) - MY THREAD=<built-in method switch of greenlet.greenlet object at 0x7f73424ea9b0>; THAT THREAD=FdListener('write', 16, <built-in method switch of greenlet.greenlet object at 0x7f7341bfcaf0>, <built-in method throw of greenlet.greenlet object at 0x7f7341bfcaf0>) [2016-09-04 22:33:31] [MainThread] [sentry.errors] [ERROR] Sentry responded with an error: 'utf8' codec can't decode byte 0x9c in position 1: invalid start byte (url: https://app.getsentry.com/api/90254/store/) Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/raven/transport/threaded.py", line 174, in send_sync super(ThreadedHTTPTransport, self).send(data, headers) File "/usr/local/lib/python2.7/dist-packages/raven/transport/http.py", line 47, in send ca_certs=self.ca_certs, File "/usr/local/lib/python2.7/dist-packages/raven/utils/http.py", line 66, in urlopen return opener.open(url, data, timeout) File "/usr/local/lib/python2.7/dist-packages/future/backports/urllib/request.py", line 494, in open response = self._open(req, data) File "/usr/local/lib/python2.7/dist-packages/future/backports/urllib/request.py", line 512, in _open '_open', req) File "/usr/local/lib/python2.7/dist-packages/future/backports/urllib/request.py", line 466, in _call_chain result = func(args) File "/usr/local/lib/python2.7/dist-packages/raven/utils/http.py", line 46, in https_open return self.do_open(ValidHTTPSConnection, req) File "/usr/local/lib/python2.7/dist-packages/future/backports/urllib/request.py", line 1284, in do_open h.request(req.get_method(), req.selector, req.data, headers) File "/usr/lib/python2.7/httplib.py", line 1057, in request self._send_request(method, url, body, headers) File "/usr/lib/python2.7/httplib.py", line 1097, in _send_request self.endheaders(body) File "/usr/lib/python2.7/httplib.py", line 1053, in endheaders self._send_output(message_body) File "/usr/lib/python2.7/httplib.py", line 895, in _send_output msg += message_body File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0x9c in position 1: invalid start byte [2016-09-04 22:33:31] [MainThread] [sentry.errors.uncaught] [ERROR] [u"RuntimeError: Second simultaneous write on fileno 16 detected. Unless you really know what you're doing, make sure that only one greenthread can write any particular socket. Consider using a pools.Pool. If you do know what you're doing and want to disable this error, call eventlet.debug.hub_prevent_multiple_readers(False) - MY THREAD=<built-in method switch of greenlet.greenlet object at 0x7f73424ea9b0>; THAT THREAD=FdListener('write', 16, <built-in method switch of greenlet.greenlet object at 0x7f7341bfcaf0>, <built-in method throw of greenlet.greenlet object at 0x7f7341bfcaf0>)", u' File "pokecli.py", line 795, in ', u' File "pokecli.py", line 248, in main', u' File "pokemongo_bot/event_manager.py", line 76, in emit', u' File "pokemongo_bot/event_handlers/socketio_handler.py", line 28, in handle_event', u' File "socketIO_client/init.py", line 429, in emit', u' File "socketIO_client/init.py", line 28, in wrap', u' File "socketIO_client/init.py", line 225, in _message', u' File "socketIO_client/transports.py", line 162, in send_packet', u' File "websocket/_core.py", line 239, in send', u' File "websocket/_core.py", line 264, in send_frame', u' File "websocket/_core.py", line 425, in _send', u' File "websocket/_socket.py", line 112, in send', u' File "eventlet/greenio/base.py", line 379, in send', u' File "eventlet/greenio/base.py", line 374, in _send_loop', u' File "eventlet/greenio/base.py", line 203, in _trampoline', u' File "eventlet/hubs/init.py", line 160, in trampoline', u' File "eventlet/hubs/epolls.py", line 49, in add', u' File "eventlet/hubs/hub.py", line 177, in add'] Sentry is attempting to send 1 pending error messages Waiting up to 10 seconds Press Ctrl-C to quit Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs func(_targs, _kargs) File "/usr/local/lib/python2.7/dist-packages/socketIO_client/init.py", line 203, in _close self._transport_instance.send_packet(engineIO_packet_type) File "/usr/local/lib/python2.7/dist-packages/socketIO_client/transports.py", line 162, in send_packet self._connection.send(packet) File "/usr/local/lib/python2.7/dist-packages/websocket/_core.py", line 239, in send return self.send_frame(frame) File "/usr/local/lib/python2.7/dist-packages/websocket/_core.py", line 264, in send_frame l = self._send(data) File "/usr/local/lib/python2.7/dist-packages/websocket/_core.py", line 425, in _send return send(self.sock, data) File "/usr/local/lib/python2.7/dist-packages/websocket/_socket.py", line 112, in send return sock.send(data) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 379, in send return self._send_loop(self.fd.send, data, flags) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 374, in _send_loop timeout_exc=socket.timeout("timed out")) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 203, in _trampoline mark_as_closed=self._mark_as_closed) File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/init.py", line 160, in trampoline listener = hub.add(hub.WRITE, fileno, current.switch, current.throw, mark_as_closed) File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/epolls.py", line 49, in add listener = BaseHub.add(self, evtype, fileno, cb, tb, mac) File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in add evtype, fileno, evtype, cb, bucket[fileno])) RuntimeError: Second simultaneous write on fileno 16 detected. Unless you really know what you're doing, make sure that only one greenthread can write any particular socket. Consider using a pools.Pool. If you do know what you're doing and want to disable this error, call eventlet.debug.hub_prevent_multiple_readers(False) - MY THREAD=<built-in method switch of greenlet.greenlet object at 0x7f73424ea9b0>; THAT THREAD=FdListener('write', 16, <built-in method switch of greenlet.greenlet object at 0x7f7341bfcaf0>, <built-in method throw of greenlet.greenlet object at 0x7f7341bfcaf0>) Error in sys.exitfunc: [2016-09-04 22:33:31] [MainThread] [sentry.errors.uncaught] [ERROR] [u"RuntimeError: Second simultaneous write on fileno 16 detected. Unless you really know what you're doing, make sure that only one greenthread can write any particular socket. Consider using a pools.Pool. If you do know what you're doing and want to disable this error, call eventlet.debug.hub_prevent_multiple_readers(False) - MY THREAD=<built-in method switch of greenlet.greenlet object at 0x7f73424ea9b0>; THAT THREAD=FdListener('write', 16, <built-in method switch of greenlet.greenlet object at 0x7f7341bfcaf0>, <built-in method throw of greenlet.greenlet object at 0x7f7341bfcaf0>)", u' File "python2.7/atexit.py", line 24, in _run_exitfuncs', u' File "socketIO_client/init.py", line 203, in _close', u' File "socketIO_client/transports.py", line 162, in send_packet', u' File "websocket/_core.py", line 239, in send', u' File "websocket/_core.py", line 264, in send_frame', u' File "websocket/_core.py", line 425, in _send', u' File "websocket/_socket.py", line 112, in send', u' File "eventlet/greenio/base.py", line 379, in send', u' File "eventlet/greenio/base.py", line 374, in _send_loop', u' File "eventlet/greenio/base.py", line 203, in _trampoline', u' File "eventlet/hubs/init.py", line 160, in trampoline', u' File "eventlet/hubs/epolls.py", line 49, in add', u' File "eventlet/hubs/hub.py", line 177, in add'] Traceback (most recent call last): File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs func(_targs, _kargs) File "/usr/local/lib/python2.7/dist-packages/socketIO_client/init.py", line 203, in _close self._transport_instance.send_packet(engineIO_packet_type) File "/usr/local/lib/python2.7/dist-packages/socketIO_client/transports.py", line 162, in send_packet self._connection.send(packet) File "/usr/local/lib/python2.7/dist-packages/websocket/_core.py", line 239, in send return self.send_frame(frame) File "/usr/local/lib/python2.7/dist-packages/websocket/_core.py", line 264, in send_frame l = self._send(data) File "/usr/local/lib/python2.7/dist-packages/websocket/_core.py", line 425, in _send return send(self.sock, data) File "/usr/local/lib/python2.7/dist-packages/websocket/_socket.py", line 112, in send return sock.send(data) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 379, in send return self._send_loop(self.fd.send, data, flags) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 374, in _send_loop timeout_exc=socket.timeout("timed out")) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 203, in _trampoline mark_as_closed=self._mark_as_closed) File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/init.py", line 160, in trampoline listener = hub.add(hub.WRITE, fileno, current.switch, current.throw, mark_as_closed) File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/epolls.py", line 49, in add listener = BaseHub.add(self, evtype, fileno, cb, tb, mac) File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in add evtype, fileno, evtype, cb, bucket[fileno])) RuntimeError: Second simultaneous write on fileno 16 detected. Unless you really know what you're doing, make sure that only one greenthread can write any particular socket. Consider using a pools.Pool. If you do know what you're doing and want to disable this error, call eventlet.debug.hub_prevent_multiple_readers(False) - MY THREAD=<built-in method switch of greenlet.greenlet object at 0x7f73424ea9b0>; THAT THREAD=FdListener('write', 16, <built-in method switch of greenlet.greenlet object at 0x7f7341bfcaf0>, <built-in method throw of greenlet.greenlet object at 0x7f7341bfcaf0>) Sun Sep 4 22:33:31 BRT 2016 Pokebot Stopped.

Steps to Reproduce

Execute the bot for a little time

Other Information

OS: Ubuntu Server 16 LTS Branch: dev Git Commit: ca94424f688bc8080db055d1b9443c3c8d8212fb

Python Version: Python 2.7.12 Any other relevant files/configs (eg: path files)

rafzx2 commented 8 years ago

Crash again, `[2016-09-05 21:04:25] [MainThread] [RandomAlivePause] [INFO] [bot_random_alive_pause] Taking a random break keeping bot alive for 00:10:00, will resume at 21:14:26 [Errno 104] Connection reset by peer Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py", line 512, in handle_one_response write(b''.join(towrite)) File "/usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py", line 453, in write wfile.flush() File "/usr/lib/python2.7/socket.py", line 307, in flush self._sock.sendall(view[write_offset:write_offset+buffer_size]) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 385, in sendall tail = self.send(data, flags) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 379, in send return self._send_loop(self.fd.send, data, flags) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 374, in _send_loop timeout_exc=socket.timeout("timed out")) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 203, in _trampoline mark_as_closed=self._mark_as_closed) File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/init.py", line 160, in trampoline listener = hub.add(hub.WRITE, fileno, current.switch, current.throw, mark_as_closed) File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/epolls.py", line 49, in add listener = BaseHub.add(self, evtype, fileno, cb, tb, mac) File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in add evtype, fileno, evtype, cb, bucket[fileno])) RuntimeError: Second simultaneous write on fileno 9 detected. Unless you really know what you're doing, make sure that only one greenthread can write any particular socket. Consider using a pools.Pool. If you do know what you're doing and want to disable this error, call eventlet.debug.hub_prevent_multiple_readers(False) - MY THREAD=<built-in method switch of greenlet.greenlet object at 0x7fae5c671d70>; THAT THREAD=FdListener('write', 9, <built-in method switch of greenlet.greenlet object at 0x7fae5c671eb0>, <built-in method throw of greenlet.greenlet object at 0x7fae5c671eb0>)

Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/eventlet/greenpool.py", line 82, in _spawn_n_impl func(_args, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py", line 719, in process_request proto.init(sock, address, self) File "/usr/lib/python2.7/SocketServer.py", line 654, in init self.finish() File "/usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py", line 631, in finish BaseHTTPServer.BaseHTTPRequestHandler.finish(self) File "/usr/lib/python2.7/SocketServer.py", line 708, in finish self.wfile.flush() File "/usr/lib/python2.7/socket.py", line 307, in flush self._sock.sendall(view[write_offset:write_offset+buffer_size]) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 385, in sendall tail = self.send(data, flags) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 379, in send return self._send_loop(self.fd.send, data, flags) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 374, in _send_loop timeout_exc=socket.timeout("timed out")) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 203, in _trampoline mark_as_closed=self._mark_as_closed) File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/init.py", line 160, in trampoline listener = hub.add(hub.WRITE, fileno, current.switch, current.throw, mark_as_closed) File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/epolls.py", line 49, in add listener = BaseHub.add(self, evtype, fileno, cb, tb, mac) File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in add evtype, fileno, evtype, cb, bucket[fileno])) RuntimeError: Second simultaneous write on fileno 9 detected. Unless you really know what you're doing, make sure that only one greenthread can write any particular socket. Consider using a pools.Pool. If you do know what you're doing and want to disable this error, call eventlet.debug.hub_prevent_multiple_readers(False) - MY THREAD=<built-in method switch of greenlet.greenlet object at 0x7fae5c671d70>; THAT THREAD=FdListener('write', 9, <built-in method switch of greenlet.greenlet object at 0x7fae5c671eb0>, <built-in method throw of greenlet.greenlet object at 0x7fae5c671eb0>) `

Same CFG and Git Commit

sohje commented 8 years ago

Try to disable websocket option in config.json and try again.

rafzx2 commented 8 years ago

@sohje

did not work, restart with the websocket = true to run as well.

BTW checking the behavior when this happens in the logs... Just happens in RandomAlivePause and RandomPause actions

2016-09-05 21:17:50,989 [ cli] [INFO] PokemonGO Bot v1.0 2016-09-05 21:17:50,995 [ cli] [INFO] commit: ca94424f 2016-09-05 21:17:50,999 [ cli] [INFO] Configuration initialized 2016-09-05 21:17:50,999 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information: 2016-09-05 21:17:50,999 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics 2016-09-05 21:17:51,003 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com 2016-09-05 21:17:51,188 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): 127.0.0.1 2016-09-05 21:17:51,188 [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=1473121071187-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387810>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:17:52,191 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (2): 127.0.0.1 2016-09-05 21:17:52,191 [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=1473121072190-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387a10>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:17:53,194 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (3): 127.0.0.1 2016-09-05 21:17:53,194 [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=1473121073193-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387450>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:17:54,199 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (4): 127.0.0.1 2016-09-05 21:17:54,200 [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=1473121074199-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387810>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:17:55,206 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (5): 127.0.0.1 2016-09-05 21:17:55,207 [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=1473121075205-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387a10>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:17:56,212 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (6): 127.0.0.1 2016-09-05 21:17:56,212 [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=1473121076211-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387450>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:17:57,215 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (7): 127.0.0.1 2016-09-05 21:17:57,215 [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=1473121077214-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387810>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:17:58,219 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (8): 127.0.0.1 2016-09-05 21:17:58,220 [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=1473121078219-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387a10>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:17:59,226 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (9): 127.0.0.1 2016-09-05 21:17:59,227 [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=1473121079225-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387450>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:00,232 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (10): 127.0.0.1 2016-09-05 21:18:00,232 [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=1473121080231-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387810>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:01,235 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (11): 127.0.0.1 2016-09-05 21:18:01,235 [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=1473121081234-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387a10>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:02,241 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (12): 127.0.0.1 2016-09-05 21:18:02,241 [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=1473121082240-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387450>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:03,244 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (13): 127.0.0.1 2016-09-05 21:18:03,245 [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=1473121083243-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387810>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:04,262 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (14): 127.0.0.1 2016-09-05 21:18:04,262 [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=1473121084261-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387a10>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:05,279 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (15): 127.0.0.1 2016-09-05 21:18:05,280 [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=1473121085278-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387450>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:06,282 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (16): 127.0.0.1 2016-09-05 21:18:06,283 [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=1473121086281-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387810>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:07,301 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (17): 127.0.0.1 2016-09-05 21:18:07,301 [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=1473121087300-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387a10>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:08,317 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (18): 127.0.0.1 2016-09-05 21:18:08,317 [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=1473121088316-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387e10>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:09,333 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (19): 127.0.0.1 2016-09-05 21:18:09,334 [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=1473121089332-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387ed0>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:10,350 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (20): 127.0.0.1 2016-09-05 21:18:10,350 [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=1473121090348-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387b10>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:11,364 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (21): 127.0.0.1 2016-09-05 21:18:11,365 [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=1473121091363-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387e10>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:12,378 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (22): 127.0.0.1 2016-09-05 21:18:12,379 [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=1473121092377-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387ed0>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:13,382 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (23): 127.0.0.1 2016-09-05 21:18:13,382 [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=1473121093381-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387550>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:14,385 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (24): 127.0.0.1 2016-09-05 21:18:14,385 [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=1473121094384-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387d90>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:15,390 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (25): 127.0.0.1 2016-09-05 21:18:15,391 [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=1473121095389-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387e50>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:16,394 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (26): 127.0.0.1 2016-09-05 21:18:16,395 [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=1473121096393-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387950>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:17,397 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (27): 127.0.0.1 2016-09-05 21:18:17,397 [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=1473121097396-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387dd0>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:18,400 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (28): 127.0.0.1 2016-09-05 21:18:18,401 [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=1473121098400-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f85233878d0>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:19,406 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (29): 127.0.0.1 2016-09-05 21:18:19,407 [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=1473121099406-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387790>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:20,410 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (30): 127.0.0.1 2016-09-05 21:18:20,410 [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=1473121100409-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387fd0>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:21,413 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (31): 127.0.0.1 2016-09-05 21:18:21,414 [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=1473121101412-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387650>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:22,418 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (32): 127.0.0.1 2016-09-05 21:18:22,418 [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=1473121102416-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f85233875d0>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:23,421 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (33): 127.0.0.1 2016-09-05 21:18:23,422 [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=1473121103421-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f85233873d0>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:24,426 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (34): 127.0.0.1 2016-09-05 21:18:24,427 [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=1473121104425-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387b90>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:25,434 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (35): 127.0.0.1 2016-09-05 21:18:25,434 [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=1473121105433-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387ad0>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:26,440 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (36): 127.0.0.1 2016-09-05 21:18:26,441 [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=1473121106440-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f85233879d0>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:27,447 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (37): 127.0.0.1 2016-09-05 21:18:27,447 [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=1473121107446-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387f50>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:28,451 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (38): 127.0.0.1 2016-09-05 21:18:28,451 [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=1473121108450-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387e90>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:29,455 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (39): 127.0.0.1 2016-09-05 21:18:29,456 [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=1473121109455-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387c90>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:30,460 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (40): 127.0.0.1 2016-09-05 21:18:30,460 [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=1473121110459-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387e10>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2016-09-05 21:18:31,478 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (41): 127.0.0.1 2016-09-05 21:18:31,479 [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=1473121111477-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8523387f90>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) ./run.sh: line 40: 6017 Killed python pokecli.py -af $auth -cf $config Mon Sep 5 21:18:32 BRT 2016 Pokebot Stopped.

jrjhealey commented 8 years ago

I'm just going to close this because this is so not how to post an issue...

  1. Provide more informative titles
  2. Provide more informative expected/actual behaviours
  3. use http://pastebin.com/ for all your STDOUT and your config files please.