Skip to content

Authentication Error #106

@annelhote

Description

@annelhote

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions