版本: 7.2-8.9
简而言之,当 Elasticsearch 无法从 UserInfo 端点检索用户数据时,会出现此错误,可能是由于配置不正确、网络问题或访问权限导致的。要解决此问题,请确保端点 URL 正确且可访问。检查您的网络连接和防火墙设置。验证 Elasticsearch 是否具有访问端点所需的权限。如果您使用安全功能,请检查您的身份验证和授权设置。此外,确保用户信息格式正确,并且可以被 Elasticsearch 解析。
日志上下文 #
日志"Failed to get user information from the UserInfo endpoint.“的类名是 OpenIdConnectAuthenticator.java。我们从 Elasticsearch 源代码中提取了以下内容,供那些寻求深入上下文的人参考:
}
});
return null;
});
} catch (Exception e) {
claimsListener.onFailure(new ElasticsearchSecurityException("Failed to get user information from the UserInfo endpoint."; e));
}
} /**
* Handle the UserInfo Response from the OpenID Connect Provider. If successful; merge the returned claims with the claims





