RT,ES 在 rails 里,怎么添加账号密码,进行链接访问 用 X-Pack 加了密,现在无法访问一直报
[401] {"error":{"root_cause":[{"type":"security_exception","reason":"missing authentication token for REST request [/es_users/es_user/AVjOhZWLvFIJagtSUp6r]","header":{"WWW-Authenticate":"Basic realm=\"security\" charset=\"UTF-8\""}}],"type":"security_exception","reason":"missing authentication token for REST request [/es_users/es_user/AVjOhZWLvFIJagtSUp6r]","header":{"WWW-Authenticate":"Basic realm=\"security\" charset=\"UTF-8\""}},"status":401}
很郁闷 到处查了,也没找到怎么再 rails 中配置这些相关数据。。。。 请教大家了