2019-08-08T03:29:33:ERROR:localstack.services.es.es_starter: Elasticsearch health check failed (retrying...): TransportError(502, u'') Traceback (most recent call last):


 "/usr/local/lib/python2.7/dist-packages/localstack/services/es/es_starter.py", line 65, in check_elasticsearch

out = es.cat.aliases()


 "/usr/local/lib/python2.7/dist-packages/elasticsearch/client/utils.py", line 84, in _wrapped

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


 "/usr/local/lib/python2.7/dist-packages/elasticsearch/client/cat.py", line 24, in aliases

"GET", _make_path("_cat", "aliases", name), params=params


 "/usr/local/lib/python2.7/dist-packages/elasticsearch/transport.py", line 353, in perform_request

timeout=timeout,


 "/usr/local/lib/python2.7/dist-packages/elasticsearch/connection/http_requests.py", line 141, in perform_request

self._raise_error(response.status_code, raw_data)


 "/usr/local/lib/python2.7/dist-packages/elasticsearch/connection/base.py", line 162, in _raise_error

status_code, error_message, additional_info
TransportError: TransportError(502, u'')

Traceback (most recent call last):

 "/root/cobra/cobra/__init__.py", line 82, in main
cli.start(args.target, args.format, args.output, args.special_rules, a_sid)

 "/root/cobra/cobra/cli.py", line 82, in start
main_framework = dt.framework

 "/root/cobra/cobra/detection.py", line 70, in framework
projects_data = self.project_information(self.target_directory, False)

 "/root/cobra/cobra/detection.py", line 170, in project_information
for root, dirs, filenames in os.walk(unicode(absolute_path, "utf-8")):TypeError: decoding Unicode is not supported