Giter VIP home page Giter VIP logo

Comments (3)

spartan782 avatar spartan782 commented on July 17, 2024

This could be an issue with Elastic 7.11 it looks like. I will keep this open but want to try another elastic version to see if we get the same errors with the dashboards before changing them.

from rock.

webhead404 avatar webhead404 commented on July 17, 2024

As discussed I believe a good place to look for this issue is in the lighttpd proxy config. I confirmed this in 7.11 but didn't test 7.12. Here is a snippet of the lighttpd error log:

2021-03-11 16:10:38: (http-header-glue.c.1032) proxy backend sent invalid response header (Transfer-Encoding) to HTTP/1.0 request
2021-03-11 16:10:38: (gw_backend.c.2125) response not received, request sent: 927 on socket: tcp:127.0.0.1:5601 for /internal?, closing connection

from rock.

avladulescu avatar avladulescu commented on July 17, 2024

Ended up removing the lighttpd which was buggy and installed nginx.

You can use this simple configuration as it works, but if your rock web access is in a closed network only.
If you feel like switching to a SSL certificate and auth you will have a little bit more work to do.

        location / {
                proxy_pass http://127.0.0.1:5601;
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection 'upgrade';
                proxy_set_header Host $host;
                proxy_cache_bypass $http_upgrade;
                proxy_set_header    Host            $host;
                proxy_set_header    X-Real-IP       $remote_addr;
                proxy_set_header    X-Forwarded-for $remote_addr;
                port_in_redirect off;
                proxy_connect_timeout 3600;
            }

Also in kibana.yml add this so it doesn't buzz all the time with the publicbaseurl notice:

server.publicBaseUrl: "http://127.0.0.1:5601"
server.host: 127.0.0.1
server.port: 5601

Hope it helps.

from rock.

Related Issues (20)

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.