Elasticsearch-php auth error


(Patrick Marx) #1

Hi,
I've been using the php client successfully with a remote server, and I've
set up a new server and run into auth problems using the PHP client
library.

$clientParams['connectionParams']['auth'] = array(
'user',
'pw',
'Basic'
);

My issue is now I get back a 401 Authentication Required every time I try
to hit the endpoints using the PHP client but I've gone on the chrome
extension Postman to try sending some basic auth requests using the user/pw
and the server responds correctly. Any ideas what might cause this or how
to go about debugging?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8fc0743b-d3a9-4b4c-9484-deb647707afd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2