Can you please tell me the step to do that from starting. That will be a great help.
Regards, Nimit On Friday, 12 September 2014 16:35:11 UTC+5:30, Honza Král wrote: > > I am sorry, I cannot help you. Elasticsearch requires no password and > the URL you supplied doesn't correspond to any API in Elasticsearch > (unless you are pointing to a single document). I assume there is > something weird with your setup. > > On Fri, Sep 12, 2014 at 1:01 PM, Nimit Jain <[email protected] > <javascript:>> wrote: > > I am not think so that I have reached Elasticsearch using this. But > below is > > the command that I have used. > > > > curl -i -XGET 10.xxx.66.xxx:6xxx8/ea/api/discovery.json -d ' > > > > There is no proxy in between the client and server but yes it do have > the > > login which we are not doing right now. Could you please tell me the way > to > > provide username and password using elasticsearch. > > > > It would be very helpful. > > > > Regards, > > Nimit > > > > On Friday, 12 September 2014 15:39:28 UTC+5:30, Honza Král wrote: > >> > >> what is the curl comman you use to reach elasticsearch? > >> > >> On Fri, Sep 12, 2014 at 11:51 AM, Nimit Jain <[email protected]> > wrote: > >> > With the same URL I am able to get the json from curl command. > >> > Full url is http://10.xxx.66.xxx:6xxx8/ea/api/discovery.json but > with > >> > elasticsearch the Status is N/A. I don't know why this is happening. > >> > > >> > Regards, > >> > Nimit > >> > > >> > On Friday, 12 September 2014 12:29:39 UTC+5:30, Magnus Bäck wrote: > >> >> > >> >> On Friday, September 12, 2014 at 04:45 CEST, > >> >> Nimit Jain <[email protected]> wrote: > >> >> > >> >> > Thanks Honza for your reply. While trying the below code with > >> >> > print(es.info()) I am getting the below error. > >> >> > pydev debugger: starting (pid: 9652) > >> >> > GET / [status:401 request:0.563s] > >> >> > Traceback (most recent call last): > >> >> > >> >> [...] > >> >> > >> >> > elasticsearch.exceptions.TransportError: TransportError(401, '') > >> >> > Here the status is 401. Please help. > >> >> > >> >> HTTP status 401 is "Unauthorized". Do you have a proxy that > >> >> expects authentication between your host and Elasticsearch? > >> >> I suspect Elasticsearch itself isn't capable of returning 401. > >> >> > >> >> -- > >> >> Magnus Bäck | Software Engineer, Development Tools > >> >> [email protected] | Sony Mobile Communications > >> > > >> > -- > >> > 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 [email protected]. > >> > To view this discussion on the web visit > >> > > >> > > https://groups.google.com/d/msgid/elasticsearch/3657ab99-706f-4bfb-af74-44d55c618902%40googlegroups.com. > > > >> > > >> > For more options, visit https://groups.google.com/d/optout. > > > > -- > > 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 [email protected] <javascript:>. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/elasticsearch/d3eec423-9cee-4fbf-90a8-60d4f79ffa23%40googlegroups.com. > > > > > > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/bf06fa28-2bbc-4055-b943-9f94bd08d434%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
