Closed Bug 1065745 Opened 10 years ago Closed 10 years ago

[traceback] pyes.connection in _client_call NoServerAvailable

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED
2014-09

People

(Reporter: krupa.mozbugs, Assigned: davidbgk)

References

()

Details

Loading https://addons-dev.allizom.org/en-US/firefox/search/?q=gmail&appver=&platform= returns a 500

GET https://addons-dev.allizom.org/en-US/firefox/search/ [HTTP/1.1 500 Internal Server Error 31897ms]

sentry:http://sentry.dmz.phx1.mozilla.com/addons/addons-dev/group/20959/

traceback:
Stacktrace (most recent call last):

  File "django/core/handlers/base.py", line 112, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "amo/decorators.py", line 128, in wrapper
    response = func(*args, **kw)
  File "search/views.py", line 250, in ajax_search_suggestions
    suggester)
  File "search/views.py", line 294, in _build_suggestions
    results += suggester.items
  File "search/views.py", line 210, in items
    return self.build_list()
  File "search/views.py", line 199, in build_list
    for item in self.queryset()[:self.limit]:
  File "search/views.py", line 175, in queryset
    if qs:
  File "amo/search.py", line 133, in __len__
    return len(self._do_search())
  File "amo/search.py", line 249, in _do_search
    hits = self.raw()
  File "amo/search.py", line 264, in raw
    hits = es.search(qs, self.index, self.type._meta.db_table)
  File "pyes/es.py", line 841, in search
    return self._query_call("_search", body, indexes, doc_types, **query_params)
  File "pyes/es.py", line 251, in _query_call
    response = self._send_request('GET', path, body, querystring_args)
  File "pyes/es.py", line 208, in _send_request
    response = self.connection.execute(request)
  File "pyes/connection.py", line 174, in _client_call
    raise NoServerAvailable
OS: Mac OS X → All
Hardware: x86 → All
Priority: -- → P1
Target Milestone: --- → 2014-09
:ybon -- is this related to bug 1013874?
Flags: needinfo?(yboniface)
It is, -dev is in a weird state given that ES_HOSTS settings are configured to point at the new elasticsearch cluster (i.e. 1.3.2) but -dev is not on the right branch for now. We plan to merge that branch on master soon and that issue should be fixed at that moment.
Assignee: nobody → david
Flags: needinfo?(yboniface)
That one should bee fixed now that bug 1013874 has been fixed/merged. Please reopen if not.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.