2

我在 Kibana(docker.elastic.co/kibana/kibana -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: /*

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

在此处输入图像描述

从kibana日志我看到:

{"type":"log","@timestamp":"2020-12-19T15:50:58Z","tags":["debug","connection","econnreset"],"pid":8,"message":"ECONNRESET: Socket was closed by the client (probably the browser) before

可以完整读取"} {"type":"log","@timestamp":"2020-12-19T15:51:00Z","tags":["debug","connection","econnreset"] ,"pid":8,"message":"ECONNRESET: 套接字在被完全读取之前被客户端(可能是浏览器)关闭了"} {"type":"log","@timestamp":"2020- 12-19T15:51:01Z","tags":["debug","connection","econnreset"],"pid":8,"message":"ECONNRESET: 套接字已被客户端关闭(可能是浏览器) 在它被完全阅读之前"}

有没有人遇到过这种情况?我怎样才能解决这个问题?

谢谢

4

1 回答 1

1

对我来说,我禁用了 adBlocker 或类似的,这是正确的。

于 2021-05-16T11:29:39.240 回答