Pass URI to elasticsearch client instead of string
Because we were URL encoding username and password but passing `uri.to_s` to the elasticsearch client, elasticsearch client was URL encoding the username and password a second time which resulted in 401 errors. Passing a URI to elasticsearch client fixes this. Changelog: fixed EE: true
Showing
Please register or sign in to comment