Skip to content

Instantly share code, notes, and snippets.

@irskep
Created October 3, 2012 06:16
Show Gist options
  • Save irskep/3825363 to your computer and use it in GitHub Desktop.
Save irskep/3825363 to your computer and use it in GitHub Desktop.
INFO:root:Looking up world... 506b84f5c116a451b4000000
INFO:root:World: {u'type': u'forest', u'_id': ObjectId('506b84f5c116a451b4000000'), u'userId': 100002469068875L}
WARNING:requests.packages.urllib3.connectionpool:Retrying (0 attempts remain) after connection broken by 'gaierror(-3, 'Temporary failure in name resolution')': /accounts?ids=100002469068875
ERROR:root:caught exception in handler for /world?id=506b84f5c116a451b4000000 - Traceback (most recent call last):
File "/vagrant/gevvy/gevvy/base.py", line 249, in __call__
handler(self, self.request, self.response)
File "/vagrant/gw/handlers/worlds.py", line 82, in h_world
player = get_user(req.user_id)
File "/vagrant/gw/logic/user.py", line 18, in get_user
return get_users([user_id]).values()[0]
File "/vagrant/gw/logic/user.py", line 11, in get_users
users = services_request("/accounts", {'ids': ",".join(map(str, ids))} )
File "/vagrant/gw/logic/util.py", line 14, in services_request
return requests.get(config.SERVICES_URL + url, params=params).json
File "/home/vagrant/virtualenv/local/lib/python2.7/site-packages/requests/api.py", line 54, in get
return request('get', url, **kwargs)
File "/home/vagrant/virtualenv/local/lib/python2.7/site-packages/requests/safe_mode.py", line 37, in wrapped
return function(method, url, **kwargs)
File "/home/vagrant/virtualenv/local/lib/python2.7/site-packages/requests/api.py", line 42, in request
return s.request(method=method, url=url, **kwargs)
File "/home/vagrant/virtualenv/local/lib/python2.7/site-packages/requests/sessions.py", line 230, in request
r.send(prefetch=prefetch)
File "/home/vagrant/virtualenv/local/lib/python2.7/site-packages/requests/models.py", line 609, in send
raise ConnectionError(e)
ConnectionError: HTTPConnectionPool(host='s.devgl.com', port=80): Max retries exceeded with url: /accounts?ids=100002469068875
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment