Comments (3)
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.
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.
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)
- Add Version pinning to the deploy
- Update ansible deploy to work with a git-clone
- Create upgrade path / role
- Update/remove Rock TUI
- PyOpenSSL task needs to be updated
- FSF has several missing python dependencies. HOT 1
- fix xkcd HOT 2
- Stable ISO location HOT 1
- Update common role HOT 2
- Elastic features update
- Version 2.6.0-2111 (rocknsm-20211126-08:00:35.iso) Error: [esaggs] > Invalid string. Length must be a multiple of 4 HOT 11
- Scripted Fields Died with version Kibana 7.13 HOT 1
- Update to EL8 package for Policycoreutils-python
- Update libselinux to new EL8/9 equivalent
- Update PyYAML to equivalent EL8/9 Package
- suricata-update has moved location on Rocky 9
- Move from xkcdpass to pwgen
- Rock Spec needs updates HOT 2
- https://download.rocknsm.io is offline/unavailable | no repo for ISO pull HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rock.