-
Bug
-
Resolution: Done
-
High
-
Dublin Release
-
None
-
None
When I try to open POLICY UI in DUBLIN Portal, it gives the following error in the browser console
Refused to display 'https://portal-app.onap:30225/ONAPPORTAL/login.htm?noUserError=Yes' in a frame because it set 'X-Frame-Options' to 'deny'.
And the logs from pap pod are shown below:
2019-05-10 23:49:55,345 [https-jsse-nio-8443-exec-9] DEBUG com.att.eelf.debug InstanceUUID=8da691c9-987d-43ed-a358-00ac2f35685d RequestId=979f5406-fb64-496c-99e2-c3a4727dd86c LoginId=Unknown AlertSeverity=INFORMATIONAL PROTOCOL=HTTPS PartnerName=Default_FE ServerFQDN=onap-policy-pap-774b997b8-wv8wv ClientIPAddress=10.42.0.1 Full-URL=https://policy.api.simpledemo.onap.org:30219/onap/single_signon.htm?forwardURL=policy%3Fcc%3D1557532139801 ServiceInstanceId= ServerIPAddress=10.42.216.232 ServiceName=/single_signon.htm ClassName=org.onap.portalsdk.core.interceptor.SessionTimeoutInterceptor preHandle: took exception preHandle: user not found in session, redirecting to /onap/single_signon.htm?forwardURL=policy%3Fcc%3D1557532188739
2019-05-10 23:49:55,507 [https-jsse-nio-8443-exec-6] INFO com.att.eelf.debug ClassName=org.onap.portalsdk.core.interceptor.ResourceInterceptor Url - single_signon.htm
2019-05-10 23:49:55,508 [https-jsse-nio-8443-exec-6] INFO com.att.eelf.debug ClassName=org.onap.portalsdk.core.interceptor.ResourceInterceptor lastIndexOf - single_signon.htm
2019-05-10 23:49:55,508 [https-jsse-nio-8443-exec-6] INFO com.att.eelf.debug ClassName=org.onap.portalsdk.core.interceptor.ResourceInterceptor successfully authorized rest call
2019-05-10 23:49:55,512 [https-jsse-nio-8443-exec-6] INFO com.att.eelf.debug ClassName=org.onap.portalsdk.core.service.DataAccessServiceImpl Getting org.onap.portalsdk.core.domain.app records...
2019-05-10 23:49:55,512 [https-jsse-nio-8443-exec-6] INFO com.att.eelf.debug ClassName=org.onap.portalsdk.core.service.DataAccessServiceImpl Filtering org.onap.portalsdk.core.domain.App by: where id = 1
2019-05-10 23:49:55,531 [https-jsse-nio-8443-exec-6] ERROR o.o.p.c.o.c.SessionCommunicationService getSessionSlotCheckInterval failed to read stream
java.io.IOException: Server returned HTTP response code: 401 for URL: https://portal-app:8443/ONAPPORTAL/auxapi/v3/getSessionSlotCheckInterval
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1944)
at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1939)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1938)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1508)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263)
at org.onap.portalsdk.core.onboarding.crossapi.SessionCommunicationService.getSessionSlotCheckInterval(SessionCommunicationService.java:92)
at org.onap.portalsdk.core.onboarding.listener.PortalTimeoutHandler$SessionComm.fetchSessionSlotCheckInterval(PortalTimeoutHandler.java:84)
at org.onap.portalsdk.core.onboarding.listener.PortalTimeoutHandler.synchronizeSessionForLastMinuteRequests(PortalTimeoutHandler.java:349)
at org.onap.portalsdk.core.onboarding.listener.PortalTimeoutHandler.handleSessionUpdatesNative(PortalTimeoutHandler.java:310)
at org.onap.portalsdk.core.interceptor.ResourceInterceptor.handleSessionUpdates(ResourceInterceptor.java:152)
at org.onap.portalsdk.core.interceptor.ResourceInterceptor.preHandle(ResourceInterceptor.java:121)
at org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:134)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:954)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.onap.portalapp.filter.SecurityXssFilter.doFilterInternal(SecurityXssFilter.java:86)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: https://portal-app:8443/ONAPPORTAL/auxapi/v3/getSessionSlotCheckInterval
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347)
at org.onap.portalsdk.core.onboarding.crossapi.SessionCommunicationService.getSessionSlotCheckInterval(SessionCommunicationService.java:85)
... 39 common frames omitted
2019-05-10 23:49:55,532 [https-jsse-nio-8443-exec-6] ERROR o.o.p.c.o.l.PortalTimeoutHandler handleSesionUpdatesNative failed
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:592)
at java.lang.Integer.parseInt(Integer.java:615)
at org.onap.portalsdk.core.onboarding.listener.PortalTimeoutHandler$SessionComm.fetchSessionSlotCheckInterval(PortalTimeoutHandler.java:88)
at org.onap.portalsdk.core.onboarding.listener.PortalTimeoutHandler.synchronizeSessionForLastMinuteRequests(PortalTimeoutHandler.java:349)
at org.onap.portalsdk.core.onboarding.listener.PortalTimeoutHandler.handleSessionUpdatesNative(PortalTimeoutHandler.java:310)
at org.onap.portalsdk.core.interceptor.ResourceInterceptor.handleSessionUpdates(ResourceInterceptor.java:152)
at org.onap.portalsdk.core.interceptor.ResourceInterceptor.preHandle(ResourceInterceptor.java:121)
at org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:134)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:954)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.onap.portalapp.filter.SecurityXssFilter.doFilterInternal(SecurityXssFilter.java:86)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
2019-05-10 23:49:55,532 [https-jsse-nio-8443-exec-6] INFO com.att.eelf.debug ClassName=org.onap.portalsdk.core.interceptor.ResourceInterceptor handled session updates for synchronization
2019-05-10 23:49:55,536 [https-jsse-nio-8443-exec-6] DEBUG com.att.eelf.debug ClassName=org.onap.portalsdk.core.web.support.UserUtils InstanceUUID=8da691c9-987d-43ed-a358-00ac2f35685d ServiceInstanceId= ServerFQDN=onap-policy-pap-774b997b8-wv8wv ServerIPAddress=10.42.216.232 AlertSeverity=INFORMATIONAL getRequestId: result is ebd4276e-08ed-4b3d-95e6-0cf4f20fbff3
2019-05-10 23:49:55,539 [https-jsse-nio-8443-exec-6] DEBUG com.att.eelf.debug InstanceUUID=8da691c9-987d-43ed-a358-00ac2f35685d RequestId=ebd4276e-08ed-4b3d-95e6-0cf4f20fbff3 LoginId=Unknown AlertSeverity=INFORMATIONAL PROTOCOL=HTTPS PartnerName=Default_FE ServerFQDN=onap-policy-pap-774b997b8-wv8wv ClientIPAddress=10.42.0.1 Full-URL=https://policy.api.simpledemo.onap.org:30219/onap/single_signon.htm?forwardURL=policy%3Fcc%3D1557532188739 ServiceInstanceId= ServerIPAddress=10.42.216.232 ServiceName=/single_signon.htm ClassName=org.onap.portalapp.login.LoginStrategyImpl getUserIdFromCookie: decrypted as demo
2019-05-10 23:49:55,541 [https-jsse-nio-8443-exec-6] INFO com.att.eelf.debug InstanceUUID=8da691c9-987d-43ed-a358-00ac2f35685d RequestId=ebd4276e-08ed-4b3d-95e6-0cf4f20fbff3 LoginId=Unknown AlertSeverity=INFORMATIONAL PROTOCOL=HTTPS PartnerName=Default_FE ServerFQDN=onap-policy-pap-774b997b8-wv8wv ClientIPAddress=10.42.0.1 Full-URL=https://policy.api.simpledemo.onap.org:30219/onap/single_signon.htm?forwardURL=policy%3Fcc%3D1557532188739 ServiceInstanceId= ServerIPAddress=10.42.216.232 ServiceName=/single_signon.htm ClassName=org.onap.portalsdk.core.service.RestApiRequestBuilder getViaRest: endpoint /v3/user/demo
2019-05-10 23:49:55,542 [https-jsse-nio-8443-exec-6] INFO com.att.eelf.debug InstanceUUID=8da691c9-987d-43ed-a358-00ac2f35685d RequestId=ebd4276e-08ed-4b3d-95e6-0cf4f20fbff3 LoginId=Unknown AlertSeverity=INFORMATIONAL PROTOCOL=HTTPS PartnerName=Default_FE ServerFQDN=onap-policy-pap-774b997b8-wv8wv ClientIPAddress=10.42.0.1 Full-URL=https://policy.api.simpledemo.onap.org:30219/onap/single_signon.htm?forwardURL=policy%3Fcc%3D1557532188739 ServiceInstanceId= ServerIPAddress=10.42.216.232 ServiceName=/single_signon.htm ClassName=org.onap.portalsdk.core.service.DataAccessServiceImpl Getting org.onap.portalsdk.core.domain.App record for id - 1
2019-05-10 23:49:55,682 [https-jsse-nio-8443-exec-6] INFO com.att.eelf.debug InstanceUUID=8da691c9-987d-43ed-a358-00ac2f35685d RequestId=ebd4276e-08ed-4b3d-95e6-0cf4f20fbff3 LoginId=Unknown AlertSeverity=INFORMATIONAL PROTOCOL=HTTPS PartnerName=Default_FE ServerFQDN=onap-policy-pap-774b997b8-wv8wv ClientIPAddress=10.42.0.1 Full-URL=https://policy.api.simpledemo.onap.org:30219/onap/single_signon.htm?forwardURL=policy%3Fcc%3D1557532188739 ServiceInstanceId= ServerIPAddress=10.42.216.232 ServiceName=/single_signon.htm ClassName=org.onap.portalsdk.core.service.RestApiRequestBuilder getViaRest: endpoint /v3/functions
2019-05-10 23:49:55,683 [https-jsse-nio-8443-exec-6] INFO com.att.eelf.debug InstanceUUID=8da691c9-987d-43ed-a358-00ac2f35685d RequestId=ebd4276e-08ed-4b3d-95e6-0cf4f20fbff3 LoginId=Unknown AlertSeverity=INFORMATIONAL PROTOCOL=HTTPS PartnerName=Default_FE ServerFQDN=onap-policy-pap-774b997b8-wv8wv ClientIPAddress=10.42.0.1 Full-URL=https://policy.api.simpledemo.onap.org:30219/onap/single_signon.htm?forwardURL=policy%3Fcc%3D1557532188739 ServiceInstanceId= ServerIPAddress=10.42.216.232 ServiceName=/single_signon.htm ClassName=org.onap.portalsdk.core.service.DataAccessServiceImpl Getting org.onap.portalsdk.core.domain.App record for id - 1
2019-05-10 23:49:55,914 [https-jsse-nio-8443-exec-6] DEBUG com.att.eelf.debug InstanceUUID=8da691c9-987d-43ed-a358-00ac2f35685d RequestId=ebd4276e-08ed-4b3d-95e6-0cf4f20fbff3 LoginId=Unknown AlertSeverity=INFORMATIONAL PROTOCOL=HTTPS PartnerName=Default_FE ServerFQDN=onap-policy-pap-774b997b8-wv8wv ClientIPAddress=10.42.0.1 Full-URL=https://policy.api.simpledemo.onap.org:30219/onap/single_signon.htm?forwardURL=policy%3Fcc%3D1557532188739 ServiceInstanceId= ServerIPAddress=10.42.216.232 ServiceName=/single_signon.htm ClassName=org.onap.portalapp.controller.core.SingleSignOnController singleSignOnLogin: user is null, redirect URL is https://portal-app.onap:30225/ONAPPORTAL/login.htm?noUserError=Yes
- mentioned in
-
Page Loading...