Skip to content

RestHighLevelClient 连接elasticsearch需要token #566

Open
@doubaojun

Description

@doubaojun

ElasticsearchStatusException[Elasticsearch exception [type=security_exception, reason=missing authentication token for REST request [/]]]

请问,应该怎么把用户名和密码添加进去

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions