Encounter an error when Update License

monitoring

(Hubo3085632) #1

i updated the marvel using a basic license,then encountered an error
"{"error":{"root_cause":[{"type":"parse_exception","reason":"Failed to derive xcontent"}],"type":"parse_exception","reason":"Failed to derive xcontent"},"status":400}"

here is the license:
{"license":{"uid":"e859d0ad-2b32-4383-ad8d-c969f8b26b1f","type":"basic","issue_date_in_millis":1482710400000,"expiry_date_in_millis":1514332799999,"max_nodes":100,"issued_to":"bo hu (shanghai shipping exchange)","issuer":"Web Form","signature":"AAAAAgAAAA2OI7kjkt/a4ss6h185AAABmC9ZN0hjZDBGYnVyRXpCOW5Bb3FjZDAxOWpSbTVoMVZwUzRxVk1PSmkxaktJRVl5MUYvUWh3bHZVUTllbXNPbzBUemtnbWpBbmlWRmRZb25KNFlBR2x0TXc2K2p1Y1VtMG1UQU9TRGZVSGRwaEJGUjE3bXd3LzRqZ05iLzRteWFNekdxRGpIYlFwYkJiNUs0U1hTVlJKNVlXekMrSlVUdFIvV0FNeWdOYnlESDc3MWhlY3hSQmdKSjJ2ZTcvYlBFOHhPQlV3ZHdDQ0tHcG5uOElCaDJ4K1hob29xSG85N0kvTWV3THhlQk9NL01VMFRjNDZpZEVXeUtUMXIyMlIveFpJUkk2WUdveEZaME9XWitGUi9WNTZVQW1FMG1DenhZU0ZmeXlZakVEMjZFT2NvOWxpZGlqVmlHNC8rWVVUYzMwRGVySHpIdURzKzFiRDl4TmM1TUp2VTBOUlJZUlAyV0ZVL2kvVk10L0NsbXNFYVZwT3NSU082dFNNa2prQ0ZsclZ4NTltbU1CVE5lR09Bck93V2J1Y3c9PQAAAQCYg5iJwjYTfdLNSRktUEPFR2xAd7O1GdTaA85Z3O0oEopZSdn6zJ1FT0HtrKXSTCAsmikkIszhw5imugDS5bcGHNYYDOxVjs3NXim7vIYESDecRw4/PSvIEGti7EPI2NlQ/bSXFo8xyWsZf55M4CgmLJHMT7Y5YLocAZ7nPUBir6BAviIUsJXDolZcKn3ZoROM0cSODbCgs0ef2Xa2A8o87Xi7z7PgPuBcjB1yGB6TXhM60WB9qt77PlmJ98gwJHeZlFLny1sYSEtT56SyE6d3CdF5IOn3MVNPc24So5SOYhzVByM9sbwXsekoI/o/rOmFO8cG5q/PTDzlGPlg4meG"}}


(Christian Dahlqvist) #2

Which version are you on? Exactly how did you update the license?


(Hubo3085632) #3

es version : 2.3.5
command : curl -XPUT 'http://localhost:9200/_license' -d bo-hu.json


(Christian Dahlqvist) #4

It looks like you have forgot the @ sign ahead of the file name. Try this:

curl -XPUT 'http://localhost:9200/_license' -d @bo-hu.json


(Hubo3085632) #5

It works,thank you,i forgot the @。


(system) #6

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