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

Better error message when trying to enroll with Basic license #28417

Closed
ycombinator opened this issue Jan 9, 2019 · 2 comments
Closed

Better error message when trying to enroll with Basic license #28417

ycombinator opened this issue Jan 9, 2019 · 2 comments

Comments

@ycombinator
Copy link
Contributor

Kibana version: 6.6.0

Elasticsearch version: 6.6.0

Server OS version: Mac OS X

Browser version: Chrome latest

Browser OS version: Mac OS X

Original install method (e.g. download page, yum, from source, etc.): 6.6.0 BC2

Describe the bug:

When attempting to enroll a beat while running the Basic license, the error message returned contains `[object Object] in it.

Steps to reproduce:

  1. Install ES, Kibana, and Metricbeat with default configuration.
  2. Start up ES and Kibana.
  3. Run ./metricbeat enroll http://localhost:5601 foobar

Observed behavior:

The error message returned is:

Error while enrolling: Your [object Object] license does not support this API or is expired. Please upgrade your license.

Expected behavior:

The error message returned would be something like:

Error while enrolling: Your Basic license does not support this API or is expired. Please upgrade your license.
@ph
Copy link
Contributor

ph commented Jan 10, 2019

This will need to be done on the Kibana side, beats just display what is coming from the API.

@ycombinator
Copy link
Contributor Author

Indeed, hence the issue in the Kibana repo 😉

@mattapperson mattapperson self-assigned this Jan 23, 2019
mattapperson added a commit to mattapperson/kibana that referenced this issue Jan 23, 2019
mattapperson added a commit to mattapperson/kibana that referenced this issue Jan 30, 2019
mattapperson added a commit that referenced this issue Feb 4, 2019
mattapperson added a commit to mattapperson/kibana that referenced this issue Feb 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants