Created
January 14, 2015 15:57
-
-
Save Bind/3d05f5df4ac21a702d67 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(fintech)➜ fintech git:(feature/elasticsearch) ✗ heroku run ./manage.py rebuild_index --app fintech-development | |
Running `./manage.py rebuild_index` attached to terminal... up, run.5241 | |
WARNING: This will irreparably remove EVERYTHING from your search index in connection 'default'. | |
Your choices after this are to restore from backups or rebuild via the `rebuild_index` command. | |
Are you sure you wish to continue? [y/N] y | |
Removing all documents from your index because you said so. | |
Failed to clear Elasticsearch index: ConnectionError([Errno 1] _ssl.c:510: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol) caused by: SSLError([Errno 1] _ssl.c:510: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol) | |
All documents removed. | |
Indexing 12 investment opportunities | |
ERROR:root:Error updating app using default | |
Traceback (most recent call last): | |
File "/app/.heroku/python/lib/python2.7/site-packages/haystack/management/commands/update_index.py", line 189, in handle_label | |
self.update_backend(label, using) | |
File "/app/.heroku/python/lib/python2.7/site-packages/haystack/management/commands/update_index.py", line 234, in update_backend | |
do_update(backend, index, qs, start, end, total, self.verbosity) | |
File "/app/.heroku/python/lib/python2.7/site-packages/haystack/management/commands/update_index.py", line 89, in do_update | |
backend.update(index, current_qs) | |
File "/app/.heroku/python/lib/python2.7/site-packages/haystack/backends/elasticsearch_backend.py", line 187, in update | |
bulk_index(self.conn, prepped_docs, index=self.index_name, doc_type='modelresult') | |
File "/app/.heroku/python/lib/python2.7/site-packages/elasticsearch/helpers/__init__.py", line 145, in bulk | |
for ok, item in streaming_bulk(client, actions, **kwargs): | |
File "/app/.heroku/python/lib/python2.7/site-packages/elasticsearch/helpers/__init__.py", line 104, in streaming_bulk | |
resp = client.bulk(bulk_actions, **kwargs) | |
File "/app/.heroku/python/lib/python2.7/site-packages/elasticsearch/client/utils.py", line 68, in _wrapped | |
return func(*args, params=params, **kwargs) | |
File "/app/.heroku/python/lib/python2.7/site-packages/elasticsearch/client/__init__.py", line 712, in bulk | |
params=params, body=self._bulk_body(body)) | |
File "/app/.heroku/python/lib/python2.7/site-packages/elasticsearch/transport.py", line 301, in perform_request | |
status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout) | |
File "/app/.heroku/python/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 72, in perform_request | |
raise SSLError('N/A', str(e), e) | |
SSLError: ConnectionError([Errno 1] _ssl.c:510: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol) caused by: SSLError([Errno 1] _ssl.c:510: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol) | |
Traceback (most recent call last): | |
File "./manage.py", line 10, in <module> | |
execute_from_command_line(sys.argv) | |
File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line | |
utility.execute() | |
File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv | |
self.execute(*args, **options.__dict__) | |
File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute | |
output = self.handle(*args, **options) | |
File "/app/.heroku/python/lib/python2.7/site-packages/haystack/management/commands/rebuild_index.py", line 16, in handle | |
call_command('update_index', **options) | |
File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 159, in call_command | |
return klass.execute(*args, **defaults) | |
File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute | |
output = self.handle(*args, **options) | |
File "/app/.heroku/python/lib/python2.7/site-packages/haystack/management/commands/update_index.py", line 184, in handle | |
return super(Command, self).handle(*items, **options) | |
File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/base.py", line 385, in handle | |
label_output = self.handle_label(label, **options) | |
File "/app/.heroku/python/lib/python2.7/site-packages/haystack/management/commands/update_index.py", line 189, in handle_label | |
self.update_backend(label, using) | |
File "/app/.heroku/python/lib/python2.7/site-packages/haystack/management/commands/update_index.py", line 234, in update_backend | |
do_update(backend, index, qs, start, end, total, self.verbosity) | |
File "/app/.heroku/python/lib/python2.7/site-packages/haystack/management/commands/update_index.py", line 89, in do_update | |
backend.update(index, current_qs) | |
File "/app/.heroku/python/lib/python2.7/site-packages/haystack/backends/elasticsearch_backend.py", line 187, in update | |
bulk_index(self.conn, prepped_docs, index=self.index_name, doc_type='modelresult') | |
File "/app/.heroku/python/lib/python2.7/site-packages/elasticsearch/helpers/__init__.py", line 145, in bulk | |
for ok, item in streaming_bulk(client, actions, **kwargs): | |
File "/app/.heroku/python/lib/python2.7/site-packages/elasticsearch/helpers/__init__.py", line 104, in streaming_bulk | |
resp = client.bulk(bulk_actions, **kwargs) | |
File "/app/.heroku/python/lib/python2.7/site-packages/elasticsearch/client/utils.py", line 68, in _wrapped | |
return func(*args, params=params, **kwargs) | |
File "/app/.heroku/python/lib/python2.7/site-packages/elasticsearch/client/__init__.py", line 712, in bulk | |
params=params, body=self._bulk_body(body)) | |
File "/app/.heroku/python/lib/python2.7/site-packages/elasticsearch/transport.py", line 301, in perform_request | |
status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout) | |
File "/app/.heroku/python/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 72, in perform_request | |
raise SSLError('N/A', str(e), e) | |
elasticsearch.exceptions.SSLError: ConnectionError([Errno 1] _ssl.c:510: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol) caused by: SSLError([Errno 1] _ssl.c:510: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you ever find a solution?