-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
exception when IP seems be banned #4908
Comments
Try: |
@aaronsuns News? |
Still the same, its from a clean installation. update just get the same result. Then I copy the same folder to another server, it works immediately. Seems like my IP is banned. aaron@laptop:~/PokemonGo-Bot$ git pull
aaron@laptop: aaron@laptop:~/PokemonGo-Bot$ git submodule foreach git pull origin master
(PokemonGo-Bot)aaron@laptop:~/PokemonGo-Bot$ |
Did anything come of this? Bug? |
got same error here |
When having the following exception, it seems the IP is banned.
$ git checkout origin/master
M web
HEAD is now at 56339fb... Merge dev to master (#4889)
aaron@laptop:~/PokemonGo-Bot$ ./run.sh
2016-08-29 21:45:45,007 [ cli] [INFO] PokemonGO Bot v1.0
2016-08-29 21:45:45,026 [ cli] [INFO] commit: 56339fb
2016-08-29 21:45:45,053 [ cli] [INFO] Configuration initialized
2016-08-29 21:45:45,054 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information:
2016-08-29 21:45:45,055 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics
2016-08-29 21:45:45,071 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com
[2016-08-29 21:45:45] [SleepSchedule] [INFO] [next_sleep] Next sleep at 2016-08-30 12:28:55.259307
[2016-08-29 21:45:45] [PokemonGoBot] [INFO] [set_start_location] Setting start location.
[2016-08-29 21:45:45] [PokemonGoBot] [INFO] [x] Coordinates found in passed in location, not geocoding.
[2016-08-29 21:45:45] [PokemonGoBot] [INFO] [location_found] Location found: 59.330998,18.071761 (59.330998, 18.071761, 8.0)
[2016-08-29 21:45:45] [PokemonGoBot] [INFO] [position_update] Now at (59.330998, 18.071761, 8.0)
[2016-08-29 21:45:45] [PokemonGoBot] [INFO] [login_started] Login procedure started.
Traceback (most recent call last):
File "pokecli.py", line 768, in
main()
File "pokecli.py", line 207, in main
report_summary(bot)
File "pokecli.py", line 253, in report_summary
metrics.capture_stats()
File "/home/aaron/PokemonGo-Bot/pokemongo_bot/metrics.py", line 109, in capture_stats
response_dict = request.call()
File "/home/aaron/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 223, in call
if not self.can_call():
File "/home/aaron/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 128, in can_call
raise NotLoggedInException()
pgoapi.exceptions.NotLoggedInException
[2016-08-29 21:45:45] [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 "/home/aaron/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/transport/threaded.py", line 174, in send_sync
super(ThreadedHTTPTransport, self).send(data, headers)
File "/home/aaron/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/transport/http.py", line 47, in send
ca_certs=self.ca_certs,
File "/home/aaron/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/utils/http.py", line 66, in urlopen
return opener.open(url, data, timeout)
File "/home/aaron/PokemonGo-Bot/local/lib/python2.7/site-packages/future/backports/urllib/request.py", line 494, in open
response = self._open(req, data)
File "/home/aaron/PokemonGo-Bot/local/lib/python2.7/site-packages/future/backports/urllib/request.py", line 512, in _open
'_open', req)
File "/home/aaron/PokemonGo-Bot/local/lib/python2.7/site-packages/future/backports/urllib/request.py", line 466, in _call_chain
result = func(*args)
File "/home/aaron/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/utils/http.py", line 46, in https_open
return self.do_open(ValidHTTPSConnection, req)
File "/home/aaron/PokemonGo-Bot/local/lib/python2.7/site-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 1048, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 1088, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 1044, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 886, in _send_output
msg += message_body
File "/home/aaron/PokemonGo-Bot/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-08-29 21:45:45] [sentry.errors.uncaught] [ERROR] [u'NotLoggedInException', u' File "pokecli.py", line 768, in ', u' File "pokecli.py", line 207, in main', u' File "pokecli.py", line 253, in report_summary', u' File "pokemongo_bot/metrics.py", line 109, in capture_stats', u' File "pokemongo_bot/api_wrapper.py", line 223, in call', u' File "pokemongo_bot/api_wrapper.py", line 128, in can_call']
mån 29 aug 2016 21:45:45 CEST Pokebot Stopped.
Press any button or wait 20 seconds to continue.
The text was updated successfully, but these errors were encountered: