Closed gjost closed 6 years ago
Philip (2018-03-09 16:15)
Environment: Request Method: GET Request URL: http://192.168.56.101/ui/search/?fulltext=bain Django Version: 1.7.11 Python Version: 2.7.13 Installed Applications: ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'bootstrap_pagination', 'djcelery', 'gunicorn', 'rest_framework', 'sorl.thumbnail', 'ddrlocal', 'storage', 'webui') Installed Middleware: ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware') Traceback: File "/opt/ddr-local/venv/ddrlocal/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response 111. response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/opt/ddr-local/ddrlocal/webui/decorators.py" in inner 53. return func(request, *args, **kwargs) File "/opt/ddr-local/ddrlocal/webui/views/search.py" in search_ui 170. results = searcher.execute(limit, offset) File "/opt/ddr-local/ddrlocal/webui/search.py" in execute 335. response = self.s[start:stop].execute() File "/opt/ddr-local/venv/ddrlocal/lib/python2.7/site-packages/elasticsearch_dsl/search.py" in execute 627. **self._params File "/opt/ddr-local/venv/ddrlocal/lib/python2.7/site-packages/elasticsearch/client/utils.py" in _wrapped 69. return func(*args, params=params, **kwargs) File "/opt/ddr-local/venv/ddrlocal/lib/python2.7/site-packages/elasticsearch/client/__init__.py" in search 539. doc_type, '_search'), params=params, body=body) File "/opt/ddr-local/venv/ddrlocal/lib/python2.7/site-packages/elasticsearch/transport.py" in perform_request 327. status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout) File "/opt/ddr-local/venv/ddrlocal/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py" in perform_request 106. raise ConnectionError('N/A', str(e), e) Exception Type: ConnectionError at /ui/search/ Exception Value: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7fb123b2a590>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7fb123b2a590>: Failed to establish a new connection: [Errno 111] Connection refused)
This belongs in ddr-local: https://github.com/densho/ddr-local/issues/230
ddr-local
Philip (2018-03-09 16:15)