Actions
None #8584
openFunctionalities are not working after changing admin's password in devicemgt old UI
Status:
New
Priority:
None
Assignee:
-
Category:
-
Start date:
26/06/2020
Due date:
% Done:
0%
Estimated time:
0:00 h
CallRef:
Description
From Gitlab
            ------------------------
            gitlabId   --> 585  https://gitlab.com/entgra/product-iots/-/issues/585
            labels     -->  
            assignees  -->  
            created_at --> 2020-06-26 14:29:37 IST +0530
            updated_at --> 2020-06-27 10:01:49 IST +0530
            ------------------------
- Description
 After changing admin's user password and login using new password, functionalities are not working and data also disappeared.
- Error log
 [2020-06-26 13:51:40,739] [IoT-Core] ERROR - {org.wso2.carbon.apimgt.gateway.handlers.security.APIAuthenticationHandler} API authentication failure due to Unclassified Authentication Failure
 org.wso2.carbon.apimgt.gateway.handlers.security.APISecurityException: Error while accessing backend services for API key validation
 at org.wso2.carbon.apimgt.gateway.handlers.security.keys.WSAPIKeyDataStore.getAllURITemplates(WSAPIKeyDataStore.java:77)
 at org.wso2.carbon.apimgt.gateway.handlers.security.APIKeyValidator.getAllURITemplates(APIKeyValidator.java:791)
 at org.wso2.carbon.apimgt.gateway.handlers.security.APIKeyValidator.doGetAPIInfo(APIKeyValidator.java:639)
 at org.wso2.carbon.apimgt.gateway.handlers.security.APIKeyValidator.findMatchingVerb(APIKeyValidator.java:573)
 at org.wso2.carbon.apimgt.gateway.handlers.security.APIKeyValidator.getResourceAuthenticationScheme(APIKeyValidator.java:357)
 at org.wso2.carbon.apimgt.gateway.handlers.security.oauth.OAuthAuthenticator.authenticate(OAuthAuthenticator.java:127)
 at org.wso2.carbon.apimgt.gateway.handlers.security.APIAuthenticationHandler.isAuthenticate(APIAuthenticationHandler.java:210)
 at org.wso2.carbon.apimgt.gateway.handlers.security.APIAuthenticationHandler.handleRequest(APIAuthenticationHandler.java:158)
 at org.apache.synapse.rest.API.process(API.java:325)
 at org.apache.synapse.rest.RESTRequestHandler.dispatchToAPI(RESTRequestHandler.java:90)
 at org.apache.synapse.rest.RESTRequestHandler.process(RESTRequestHandler.java:69)
 at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:303)
 at org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:92)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
 at org.apache.synapse.transport.passthru.ServerWorker.processNonEntityEnclosingRESTHandler(ServerWorker.java:337)
 at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:158)
 at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at java.lang.Thread.run(Thread.java:748)
 Caused by: org.wso2.carbon.apimgt.gateway.handlers.security.APISecurityException: Error while accessing backend services for API key validation
 at org.wso2.carbon.apimgt.gateway.handlers.security.keys.APIKeyValidatorClient.getAllURITemplates(APIKeyValidatorClient.java:190)
 at org.wso2.carbon.apimgt.gateway.handlers.security.keys.WSAPIKeyDataStore.getAllURITemplates(WSAPIKeyDataStore.java:75)
 ... 19 more
 Caused by: org.apache.axis2.AxisFault: Access Denied. Authentication failed - Invalid credentials provided.
 at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
 at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:381)
 at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:456)
 at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:227)
 at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at org.wso2.carbon.apimgt.keymgt.stub.validator.APIKeyValidationServiceStub.getAllURITemplates(APIKeyValidationServiceStub.java:237)
 at org.wso2.carbon.apimgt.gateway.handlers.security.keys.APIKeyValidatorClient.getAllURITemplates(APIKeyValidatorClient.java:174)
 ... 20 more
- Affected Product Version:
 entgra-iot-ultimate-4.0.1-SNAPSHOT
- Steps to reproduce:
 1. visit https://localhost:9443/devicemgt
 2. Select a Change Password
 3. Click on "change" button after filling required fields.
 4. Logout
 5. Login using new password
Actions