-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hung Load Documents Docker Image #47
Comments
We will follow up with you directly to get more information on this.
…On Mon, Mar 11, 2019 at 6:41 PM dwmcqueen ***@***.***> wrote:
I tried to load documents and am now getting the task as "Pending." Here
was the error:
`Unable to fetch logs from ElasticSearch:
Traceback (most recent call last):
File
"/contraxsuite_services/venv/lib/python3.6/site-packages/urllib3/connection.py",
line 141, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File
"/contraxsuite_services/venv/lib/python3.6/site-packages/urllib3/util/connection.py",
line 83, in create_connection
raise err
File
"/contraxsuite_services/venv/lib/python3.6/site-packages/urllib3/util/connection.py",
line 73, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"/contraxsuite_services/venv/lib/python3.6/site-packages/elasticsearch/connection/http_urllib3.py",
line 147, in perform_request
response = self.pool.urlopen(method, url, body, retries=False,
headers=self.headers, **kw)
File
"/contraxsuite_services/venv/lib/python3.6/site-packages/urllib3/connectionpool.py",
line 639, in urlopen
_stacktrace=sys.exc_info()[2])
File
"/contraxsuite_services/venv/lib/python3.6/site-packages/urllib3/util/retry.py",
line 333, in increment
raise six.reraise(type(error), error, _stacktrace)
File
"/contraxsuite_services/venv/lib/python3.6/site-packages/urllib3/packages/six.py",
line 686, in reraise
raise value
File
"/contraxsuite_services/venv/lib/python3.6/site-packages/urllib3/connectionpool.py",
line 601, in urlopen
chunked=chunked)
File
"/contraxsuite_services/venv/lib/python3.6/site-packages/urllib3/connectionpool.py",
line 357, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/usr/lib/python3.6/http/client.py", line 964, in send
self.connect()
File
"/contraxsuite_services/venv/lib/python3.6/site-packages/urllib3/connection.py",
line 166, in connect
conn = self._new_conn()
File
"/contraxsuite_services/venv/lib/python3.6/site-packages/urllib3/connection.py",
line 150, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: : Failed to establish a new
connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./apps/task/models.py", line 218, in get_task_log_from_elasticsearch
body=es_query)
File
"/contraxsuite_services/venv/lib/python3.6/site-packages/elasticsearch/client/utils.py",
line 76, in _wrapped
return func(*args, params=params, **kwargs)
File
"/contraxsuite_services/venv/lib/python3.6/site-packages/elasticsearch/client/
*init*.py", line 636, in search
doc_type, '_search'), params=params, body=body)
File
"/contraxsuite_services/venv/lib/python3.6/site-packages/elasticsearch/transport.py",
line 314, in perform_request
status, headers, data = connection.perform_request(method, url, params,
body, headers=headers, ignore=ignore, timeout=timeout)
File
"/contraxsuite_services/venv/lib/python3.6/site-packages/elasticsearch/connection/http_urllib3.py",
line 156, in perform_request
raise ConnectionError('N/A', str(e), e)
elasticsearch.exceptions.ConnectionError: ConnectionError(: Failed to
establish a new connection: [Errno 111] Connection refused) caused by:
NewConnectionError(: Failed to establish a new connection: [Errno 111]
Connection refused)`
Purging the task leads to a crash of contraxtsuite. Is there another way
to purge that task?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#47>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AdAEOmc4eQiSySTAWKE6yGbIQJwWOEFNks5vVtusgaJpZM4bptad>
.
--
*Eric Detterman *| VP and Global Head of Products and Solution Engineering,
*LexPredict, LLC*
*Email: *[email protected]
*LinkedIn: *
*https://www.linkedin.com/in/ericdetterman
<https://www.linkedin.com/in/ericdetterman>**Web: *https://www.lexpredict.
<https://www.lexpredict.com/>com/ <https://www.lexpredict.com/>
*Cell: +1 (248) 550-2111*
--
*CONFIDENTIALITY NOTICE*: This transmission, including any attachments,
may contain confidential, protected, or sensitive information. If you are
not the intended recipient of this transmission, you may not disclose,
copy, redistribute, or use the contents of this message. If you have
received this email in error, please destroy it and notify the sender
immediately.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to load documents and am now getting the task as "Pending." Here was the error:
`Unable to fetch logs from ElasticSearch:
Traceback (most recent call last):
File "/contraxsuite_services/venv/lib/python3.6/site-packages/urllib3/connection.py", line 141, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/contraxsuite_services/venv/lib/python3.6/site-packages/urllib3/util/connection.py", line 83, in create_connection
raise err
File "/contraxsuite_services/venv/lib/python3.6/site-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/contraxsuite_services/venv/lib/python3.6/site-packages/elasticsearch/connection/http_urllib3.py", line 147, in perform_request
response = self.pool.urlopen(method, url, body, retries=False, headers=self.headers, **kw)
File "/contraxsuite_services/venv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 639, in urlopen
_stacktrace=sys.exc_info()[2])
File "/contraxsuite_services/venv/lib/python3.6/site-packages/urllib3/util/retry.py", line 333, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/contraxsuite_services/venv/lib/python3.6/site-packages/urllib3/packages/six.py", line 686, in reraise
raise value
File "/contraxsuite_services/venv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 601, in urlopen
chunked=chunked)
File "/contraxsuite_services/venv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 357, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/usr/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/contraxsuite_services/venv/lib/python3.6/site-packages/urllib3/connection.py", line 166, in connect
conn = self._new_conn()
File "/contraxsuite_services/venv/lib/python3.6/site-packages/urllib3/connection.py", line 150, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./apps/task/models.py", line 218, in get_task_log_from_elasticsearch
body=es_query)
File "/contraxsuite_services/venv/lib/python3.6/site-packages/elasticsearch/client/utils.py", line 76, in _wrapped
return func(*args, params=params, **kwargs)
File "/contraxsuite_services/venv/lib/python3.6/site-packages/elasticsearch/client/init.py", line 636, in search
doc_type, '_search'), params=params, body=body)
File "/contraxsuite_services/venv/lib/python3.6/site-packages/elasticsearch/transport.py", line 314, in perform_request
status, headers, data = connection.perform_request(method, url, params, body, headers=headers, ignore=ignore, timeout=timeout)
File "/contraxsuite_services/venv/lib/python3.6/site-packages/elasticsearch/connection/http_urllib3.py", line 156, in perform_request
raise ConnectionError('N/A', str(e), e)
elasticsearch.exceptions.ConnectionError: ConnectionError(: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(: Failed to establish a new connection: [Errno 111] Connection refused)`
Purging the task leads to a crash of contraxtsuite. Is there another way to purge that task?
The text was updated successfully, but these errors were encountered: