ECS: Unable to store new license: An error occurred in the API service: Hit an exception while storing license
Summary: ECS: Unable to store new license: An error occurred in the API service: Hit an exception while storing license
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
While storing a new license to ECS system, the system shows the following error message:
Error 999 (http: 500): An unexpected error occurred, please check the ECS logs for more information. An error occurred in the API service. Cause: Hit an exception while storing license.
Cause
The license file is invalid / corrupted.
From the logs:
From the logs:
169.254.1.3 ecsportalsvc.log 2019-05-28 11:58:45,193 [play-thread-2] INFO LoggingFilter.java (line 120) 9080 < 500 took 119 ms <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><code>999</code><description>An unexpected error occurred, please check the ECS logs for more information</description><details>An error occurred in the API service. Cause: Hit an exception while storing license.</details><retryable>false</retryable></error> 169.254.1.3 ecsportalsvc.log 2019-05-28 11:58:45,196 [play-thread-2] ERROR Logger.java (line 608) Error 999 (http: 500): An unexpected error occurred, please check the ECS logs for more information. An error occurred in the API service. Cause: Hit an exception while storing license. com.emc.ecs.client.exceptions.ServiceErrorException: Error 999 (http: 500): An unexpected error occurred, please check the ECS logs for more information. An error occurred in the API service. Cause: Hit an exception while storing license. at com.emc.ecs.client.impl.jersey.ExceptionOnErrorFilter.handle(ExceptionOnErrorFilter.java:39) at com.emc.ecs.client.impl.jersey.ProxyTokenFilter.handle(ProxyTokenFilter.java:23) at com.emc.ecs.client.impl.jersey.AuthTokenFilter.handle(AuthTokenFilter.java:30) at com.sun.jersey.api.client.Client.handle(Client.java:648) at com.sun.jersey.api.client.WebResource.handle(WebResource.java:680) at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:568) at com.emc.ecs.client.impl.RestClient.post(RestClient.java:184) at com.emc.ecs.client.provision.Licensing.set(Licensing.java:40) at controllers.settings.LicensingController.upload(LicensingController.java:115) at play.mvc.ActionInvoker.invokeWithContinuation(ActionInvoker.java:539) at play.mvc.ActionInvoker.invoke(ActionInvoker.java:476) at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:470) at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:437) at play.mvc.ActionInvoker.invoke(ActionInvoker.java:160) at Invocation.HTTP Request(Play!) 169.254.1.3 objcontrolsvc.log 2019-05-28T11:58:01,563 [qtp962769430-262931-0a64fe16:1699b54407a:ed4a:3c] INFO RequestAuditFilter.java (line 61) Request: GET - https://localhost:4443/license - empty-query from 127.0.0.1 169.254.1.3 objcontrolsvc.log 2019-05-28T11:58:01,569 [qtp962769430-262931-0a64fe16:1699b54407a:ed4a:3c] INFO LicensingService.java (line 98) Received GET /license request 169.254.1.3 objcontrolsvc.log 2019-05-28T11:58:23,052 [qtp962769430-262983-0a64fe16:1699b54407a:edcf:22] INFO RequestAuditFilter.java (line 61) Request: GET - https://localhost:4443/license - empty-query from 127.0.0.1 169.254.1.3 objcontrolsvc.log 2019-05-28T11:58:23,059 [qtp962769430-262983-0a64fe16:1699b54407a:edcf:22] INFO LicensingService.java (line 98) Received GET /license request 169.254.1.3 objcontrolsvc.log 2019-05-28T11:58:23,368 [qtp962769430-262981-0a64fe16:1699b54407a:ed4d:2a] INFO RequestAuditFilter.java (line 61) Request: GET - https://localhost:4443/license - empty-query from 127.0.0.1 169.254.1.3 objcontrolsvc.log 2019-05-28T11:58:23,375 [qtp962769430-262981-0a64fe16:1699b54407a:ed4d:2a] INFO LicensingService.java (line 98) Received GET /license request 169.254.1.3 objcontrolsvc.log 2019-05-28T11:58:45,090 [qtp962769430-262933-0a64fe16:1699b54407a:ee1b:a] INFO RequestAuditFilter.java (line 61) Request: POST - https://localhost:4443/license - empty-query from 127.0.0.1 169.254.1.3 objcontrolsvc.log 2019-05-28T11:58:45,101 [qtp962769430-262933-0a64fe16:1699b54407a:ee1b:a] INFO LicensingService.java (line 158) Received POST /license request 169.254.1.3 objcontrolsvc.log 2019-05-28T11:58:45,183 [qtp962769430-262933-0a64fe16:1699b54407a:ee1b:a] ERROR LicenseAPIServer.java (line 46) failed to add new license ELM License Exception: Retrieving list of licenses failed.
Resolution
The license file is invalid / corrupted.
Please contact eServices and ask to issue a new license. The new license can be added properly.
Open a Service Request with Dell EMC eServices via support.emc.com
The error message will be enhanced to show the cause of the issue in a future release of the ECS software.
Please contact eServices and ask to issue a new license. The new license can be added properly.
Open a Service Request with Dell EMC eServices via support.emc.com
The error message will be enhanced to show the cause of the issue in a future release of the ECS software.
Affected Products
ECS ApplianceProducts
ECS Appliance, ECS Appliance Hardware Gen2 U-SeriesArticle Properties
Article Number: 000056950
Article Type: Solution
Last Modified: 02 Sept 2022
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.