Giter VIP home page Giter VIP logo

bitergia-analytics-odfe-kibana's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

bitergia-analytics-odfe-kibana's Issues

Duplicated lines error when restarting containers

When the container of this image is restarted, the docker-entrypoint code is executed again, forcing to duplicate the lines that are inserted with >>.

For example, here: https://github.com/Bitergia/bitergia-analytics-odfe-kibana/blob/master/docker-entrypoint.sh#L103

This is the output of the error:

/usr/share/kibana/node_modules/js-yaml/lib/js-yaml/loader.js:173
  throw generateError(state, message);
  ^
YAMLException: duplicated mapping key at line 40, column 1:
    opendistro_security.basicauth.lo ... 
    ^
    at generateError (/usr/share/kibana/node_modules/js-yaml/lib/js-yaml/loader.js:167:10)
    at throwError (/usr/share/kibana/node_modules/js-yaml/lib/js-yaml/loader.js:173:9)
    at storeMappingPair (/usr/share/kibana/node_modules/js-yaml/lib/js-yaml/loader.js:335:7)
    at readBlockMapping (/usr/share/kibana/node_modules/js-yaml/lib/js-yaml/loader.js:1098:9)
    at composeNode (/usr/share/kibana/node_modules/js-yaml/lib/js-yaml/loader.js:1359:12)
    at readDocument (/usr/share/kibana/node_modules/js-yaml/lib/js-yaml/loader.js:1525:3)
    at loadDocuments (/usr/share/kibana/node_modules/js-yaml/lib/js-yaml/loader.js:1588:5)
    at load (/usr/share/kibana/node_modules/js-yaml/lib/js-yaml/loader.js:1614:19)
    at Object.safeLoad (/usr/share/kibana/node_modules/js-yaml/lib/js-yaml/loader.js:1637:10)
    at readYaml (/usr/share/kibana/node_modules/@kbn/apm-config-loader/target/utils/read_config.js:27:38)

To fix this bug it's needed a check before inserting the line. If the line exists, replace it with the new one.


Thanks to @zhquan for reporting the bug

The embedded visualization is not loading by anonymous user in some browsers

1.The error: Embedded visualization is not loading in the following browsers by anonymous user:

  • Firefox Nightly (88.0a1 (2021-03-08))
  • Chrome Version 89.0.4389.82 (Official Build) (x86_64)

However, it works in Firefox 86.0

2.How to reproduce the wrong behavior: If you create a dashboard and if you embed it this way: <iframe src="STORED-DASHBOARD-URL?embed=true" height=400 width=600></iframe>, you will have this message in the browser: redirected you too many times. And this error comes from the anonymous user by Search Guard.

3.Version: Elasticsearch 6.8.6 with Search Guard: 25.5

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.