ES: v2.4.4
I recently requested a new basic license for Elasticsearch. When I attempt to install the license remotely by following the documentation, I'm either being denied permission or being prompted for the admin password, which I don't believe I've set.
seth-comp:Downloads Seth$ curl -XPUT -u admin 'http://my_host:9200/_license' -d @my-license-v2.json
Enter host password for user 'admin':
curl: (7) Failed to connect to lmtopslog01 port 9200: Connection refused
If I move the license to the ES node and try to do the curl locally, it also fails:
root@my_host:/usr/share/elasticsearch# curl -XPUT 'http://127.0.0.1:9200/_license' -d @my-license-v2.json
{"error":{"root_cause":[{"type":"null_pointer_exception","reason":"No InputStream specified"}],"type":"null_pointer_exception","reason":"No InputStream specified"},"status":500}
Furthermore, even attempting to download the zip is failing due to the servers being at capacity:
seth_comp:Downloads Seth$ wget https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.2.0/license-2.4.4.zip
--2017-02-28 11:22:23-- https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.2.0/license-2.4.4.zip
Resolving download.elastic.co... 50.16.218.19, 23.23.215.69, 50.17.233.78, ...
Connecting to download.elastic.co|50.16.218.19|:443... connected.
HTTP request sent, awaiting response... 503 Service Unavailable: Back-end server is at capacity
2017-02-28 11:22:24 ERROR 503: Service Unavailable: Back-end server is at capacity.
I've followed the documentation regarding updating my license for my version.
Can anyone please give me some guidance in what I'm doing incorrectly? Thanks in advance.