Damn… Finally got it working after few days
If you are behind a proxy you need to add below configs to your “/etc/elasticsearch/jvm.options” file
-Dhttp.proxyHost=proxy.example.com
-Dhttp.proxyPort=80
-Dhttps.proxyHost=proxy.example.com
-Dhttps.proxyPort=80
With this changes, you need to restart elasticsearch and you are good to go.