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

Authentication Error #106

Open
annelhote opened this issue Jan 12, 2017 · 0 comments
Open

Authentication Error #106

annelhote opened this issue Jan 12, 2017 · 0 comments

Comments

@annelhote
Copy link

Hello, I'm kind of newbie with elasticjs but I can't access my elasticsearch service that need an authentication :

var client = new esFactory({
   host: [{
      host: 'my.host.org',
      port: 9200,
      httpAuth : 'user:password'
   }]
});

I've got a 401 error, Unauthorized. How to connect ?

Many thanks in advance :)

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