Voting: 
Vote up!
0 Votes
0 Replies
New

[Kony MobileFabric] Gateway exception occurred

Problem posted by Alan Alencar da Silva on Aug 09, 2017 17:47 EDT

Hi, Hello, I'm getting this error while trying to access any service on KonyMobileFabric: [app.services][ERROR][09 Aug 2017 21:35:13,609]:[]:[WebContainer : 25]:[com.konylabs.middleware.common.XSSFilter:doFilter:105]:GatewayException error occured com.kony.api.gateway.GatewayException: User is unathorized to perform this operation         at com.kony.api.gateway.util.ExceptionUtils.throwGatewayException(ExceptionUtils.java:13) ~[gateway-lib-7.3.0.3.jar:?]         at com.kony.api.gateway.util.ServiceCallHelper.getResponseString(ServiceCallHelper.java:131) ~[gateway-lib-7.3.0.3.jar:?]         at com.kony.api.gateway.util.ServiceCallHelper.getResponse(ServiceCallHelper.java:62) ~[gateway-lib-7.3.0.3.jar:?]         at com.kony.api.gateway.util.ServiceCallHelper.getResponseWithAuthorization(ServiceCallHelper.java:50) ~[gateway-lib-7.3.0.3.jar:?]         at com.kony.api.gateway.util.GatewayTokenValidator.exchangeForOrgToken(GatewayTokenValidator.java:231) ~[gateway-lib-7.3.0.3.jar:?]         at com.kony.api.gateway.util.GatewayTokenValidator.exchangeForOrgToken(GatewayTokenValidator.java:105) ~[gateway-lib-7.3.0.3.jar:?]         at com.kony.api.gateway.util.GatewayTokenValidator.getTokenFromCacheOrExchange(GatewayTokenValidator.java:217) ~[gateway-lib-7.3.0.3.jar:?]         at com.kony.api.gateway.util.GatewayTokenValidator.getAppropriateToken(GatewayTokenValidator.java:173) ~[gateway-lib-7.3.0.3.jar:?]         at com.kony.api.gateway.core.GatewayImpl.hasPermission(GatewayImpl.java:88) ~[gateway-lib-7.3.0.3.jar:?]         at com.konylabs.middleware.mbaas.MBAASGateWayWrapper.isAuthorized(MBAASGateWayWrapper.java:221) ~[middleware-system.jar:?]         at com.konylabs.middleware.request.builder.Authenticator.authorize(Authenticator.java:32) ~[middleware-system.jar:?]         at com.konylabs.middleware.request.builder.IntegrationServiceRequestBuilder.build(IntegrationServiceRequestBuilder.java:48) ~[middleware-system.jar:?]         at com.konylabs.middleware.request.builder.PayloadParserUtil.getRequestDataByParsingPayload(PayloadParserUtil.java:221) ~[middleware-system.jar:?]         at com.konylabs.middleware.common.XSSFilter.doFilter(XSSFilter.java:89) [middleware-system.jar:?]         at com.konylabs.middleware.servlet.filters.KonyFilterChain.doFilter(KonyFilterChain.java:45) [middleware-system.jar:?]         at com.konylabs.middleware.common.AddAdditionalResponseHeaderAttribute.doFilter(AddAdditionalResponseHeaderAttribute.java:110) [middleware-system.jar:?]         at com.konylabs.middleware.servlet.filters.KonyFilterChain.doFilter(KonyFilterChain.java:45) [middleware-system.jar:?]         at com.konylabs.middleware.servlet.filters.KonyCompositeFilter.doFilter(KonyCompositeFilter.java:61) [middleware-system.jar:?]         at com.***.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195) [com.***.ws.webcontainer.jar:?]         at com.***.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91) [com.***.ws.webcontainer.jar:?]         at com.***.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967) [com.***.ws.webcontainer.jar:?]         at com.***.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107) [com.***.ws.webcontainer.jar:?]         at com.***.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3923) [com.***.ws.webcontainer.jar:?]         at com.***.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304) [com.***.ws.webcontainer.jar:?]         at com.***.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:986) [com.***.ws.webcontainer.jar:?]         at com.***.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662) [com.***.ws.webcontainer.jar:?]         at com.***.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200) [com.***.ws.webcontainer.jar:?]         at com.***.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463) [com.***.ws.runtime.jar:?]         at com.***.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530) [com.***.ws.runtime.jar:?]         at com.***.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316) [com.***.ws.runtime.jar:?]         at com.***.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88) [com.***.ws.runtime.jar:?]         at com.***.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175) [com.***.ws.runtime.jar:?]         at com.***.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) [com.***.ws.runtime.jar:?]         at com.***.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) [com.***.ws.runtime.jar:?]         at com.***.io.async.AsyncFuture.completed(AsyncFuture.java:138) [com.***.ws.runtime.jar:?]         at com.***.io.async.ResultHandler.complete(ResultHandler.java:204) [com.***.ws.runtime.jar:?]         at com.***.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775) [com.***.ws.runtime.jar:?]         at com.***.io.async.ResultHandler$2.run(ResultHandler.java:905) [com.***.ws.runtime.jar:?]         at com.***.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881) [com.***.ws.runtime.jar:?] [app.services][ERROR][09 Aug 2017 21:35:13,610]:[]:[WebContainer : 25]:[com.konylabs.middleware.exceptions.ExceptionUtil:getExceptionresult:61]:Gateway exception occurred com.kony.api.gateway.GatewayException: User is unathorized to perform this operation         at com.kony.api.gateway.util.ExceptionUtils.throwGatewayException(ExceptionUtils.java:13) ~[gateway-lib-7.3.0.3.jar:?]         at com.kony.api.gateway.util.ServiceCallHelper.getResponseString(ServiceCallHelper.java:131) ~[gateway-lib-7.3.0.3.jar:?]         at com.kony.api.gateway.util.ServiceCallHelper.getResponse(ServiceCallHelper.java:62) ~[gateway-lib-7.3.0.3.jar:?]         at com.kony.api.gateway.util.ServiceCallHelper.getResponseWithAuthorization(ServiceCallHelper.java:50) ~[gateway-lib-7.3.0.3.jar:?]         at com.kony.api.gateway.util.GatewayTokenValidator.exchangeForOrgToken(GatewayTokenValidator.java:231) ~[gateway-lib-7.3.0.3.jar:?]         at com.kony.api.gateway.util.GatewayTokenValidator.exchangeForOrgToken(GatewayTokenValidator.java:105) ~[gateway-lib-7.3.0.3.jar:?]         at com.kony.api.gateway.util.GatewayTokenValidator.getTokenFromCacheOrExchange(GatewayTokenValidator.java:217) ~[gateway-lib-7.3.0.3.jar:?]         at com.kony.api.gateway.util.GatewayTokenValidator.getAppropriateToken(GatewayTokenValidator.java:173) ~[gateway-lib-7.3.0.3.jar:?]         at com.kony.api.gateway.core.GatewayImpl.hasPermission(GatewayImpl.java:88) ~[gateway-lib-7.3.0.3.jar:?]         at com.konylabs.middleware.mbaas.MBAASGateWayWrapper.isAuthorized(MBAASGateWayWrapper.java:221) ~[middleware-system.jar:?]         at com.konylabs.middleware.request.builder.Authenticator.authorize(Authenticator.java:32) ~[middleware-system.jar:?]         at com.konylabs.middleware.request.builder.IntegrationServiceRequestBuilder.build(IntegrationServiceRequestBuilder.java:48) ~[middleware-system.jar:?]         at com.konylabs.middleware.request.builder.PayloadParserUtil.getRequestDataByParsingPayload(PayloadParserUtil.java:221) ~[middleware-system.jar:?]         at com.konylabs.middleware.common.XSSFilter.doFilter(XSSFilter.java:89) [middleware-system.jar:?]         at com.konylabs.middleware.servlet.filters.KonyFilterChain.doFilter(KonyFilterChain.java:45) [middleware-system.jar:?]