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

Elastic Search Authentication #925

Open
JHERR1112 opened this issue May 27, 2021 · 1 comment
Open

Elastic Search Authentication #925

JHERR1112 opened this issue May 27, 2021 · 1 comment

Comments

@JHERR1112
Copy link

I keep getting the following authentication error when running mongo-connector:

ConnectionRefusedError: [Errno 111] Connection refused

I am pretty sure this error is occuring because I am not passing my elasticsearch username and password in my configuration. I was looking over the configuration options and wasn't able to find any to specify these credentials. Is there any way I can pass my credentials thru the elasticsearch targetURL? Or does anyone else have a better solution?

@7homasSutter
Copy link

I think you need to start mongo-connector with the authentication params as described in the doc-manager options. The config should be in JSON format so try it with {"authentication": {"password": XXX}}

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

2 participants