Traceback (most recent call last):


 "/usr/bin/elastalert", line 11, in <module>

load_entry_point('elastalert==0.1.33', 'console_scripts', 'elastalert')()


 "/usr/lib/python2.7/site-packages/elastalert/elastalert.py", line 1897, in main

client = ElastAlerter(args)


 "/usr/lib/python2.7/site-packages/elastalert/elastalert.py", line 161, in __init__

if not self.init_rule(rule):


 "/usr/lib/python2.7/site-packages/elastalert/elastalert.py", line 929, in init_rule

self.send_notification_email(exception=e, rule=new_rule)


 "/usr/lib/python2.7/site-packages/elastalert/elastalert.py", line 1830, in send_notification_email

self.handle_error('Error connecting to SMTP host: %s' % (e), {'email_body': email_body})


 "/usr/lib/python2.7/site-packages/elastalert/elastalert.py", line 1781, in handle_error

self.writeback('elastalert_error', body)


 "/usr/lib/python2.7/site-packages/elastalert/elastalert.py", line 1451, in writeback

if(self.is_atleastsix()):


 "/usr/lib/python2.7/site-packages/elastalert/elastalert.py", line 182, in is_atleastsix

return int(self.es_version.split(".")[0]) >= 6


 "/usr/lib/python2.7/site-packages/elastalert/elastalert.py", line 175, in es_version

self._es_version = self.get_version()


 "/usr/lib/python2.7/site-packages/elastalert/elastalert.py", line 169, in get_version

info = self.writeback_es.info()


 "/usr/lib/python2.7/site-packages/elasticsearch/client/utils.py", line 76, in _wrapped

return func(*args, params=params, **kwargs)


 "/usr/lib/python2.7/site-packages/elasticsearch/client/__init__.py", line 241, in info

return self.transport.perform_request('GET', '/', params=params)


 "/usr/lib/python2.7/site-packages/elasticsearch/transport.py", line 318, in perform_request

status, headers_response, data = connection.perform_request(method, url, params, body, headers=headers, ignore=ignore, timeout=timeout)


 "/usr/lib/python2.7/site-packages/elasticsearch/connection/http_requests.py", line 85, in perform_request

raise ConnectionError('N/A', str(e), e)
elasticsearch.exceptions.ConnectionError: ConnectionError(HTTPConnectionPool(host='127.0.0.1', port=9201): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x2bbc510>: Failed to establish a new connection: [Errno 111] Connection refused',))) caused by: ConnectionError(HTTPConnectionPool(host='127.0.0.1', port=9201): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x2bbc510>: Failed to establish a new connection: [Errno 111] Connection refused',)))

Traceback (most recent call last):


 "/usr/local/lib/python3.6/site-packages/logbook/handlers.py", line 216, in handle

self.emit(record)


 "/usr/local/lib/python3.6/site-packages/dbt/logger.py", line 461, in emit

'too many messages received before initilization!'
AssertionError: too many messages received before initilization!
