Kibana: View in Console Not Working

Created on 11 Dec 2019  ·  6Comments  ·  Source: elastic/kibana

Kibana version:
7.5.0

Elasticsearch version:
7.5.0

Server OS version:
Debian 9.5

Browser version:
Chrome 78.0.3904.108

Original install method (e.g. download page, yum, from source, etc.):
apt-get

Describe the bug:
When I click "View in Console" on any of the examples here, I get:

image

Notice how it didn't load the example query?

Steps to reproduce:

  1. Pick a random example here
  2. Click View in Code
  3. Notice the code doesn't load?

Expected behavior:
Code should load

Errors in browser console (if relevant):
When I open chrome dev tools from this link, I see:

image

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-SbBSU7MfZFnVMq4PuE/jbBz7pPIfXUTYDrdHl7Ckchc='), or a nonce ('nonce-...') is required to enable inline execution.

bootstrap.js:9 ^ A single error about an inline script not firing due to content security policy is expected!
:5601/built_assets/dlls/vendors.bundle.dll.js:559

INFO: 2019-12-10T17:29:28Z
Adding connection to http://localhost:5601/elasticsearch

Provide logs and/or server output (if relevant):

Any additional context:
Original posting on discuss

Console Dev Tools Elasticsearch UI bug

All 6 comments

Do you use any custom plugins maybe?

Pinging @elastic/es-ui (Team:Elasticsearch UI)

Do you use any custom plugins maybe?

Not that I'm aware of. GET /_cat/plugins returns an empty 200 response.

@spottedmahn Thanks for reporting!

I was able to reproduce this - we'll fix this functionality.

Hi @jloleysens - thanks for submitting a PR so quickly! ⚡🤩🤝

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mark54g picture mark54g  ·  3Comments

cafuego picture cafuego  ·  3Comments

bradvido picture bradvido  ·  3Comments

spalger picture spalger  ·  3Comments

MaartenUreel picture MaartenUreel  ·  3Comments