Skip to content

SQL: when security is enabled and the CLI is started without username and password the error message is confusing #33230

Closed
@astefan

Description

@astefan

The SQL CLI can be started with username:password@host:port type of command to be able to specify the username and password.

But, if this is done and the authentication fails, the error message is confusing/not true:

ERROR: Cannot communicate with the server elasticc:changeme@localhost:9200. This version of CLI only works with Elasticsearch version v7.0.0-alpha1 [6f1ee76]

Using -d one can see the true reason as a stack-trace, but the error message is still incorrect.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions