RestClient issue : Request denied by WatchGuard HTTP Proxy

(s) #1

Hi I am using elasticsearch rest client to push data to my amazon elasticsearch domain. It works perfect with host : localhost port: 9200

whereas when I change host to point my amazon elasticsearch endpoint with the port as "80" it gives me following error Request denied by WatchGuard HTTP Proxy

I am ingesting data through post request, same post requests works if I do that through postman but it does not work with elasticsearch RestClient java.

Following code snippet is used for the same :

HttpEntity entity = new NStringEntity(json,
url, Collections.<String, String> emptyMap(), entity);

(Thiago Souza) #2

This is an issue external to Elasticsearch. Moreover I would say you have a proxy in your network. You should be contacting your network administrator about this.


(s) #3

Thanks thiago. Its the issue with proxy only.

(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.