searchbox-io/Jest

Jest client defaultCredentials - 2 calls going to ElasticSearch cluster

sharmalalit opened this issue · 1 comments

We have noticed after authentication is enabled on ElasticSearch and we started using defaultCredentials to set the creds, we can see Jest is making 2 calls. First without auth information and ES return 401 and on the next call it makes call with auth information.

Please suggest how to disable this and ensure only call with auth information is made.

Version : v2.0.4