小编Oha*_*sky的帖子

收到“Elastic 未正确加载。请检查服务器输出以获取更多信息。” 通过网守访问时

我在 Kibana (docker.elastic.co/kibana/kibana) 上使用带有 keycloak (docker.io/jboss/keycloak:11.0.2) 的 Gatekeeper (quay.io/keycloak/keycloak-gatekeeper:10.0.0) 进行 SSO -oss:7.10.1)

我的网守配置:

discovery-url: http://{{ index .Values.gatekeeper.config "keycloak-url" }}/auth/realms/{{ .Values.gatekeeper.config.realm }}
skip-openid-provider-tls-verify: true
client-id: {{ index .Values.gatekeeper.config "client-id" }}
client-secret: {{ index .Values.gatekeeper.config "client-secret" }}
listen: :3000
enable-refresh-tokens: true
enable-default-deny: true
enable-session-cookies: true
tls-cert:
tls-private-key:
redirection-url: http://{{ index .Values.gatekeeper.config "redirection-url" }}:{{ .Values.service.nodePort }}
secure-cookie: false
encryption-key: {{ index .Values.gatekeeper.config "encryption-key" }}
upstream-url: http://127.0.0.1:5601/
forbidden-page: /html/access-forbidden.html
upstream-keepalives: true
resources:
- uri: /*
Run Code Online (Sandbox Code Playgroud)

我能够进入 keycloak 登录页面,但在成功登录后(并且在 Kibana 加载程序完成加载后),我收到一个错误页面:

在此输入图像描述

从 kibana 日志中我看到:

{"type":"log","@timestamp":"2020-12-19T15:50:58Z","tags":["debug","connection","econnreset"],"pid":8,"message":"ECONNRESET: …
Run Code Online (Sandbox Code Playgroud)

single-sign-on econnreset kibana keycloak keycloak-gatekeeper

5
推荐指数
1
解决办法
9001
查看次数