Skip to content

Instantly share code, notes, and snippets.

@ngokevin
Created May 7, 2012 16:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ngokevin/2628839 to your computer and use it in GitHub Desktop.
Save ngokevin/2628839 to your computer and use it in GitHub Desktop.
zamboni 'max retry' traceback on elastic search on home page
Traceback (most recent call last):
File "/home/ngoke/Code/zamboni/vendor/src/django/django/core/servers/basehttp.py", line 283, in run
self.result = application(self.environ, self.start_response)
File "/home/ngoke/Code/zamboni/vendor/src/django/django/contrib/staticfiles/handlers.py", line 68, in __call__
return self.application(environ, start_response)
File "/home/ngoke/Code/zamboni/vendor/src/django/django/core/handlers/wsgi.py", line 272, in __call__
response = self.get_response(request)
File "/home/ngoke/Code/zamboni/vendor/src/django/django/core/handlers/base.py", line 169, in get_response
response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
File "/home/ngoke/Code/zamboni/vendor/src/django/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/ngoke/Code/zamboni/mkt/home/views.py", line 14, in home
'popular': popular
File "/home/ngoke/Code/zamboni/vendor/src/jingo/jingo/__init__.py", line 80, in render
rendered = render_to_string(request, template, context)
File "/home/ngoke/Code/zamboni/vendor/src/jingo/jingo/__init__.py", line 98, in render_to_string
return template.render(**get_context())
File "/home/ngoke/.virtualenvs/zamboni/local/lib/python2.7/site-packages/jinja2/environment.py", line 891, in render
return self.environment.handle_exception(exc_info, True)
File "/home/ngoke/Code/zamboni/mkt/home/templates/home/home.html", line 1, in top-level template code
{% extends 'mkt/base.html' %}
File "/home/ngoke/Code/zamboni/mkt/templates/mkt/base.html", line 53, in top-level template code
{% block content %}
File "/home/ngoke/Code/zamboni/mkt/home/templates/home/home.html", line 29, in block "content"
{% if popular %}
File "/home/ngoke/Code/zamboni/apps/amo/search.py", line 68, in __len__
return len(self._do_search())
File "/home/ngoke/Code/zamboni/apps/amo/search.py", line 184, in _do_search
hits = self.raw()
File "/home/ngoke/Code/zamboni/apps/amo/search.py", line 199, in raw
hits = es.search(qs, self.index, self.type._meta.db_table)
File "/home/ngoke/Code/zamboni/vendor/lib/python/pyes/es.py", line 841, in search
return self._query_call("_search", body, indexes, doc_types, **query_params)
File "/home/ngoke/Code/zamboni/vendor/lib/python/pyes/es.py", line 251, in _query_call
response = self._send_request('GET', path, body, querystring_args)
File "/home/ngoke/Code/zamboni/vendor/lib/python/pyes/es.py", line 208, in _send_request
response = self.connection.execute(request)
File "/home/ngoke/Code/zamboni/vendor/lib/python/pyes/connection_http.py", line 167, in _client_call
return getattr(conn.client, attr)(*args, **kwargs)
File "/home/ngoke/Code/zamboni/vendor/lib/python/pyes/connection_http.py", line 59, in execute
response = self.client.urlopen(Method._VALUES_TO_NAMES[request.method], uri, body=request.body, headers=request.headers)
File "/home/ngoke/Code/zamboni/vendor/lib/python/pyes/urllib3/connectionpool.py", line 294, in urlopen
return self.urlopen(method, url, body, headers, retries-1, redirect) # Try again
File "/home/ngoke/Code/zamboni/vendor/lib/python/pyes/urllib3/connectionpool.py", line 294, in urlopen
return self.urlopen(method, url, body, headers, retries-1, redirect) # Try again
File "/home/ngoke/Code/zamboni/vendor/lib/python/pyes/urllib3/connectionpool.py", line 294, in urlopen
return self.urlopen(method, url, body, headers, retries-1, redirect) # Try again
File "/home/ngoke/Code/zamboni/vendor/lib/python/pyes/urllib3/connectionpool.py", line 294, in urlopen
return self.urlopen(method, url, body, headers, retries-1, redirect) # Try again
File "/home/ngoke/Code/zamboni/vendor/lib/python/pyes/urllib3/connectionpool.py", line 255, in urlopen
raise MaxRetryError("Max retries exceeded for url: %s" % url)
MaxRetryError: Max retries exceeded for url: /amo/addons/_search
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment