Skip to content
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

ElasticHQ connection failing after running few days #529

Open
prasadrashika opened this issue Nov 6, 2020 · 0 comments
Open

ElasticHQ connection failing after running few days #529

prasadrashika opened this issue Nov 6, 2020 · 0 comments

Comments

@prasadrashika
Copy link

prasadrashika commented Nov 6, 2020

General information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux CentOS 7
  • ElasticHQ Version: 3.5.12
  • Elasticsearch Version: 7.6.1
  • Python version (ignore is using docker image):
  • Browser Vendor and Version (if applicable):

Issue Description

I am using docker elastic HQ, could connect to elasticsearch clusters( connected with 2 clusters) , I can see indcies ,metrics etc , every thing works fine . but after few days( 2 to 3 days ) , not working, not showing any data. As per the logs elasticHQ not able to connect to elasticsearch cluster. Elastic clusters working fine but not connecting.
docker restart also not fixed this issue.

Source Code / Logs

application.log
2020-11-06 04:50:33,383 ERROR elastichq exceptions._request_wrapper:33 There is no connection with alias 'loganalytics1_es'.
Traceback (most recent call last):
File "/src/elastichq/vendor/elasticsearch/connections.py", line 88, in get_connection
return self.create_connection(alias, **self._kwargs[alias])
KeyError: 'loganalytics1_es'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/src/elastichq/service/ConnectionService.py", line 208, in get_connection
return CONNECTIONS.get_connection(cluster_name)
File "/src/elastichq/vendor/elasticsearch/connections.py", line 91, in get_connection
raise ConnectionNotFoundException('There is no connection with alias %r.' % alias)

Large logs and files should be attached. Try to provide a reproducible test case or steps that are the bare minimum necessary to generate the problem.

Be Patient

I have a day job. ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant