I have installed a "trial" license for Marvel and the status is now "expired".
I downloaded a "Basic License" and I try to install it (ElasticSearch is in v2.1.0).
{"error":{"root_cause":[{"type":"parse_exception","reason":"Failed to derive xcontent"}],"type":"parse_exception","reason":"Failed to derive xcontent"},"status":400}
My host is a Windows 2012 Server ; I tried to replace ' by " but the result is the same.
Oliver, this error occurs when there is no body sent in the curl request to the license API. Can you confirm that you are referencing the Basic license json file you downloaded instead of license.json
For me, a successful command looks sort of like this (actual path and filename changed)
Hm. Can you verify that the license file itself is not empty? The error message still makes me think that no content from the license file is making it to Elasticsearch.
In your original post, you mentioned that you are running Windows. How are you running curl? Are you using powershell, cygwin, or cmd.exe as your terminal?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.