Traceback (most recent call last):


 "/home/dev-django1/.virtualenvs/logic_srv/lib/python3.6/site-packages/elasticsearch/connection/http_urllib3.py", line 172, in perform_request

response = self.pool.urlopen(method, url, body, retries=Retry(False), headers=request_headers, **kw)


 "/home/dev-django1/.virtualenvs/logic_srv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 638, in urlopen

_stacktrace=sys.exc_info()[2])


 "/home/dev-django1/.virtualenvs/logic_srv/lib/python3.6/site-packages/urllib3/util/retry.py", line 343, in increment

raise six.reraise(type(error), error, _stacktrace)


 "/home/dev-django1/.virtualenvs/logic_srv/lib/python3.6/site-packages/urllib3/packages/six.py", line 686, in reraise

raise value


 "/home/dev-django1/.virtualenvs/logic_srv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen

chunked=chunked)


 "/home/dev-django1/.virtualenvs/logic_srv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 354, in _make_request

conn.request(method, url, **httplib_request_kw)


 "/usr/lib/python3.6/http/client.py", line 1254, in request

self._send_request(method, url, body, headers, encode_chunked)


 "/usr/lib/python3.6/http/client.py", line 1300, in _send_request

self.endheaders(body, encode_chunked=encode_chunked)


 "/usr/lib/python3.6/http/client.py", line 1249, in endheaders

self._send_output(message_body, encode_chunked=encode_chunked)


 "/usr/lib/python3.6/http/client.py", line 1036, in _send_output

self.send(msg)


 "/usr/lib/python3.6/http/client.py", line 974, in send

self.connect()


 "/home/dev-django1/.virtualenvs/logic_srv/lib/python3.6/site-packages/urllib3/connection.py", line 181, in connect

conn = self._new_conn()


 "/home/dev-django1/.virtualenvs/logic_srv/lib/python3.6/site-packages/urllib3/connection.py", line 168, in _new_conn

self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f4137f165c0>: Failed to establish a new connection: [Errno 111] Connection refused

Traceback (most recent call last):


 "./manage.py", line 10, in <module>

execute_from_command_line(sys.argv)


 "/opt/arif-envo-cesmma/lib/python3.5/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line

utility.execute()


 "/opt/arif-envo-cesmma/lib/python3.5/site-packages/django/core/management/__init__.py", line 359, in execute

self.fetch_command(subcommand).run_from_argv(self.argv)


 "/opt/arif-envo-cesmma/lib/python3.5/site-packages/django/core/management/base.py", line 294, in run_from_argv

self.execute(*args, **cmd_options)


 "/opt/arif-envo-cesmma/lib/python3.5/site-packages/django/core/management/base.py", line 345, in execute

output = self.handle(*args, **options)


 "/opt/arif-envo-cesmma/lib/python3.5/site-packages/django_q/management/commands/qinfo.py", line 41, in handle

info()


 "/opt/arif-envo-cesmma/lib/python3.5/site-packages/django_q/monitor.py", line 128, in info

exec_time = exec_time['time_taken'].total_seconds() / tasks_per_day
AttributeError: 'decimal.Decimal' object has no attribute 'total_seconds'
