Hi Manu & Darshana, Thank you so much for your help. Now we fixed it with manu's guidelines.
On Sun, Oct 4, 2015 at 7:06 PM, Manuranga Perera <[email protected]> wrote: > it is taking from server's local IP. please use host name instead > > var CarbonUtils = Packages.org.wso2.carbon.utils.CarbonUtils; > var localHost = > CarbonUtils.getServerConfiguration().getFirstProperty("HostName"); > > On Sun, Oct 4, 2015 at 7:05 PM, Darshana Gunawardana <[email protected]> > wrote: > >> Hi Charitha, >> >> Have you log the URL as manu requested? ie. what is the value of " >> carbonHttpsServletTransport"? >> >> Thanks, >> >> On Sun, Oct 4, 2015 at 6:59 PM, Charitha Goonetilleke <[email protected] >> > wrote: >> >>> Hi Manu, >>> >>> This[1] is the file which you are requested. Btw, please note that we >>> are still didn't complete re-factoring properly. So code contains both OSGi >>> calls and JAX-RS calls inside. We are moving all device-management related >>> services to JAX-RS as a design requirement. >>> >>> [1] >>> https://github.com/wso2-incubator/device-cloud/blob/build-pack/features/iotserver-feature/org.wso2.carbon.device.mgt.iot.feature/src/main/resources/jaggeryapps/store/extensions/app/store-device-type/modules/device.js >>> >>> >>> >>> On Sun, Oct 4, 2015 at 6:42 PM, Manuranga Perera <[email protected]> wrote: >>> >>>> Hi Charitha, >>>> can you share me the repo location for >>>> /store/extensions/app/store-device-type/modules/device.js:310 >>>> any way you must be doing a back-end http call from that code line, >>>> please log the URL. currently it should be an IP. where is it coming from? >>>> try changing that to localhost. >>>> >>>> On Sun, Oct 4, 2015 at 3:04 PM, Charitha Goonetilleke < >>>> [email protected]> wrote: >>>> >>>>> Hi Darshana, >>>>> >>>>> +Adding Manu to the conversation >>>>> >>>>> Thanks for the suggestion. I have changed hostname and mgthostname in >>>>> carbon.xml to localhost as you suggested and, checked certificate CN. CN >>>>> is >>>>> showing as localhost. This time mgt console url appeared as >>>>> https://localhost:9443/carbon/. But when I tried to access store >>>>> extension page/api, it showing the same error as previous. And saying "SSL >>>>> peer failed hostname validation for name: 192.168.122.1" As I understood, >>>>> that issue only affected to store extensions only. It won't affected to >>>>> others like, publisher, other store pages and apis except store >>>>> extensions. >>>>> >>>>> On Sun, Oct 4, 2015 at 2:37 PM, Darshana Gunawardana < >>>>> [email protected]> wrote: >>>>> >>>>>> Hi Charitha, >>>>>> >>>>>> Quoting [1], >>>>>> "A host name verifier ensures the host name in the URL to which the >>>>>> client connects matches the host name in the digital certificate that the >>>>>> server sends back as part of the SSL connection" >>>>>> >>>>>> Here its checking, >>>>>> a: host name in the URL \ endpoint you invoke : "192.168.122.1" >>>>>> b: host name in the digital certificate of the server : refer [2]; if >>>>>> this is a carbon server, localhost is the default value of the >>>>>> certificate >>>>>> host name >>>>>> and those does not match in your case. >>>>>> >>>>>> So in the code it seems using IP to invoke some endpoint (a). >>>>>> >>>>>> Probably setting hostname\mgthostname (to localhost?) of the >>>>>> carbon.xml would change the endpoint invoke by code. Here we change a to >>>>>> make it same as b. >>>>>> >>>>>> Set other configs(sso-idp-config.xml) to use hostname, and retry. >>>>>> Hopefully now you would not get above issue. >>>>>> >>>>>> [1] >>>>>> http://docs.oracle.com/cd/E13222_01/wls/docs100/ConsoleHelp/taskhelp/security/VerifyHostNameVerification.html >>>>>> >>>>>> [2] Follow : https://support.google.com/chrome/answer/95617?hl=en >>>>>> Goto Connection tab, click on Certificate Information, Check >>>>>> the value of CN >>>>>> >>>>>> Thanks, >>>>>> Darshana >>>>>> >>>>>> On Sun, Oct 4, 2015 at 1:55 PM, Charitha Goonetilleke < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Hi all, >>>>>>> >>>>>>> I'm working on IoTServer product development and using >>>>>>> IS authenticationendpoint for SSO. This is the sso-idp-config.xml I >>>>>>> used. >>>>>>> >>>>>>> <SSOIdentityProviderConfig> >>>>>>> <TenantRegistrationPage> >>>>>>> https://stratos-local.wso2.com/carbon/tenant-register/select_domain.jsp >>>>>>> </TenantRegistrationPage> >>>>>>> <ServiceProviders> >>>>>>> <ServiceProvider> >>>>>>> <Issuer>store</Issuer> >>>>>>> >>>>>>> <AssertionConsumerServiceURLs><AssertionConsumerServiceURL> >>>>>>> https://localhost:9443/store/acs >>>>>>> </AssertionConsumerServiceURL></AssertionConsumerServiceURLs> >>>>>>> <DefaultAssertionConsumerServiceURL> >>>>>>> https://localhost:9443/store/acs >>>>>>> </DefaultAssertionConsumerServiceURL> >>>>>>> <SignResponse>true</SignResponse> >>>>>>> <CustomLoginPage>/store/login.jag</CustomLoginPage> >>>>>>> </ServiceProvider> >>>>>>> <ServiceProvider> >>>>>>> <Issuer>social</Issuer> >>>>>>> >>>>>>> <AssertionConsumerServiceURLs><AssertionConsumerServiceURL> >>>>>>> https://localhost:9443/social/acs >>>>>>> </AssertionConsumerServiceURL></AssertionConsumerServiceURLs> >>>>>>> <DefaultAssertionConsumerServiceURL> >>>>>>> https://localhost:9443/social/acs >>>>>>> </DefaultAssertionConsumerServiceURL> >>>>>>> <AssertionConsumerService> >>>>>>> https://localhost:9443/social/acs</AssertionConsumerService> >>>>>>> <SignResponse>true</SignResponse> >>>>>>> <CustomLoginPage>/social/login</CustomLoginPage> >>>>>>> </ServiceProvider> >>>>>>> <ServiceProvider> >>>>>>> <Issuer>publisher</Issuer> >>>>>>> >>>>>>> <AssertionConsumerServiceURLs><AssertionConsumerServiceURL> >>>>>>> https://localhost:9443/publisher/acs >>>>>>> </AssertionConsumerServiceURL></AssertionConsumerServiceURLs> >>>>>>> <DefaultAssertionConsumerServiceURL> >>>>>>> https://localhost:9443/publisher/acs >>>>>>> </DefaultAssertionConsumerServiceURL> >>>>>>> <AssertionConsumerService> >>>>>>> https://localhost:9443/publisher/acs</AssertionConsumerService> >>>>>>> <SignResponse>true</SignResponse> >>>>>>> >>>>>>> <CustomLoginPage>/publisher/controllers/login.jag</CustomLoginPage> >>>>>>> </ServiceProvider> >>>>>>> </ServiceProviders> >>>>>>> </SSOIdentityProviderConfig> >>>>>>> >>>>>>> >>>>>>> I can login in to store in IoTServer without any issue, but when I >>>>>>> tried to access extension pages, which secured, following exception >>>>>>> occurred. In my laptop, I have virtual network adapter which has >>>>>>> 192.168.122.1 as IP address. Usually, carbon server always stating with >>>>>>> binned to that address and other products functioning without any issue >>>>>>> with it. Also same issue is occurred to Ayyoob and Raskia, even they >>>>>>> don't >>>>>>> have such virtual IP. And they have faced this issue with their WLAN IP. >>>>>>> >>>>>>> >>>>>>> [2015-10-04 13:41:48,852] ERROR >>>>>>> {org.jaggeryjs.hostobjects.xhr.XMLHttpRequestHostObject} - SSL peer >>>>>>> failed >>>>>>> hostname validation for name: 192.168.122.1 >>>>>>> javax.net.ssl.SSLPeerUnverifiedException: SSL peer failed hostname >>>>>>> validation for name: 192.168.122.1 >>>>>>> at >>>>>>> org.opensaml.ws.soap.client.http.TLSProtocolSocketFactory.verifyHostname(TLSProtocolSocketFactory.java:233) >>>>>>> at >>>>>>> org.opensaml.ws.soap.client.http.TLSProtocolSocketFactory.createSocket(TLSProtocolSocketFactory.java:186) >>>>>>> at >>>>>>> org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) >>>>>>> at >>>>>>> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) >>>>>>> at >>>>>>> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) >>>>>>> at >>>>>>> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) >>>>>>> at >>>>>>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) >>>>>>> at >>>>>>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) >>>>>>> at >>>>>>> org.jaggeryjs.hostobjects.xhr.XMLHttpRequestHostObject.executeRequest(XMLHttpRequestHostObject.java:538) >>>>>>> at >>>>>>> org.jaggeryjs.hostobjects.xhr.XMLHttpRequestHostObject.send(XMLHttpRequestHostObject.java:532) >>>>>>> at >>>>>>> org.jaggeryjs.hostobjects.xhr.XMLHttpRequestHostObject.jsFunction_send(XMLHttpRequestHostObject.java:284) >>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>>>>> at >>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>>>>>> at >>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>>>>> at java.lang.reflect.Method.invoke(Method.java:606) >>>>>>> at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126) >>>>>>> at >>>>>>> org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386) >>>>>>> at >>>>>>> org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.<<http>>.META_INF.scripts.c0._c_anonymous_5(<<http>>/META-INF/scripts/http.js:220) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.<<http>>.META_INF.scripts.c0.call(<<http>>/META-INF/scripts/http.js) >>>>>>> at >>>>>>> org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.<<http>>.META_INF.scripts.c0._c_anonymous_7(<<http>>/META-INF/scripts/http.js:228) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.<<http>>.META_INF.scripts.c0.call(<<http>>/META-INF/scripts/http.js) >>>>>>> at >>>>>>> org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.extensions.app.store_device_type.modules.c0._c_anonymous_15(/store/extensions/app/store-device-type/modules/device.js:310) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.extensions.app.store_device_type.modules.c0.call(/store/extensions/app/store-device-type/modules/device.js) >>>>>>> at >>>>>>> org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.extensions.app.store_device_type.modules.c0._c_anonymous_17(/store/extensions/app/store-device-type/modules/device.js:334) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.extensions.app.store_device_type.modules.c0.call(/store/extensions/app/store-device-type/modules/device.js) >>>>>>> at >>>>>>> org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.extensions.app.store_device_type.pages.c0._c_anonymous_1(/store/extensions/app/store-device-type/pages/dashboard.jag:31) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.extensions.app.store_device_type.pages.c0.call(/store/extensions/app/store-device-type/pages/dashboard.jag) >>>>>>> at >>>>>>> org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2430) >>>>>>> at >>>>>>> org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:269) >>>>>>> at >>>>>>> org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:97) >>>>>>> at >>>>>>> org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.modules.c1._c_anonymous_60(/store/modules/store.js:978) >>>>>>> at org.jaggeryjs.rhino.store.modules.c1.call(/store/modules/store.js) >>>>>>> at >>>>>>> org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.<store>.scripts.c0._c_anonymous_18(<store>/scripts/server.js:318) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.<store>.scripts.c0.call(<store>/scripts/server.js) >>>>>>> at >>>>>>> org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.modules.c1._c_anonymous_59(/store/modules/store.js:972) >>>>>>> at org.jaggeryjs.rhino.store.modules.c1.call(/store/modules/store.js) >>>>>>> at >>>>>>> org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.extensions.app.store_device_type.pages.c0._c_script_0(/store/extensions/app/store-device-type/pages/dashboard.jag:21) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.extensions.app.store_device_type.pages.c0.call(/store/extensions/app/store-device-type/pages/dashboard.jag) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.extensions.app.store_device_type.pages.c0.exec(/store/extensions/app/store-device-type/pages/dashboard.jag) >>>>>>> at >>>>>>> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567) >>>>>>> at >>>>>>> org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273) >>>>>>> at >>>>>>> org.jaggeryjs.jaggery.core.manager.WebAppManager.executeScript(WebAppManager.java:308) >>>>>>> at >>>>>>> org.jaggeryjs.jaggery.core.manager.WebAppManager.include(WebAppManager.java:148) >>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>>>>> at >>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>>>>>> at >>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>>>>> at java.lang.reflect.Method.invoke(Method.java:606) >>>>>>> at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126) >>>>>>> at >>>>>>> org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386) >>>>>>> at >>>>>>> org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.controllers.c4._c_script_0(/store/controllers/pages-router.jag:64) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.controllers.c4.call(/store/controllers/pages-router.jag) >>>>>>> at >>>>>>> org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394) >>>>>>> at >>>>>>> org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.controllers.c4.call(/store/controllers/pages-router.jag) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.controllers.c4.exec(/store/controllers/pages-router.jag) >>>>>>> at >>>>>>> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567) >>>>>>> at >>>>>>> org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273) >>>>>>> at >>>>>>> org.jaggeryjs.jaggery.core.manager.WebAppManager.exec(WebAppManager.java:587) >>>>>>> at >>>>>>> org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:507) >>>>>>> at >>>>>>> org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24) >>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) >>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:378) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338) >>>>>>> at >>>>>>> org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >>>>>>> at >>>>>>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) >>>>>>> at >>>>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) >>>>>>> at >>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) >>>>>>> at >>>>>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99) >>>>>>> at >>>>>>> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47) >>>>>>> at >>>>>>> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:57) >>>>>>> at >>>>>>> org.wso2.carbon.webapp.authenticator.framework.WebappAuthenticationHandler.invoke(WebappAuthenticationHandler.java:43) >>>>>>> at >>>>>>> org.wso2.carbon.event.receiver.core.internal.tenantmgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:48) >>>>>>> at >>>>>>> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47) >>>>>>> at >>>>>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62) >>>>>>> at >>>>>>> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159) >>>>>>> at >>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) >>>>>>> at >>>>>>> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) >>>>>>> at >>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) >>>>>>> at >>>>>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074) >>>>>>> at >>>>>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) >>>>>>> at >>>>>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1739) >>>>>>> at >>>>>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1698) >>>>>>> at >>>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >>>>>>> at >>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>>>>>> at >>>>>>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) >>>>>>> at java.lang.Thread.run(Thread.java:745) >>>>>>> [2015-10-04 13:41:48,858] ERROR >>>>>>> {org.jaggeryjs.jaggery.core.manager.WebAppManager} - >>>>>>> org.mozilla.javascript.WrappedException: Wrapped >>>>>>> org.jaggeryjs.scriptengine.exceptions.ScriptException: >>>>>>> org.mozilla.javascript.WrappedException: Wrapped >>>>>>> org.jaggeryjs.scriptengine.exceptions.ScriptException: >>>>>>> javax.net.ssl.SSLPeerUnverifiedException: SSL peer failed hostname >>>>>>> validation for name: 192.168.122.1 >>>>>>> (<<http>>/META-INF/scripts/http.js#220) >>>>>>> (/store/controllers/pages-router.jag#64) >>>>>>> org.jaggeryjs.scriptengine.exceptions.ScriptException: >>>>>>> org.mozilla.javascript.WrappedException: Wrapped >>>>>>> org.jaggeryjs.scriptengine.exceptions.ScriptException: >>>>>>> org.mozilla.javascript.WrappedException: Wrapped >>>>>>> org.jaggeryjs.scriptengine.exceptions.ScriptException: >>>>>>> javax.net.ssl.SSLPeerUnverifiedException: SSL peer failed hostname >>>>>>> validation for name: 192.168.122.1 >>>>>>> (<<http>>/META-INF/scripts/http.js#220) >>>>>>> (/store/controllers/pages-router.jag#64) >>>>>>> at >>>>>>> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571) >>>>>>> at >>>>>>> org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273) >>>>>>> at >>>>>>> org.jaggeryjs.jaggery.core.manager.WebAppManager.exec(WebAppManager.java:587) >>>>>>> at >>>>>>> org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:507) >>>>>>> at >>>>>>> org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24) >>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) >>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:378) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338) >>>>>>> at >>>>>>> org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >>>>>>> at >>>>>>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) >>>>>>> at >>>>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) >>>>>>> at >>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) >>>>>>> at >>>>>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99) >>>>>>> at >>>>>>> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47) >>>>>>> at >>>>>>> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:57) >>>>>>> at >>>>>>> org.wso2.carbon.webapp.authenticator.framework.WebappAuthenticationHandler.invoke(WebappAuthenticationHandler.java:43) >>>>>>> at >>>>>>> org.wso2.carbon.event.receiver.core.internal.tenantmgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:48) >>>>>>> at >>>>>>> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47) >>>>>>> at >>>>>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62) >>>>>>> at >>>>>>> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159) >>>>>>> at >>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) >>>>>>> at >>>>>>> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) >>>>>>> at >>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) >>>>>>> at >>>>>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074) >>>>>>> at >>>>>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) >>>>>>> at >>>>>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1739) >>>>>>> at >>>>>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1698) >>>>>>> at >>>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >>>>>>> at >>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>>>>>> at >>>>>>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) >>>>>>> at java.lang.Thread.run(Thread.java:745) >>>>>>> Caused by: org.mozilla.javascript.WrappedException: Wrapped >>>>>>> org.jaggeryjs.scriptengine.exceptions.ScriptException: >>>>>>> org.mozilla.javascript.WrappedException: Wrapped >>>>>>> org.jaggeryjs.scriptengine.exceptions.ScriptException: >>>>>>> javax.net.ssl.SSLPeerUnverifiedException: SSL peer failed hostname >>>>>>> validation for name: 192.168.122.1 >>>>>>> (<<http>>/META-INF/scripts/http.js#220) >>>>>>> (/store/controllers/pages-router.jag#64) >>>>>>> at >>>>>>> org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754) >>>>>>> at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148) >>>>>>> at >>>>>>> org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386) >>>>>>> at >>>>>>> org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.controllers.c4._c_script_0(/store/controllers/pages-router.jag:64) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.controllers.c4.call(/store/controllers/pages-router.jag) >>>>>>> at >>>>>>> org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394) >>>>>>> at >>>>>>> org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.controllers.c4.call(/store/controllers/pages-router.jag) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.controllers.c4.exec(/store/controllers/pages-router.jag) >>>>>>> at >>>>>>> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567) >>>>>>> ... 43 more >>>>>>> Caused by: org.jaggeryjs.scriptengine.exceptions.ScriptException: >>>>>>> org.mozilla.javascript.WrappedException: Wrapped >>>>>>> org.jaggeryjs.scriptengine.exceptions.ScriptException: >>>>>>> javax.net.ssl.SSLPeerUnverifiedException: SSL peer failed hostname >>>>>>> validation for name: 192.168.122.1 >>>>>>> (<<http>>/META-INF/scripts/http.js#220) >>>>>>> at >>>>>>> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571) >>>>>>> at >>>>>>> org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273) >>>>>>> at >>>>>>> org.jaggeryjs.jaggery.core.manager.WebAppManager.executeScript(WebAppManager.java:308) >>>>>>> at >>>>>>> org.jaggeryjs.jaggery.core.manager.WebAppManager.include(WebAppManager.java:148) >>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>>>>> at >>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>>>>>> at >>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>>>>> at java.lang.reflect.Method.invoke(Method.java:606) >>>>>>> at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126) >>>>>>> ... 52 more >>>>>>> Caused by: org.mozilla.javascript.WrappedException: Wrapped >>>>>>> org.jaggeryjs.scriptengine.exceptions.ScriptException: >>>>>>> javax.net.ssl.SSLPeerUnverifiedException: SSL peer failed hostname >>>>>>> validation for name: 192.168.122.1 >>>>>>> (<<http>>/META-INF/scripts/http.js#220) >>>>>>> at >>>>>>> org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754) >>>>>>> at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148) >>>>>>> at >>>>>>> org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386) >>>>>>> at >>>>>>> org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.<<http>>.META_INF.scripts.c0._c_anonymous_5(<<http>>/META-INF/scripts/http.js:220) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.<<http>>.META_INF.scripts.c0.call(<<http>>/META-INF/scripts/http.js) >>>>>>> at >>>>>>> org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.<<http>>.META_INF.scripts.c0._c_anonymous_7(<<http>>/META-INF/scripts/http.js:228) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.<<http>>.META_INF.scripts.c0.call(<<http>>/META-INF/scripts/http.js) >>>>>>> at >>>>>>> org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.extensions.app.store_device_type.modules.c0._c_anonymous_15(/store/extensions/app/store-device-type/modules/device.js:310) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.extensions.app.store_device_type.modules.c0.call(/store/extensions/app/store-device-type/modules/device.js) >>>>>>> at >>>>>>> org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.extensions.app.store_device_type.modules.c0._c_anonymous_17(/store/extensions/app/store-device-type/modules/device.js:334) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.extensions.app.store_device_type.modules.c0.call(/store/extensions/app/store-device-type/modules/device.js) >>>>>>> at >>>>>>> org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.extensions.app.store_device_type.pages.c0._c_anonymous_1(/store/extensions/app/store-device-type/pages/dashboard.jag:31) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.extensions.app.store_device_type.pages.c0.call(/store/extensions/app/store-device-type/pages/dashboard.jag) >>>>>>> at >>>>>>> org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2430) >>>>>>> at >>>>>>> org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:269) >>>>>>> at >>>>>>> org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:97) >>>>>>> at >>>>>>> org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.modules.c1._c_anonymous_60(/store/modules/store.js:978) >>>>>>> at org.jaggeryjs.rhino.store.modules.c1.call(/store/modules/store.js) >>>>>>> at >>>>>>> org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.<store>.scripts.c0._c_anonymous_18(<store>/scripts/server.js:318) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.<store>.scripts.c0.call(<store>/scripts/server.js) >>>>>>> at >>>>>>> org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.modules.c1._c_anonymous_59(/store/modules/store.js:972) >>>>>>> at org.jaggeryjs.rhino.store.modules.c1.call(/store/modules/store.js) >>>>>>> at >>>>>>> org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.extensions.app.store_device_type.pages.c0._c_script_0(/store/extensions/app/store-device-type/pages/dashboard.jag:21) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.extensions.app.store_device_type.pages.c0.call(/store/extensions/app/store-device-type/pages/dashboard.jag) >>>>>>> at >>>>>>> org.jaggeryjs.rhino.store.extensions.app.store_device_type.pages.c0.exec(/store/extensions/app/store-device-type/pages/dashboard.jag) >>>>>>> at >>>>>>> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567) >>>>>>> ... 60 more >>>>>>> Caused by: org.jaggeryjs.scriptengine.exceptions.ScriptException: >>>>>>> javax.net.ssl.SSLPeerUnverifiedException: SSL peer failed hostname >>>>>>> validation for name: 192.168.122.1 >>>>>>> at >>>>>>> org.jaggeryjs.hostobjects.xhr.XMLHttpRequestHostObject.executeRequest(XMLHttpRequestHostObject.java:556) >>>>>>> at >>>>>>> org.jaggeryjs.hostobjects.xhr.XMLHttpRequestHostObject.send(XMLHttpRequestHostObject.java:532) >>>>>>> at >>>>>>> org.jaggeryjs.hostobjects.xhr.XMLHttpRequestHostObject.jsFunction_send(XMLHttpRequestHostObject.java:284) >>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>>>>> at >>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>>>>>> at >>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>>>>> at java.lang.reflect.Method.invoke(Method.java:606) >>>>>>> at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126) >>>>>>> ... 93 more >>>>>>> Caused by: javax.net.ssl.SSLPeerUnverifiedException: SSL peer failed >>>>>>> hostname validation for name: 192.168.122.1 >>>>>>> at >>>>>>> org.opensaml.ws.soap.client.http.TLSProtocolSocketFactory.verifyHostname(TLSProtocolSocketFactory.java:233) >>>>>>> at >>>>>>> org.opensaml.ws.soap.client.http.TLSProtocolSocketFactory.createSocket(TLSProtocolSocketFactory.java:186) >>>>>>> at >>>>>>> org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) >>>>>>> at >>>>>>> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) >>>>>>> at >>>>>>> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) >>>>>>> at >>>>>>> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) >>>>>>> at >>>>>>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) >>>>>>> at >>>>>>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) >>>>>>> at >>>>>>> org.jaggeryjs.hostobjects.xhr.XMLHttpRequestHostObject.executeRequest(XMLHttpRequestHostObject.java:538) >>>>>>> ... 100 more >>>>>>> >>>>>>> -- >>>>>>> *Charitha Goonetilleke* >>>>>>> Software Engineer >>>>>>> WSO2 Inc.; http://wso2.com >>>>>>> lean.enterprise.middleware >>>>>>> >>>>>>> mobile: +94 77 751 3669 <%2B94777513669> >>>>>>> Twitter:@CharithaWs <https://twitter.com/CharithaWs>, fb: charithag >>>>>>> <https://www.facebook.com/charithag>, linkedin: charithag >>>>>>> <http://www.linkedin.com/in/charithag> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Regards, >>>>>> >>>>>> >>>>>> *Darshana Gunawardana*Senior Software Engineer >>>>>> WSO2 Inc.; http://wso2.com >>>>>> >>>>>> *E-mail: [email protected] <[email protected]>* >>>>>> *Mobile: +94718566859 <%2B94718566859>*Lean . Enterprise . Middleware >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> *Charitha Goonetilleke* >>>>> Software Engineer >>>>> WSO2 Inc.; http://wso2.com >>>>> lean.enterprise.middleware >>>>> >>>>> mobile: +94 77 751 3669 <%2B94777513669> >>>>> Twitter:@CharithaWs <https://twitter.com/CharithaWs>, fb: charithag >>>>> <https://www.facebook.com/charithag>, linkedin: charithag >>>>> <http://www.linkedin.com/in/charithag> >>>>> >>>> >>>> >>>> >>>> -- >>>> With regards, >>>> *Manu*ranga Perera. >>>> >>>> phone : 071 7 70 20 50 >>>> mail : [email protected] >>>> >>> >>> >>> >>> -- >>> *Charitha Goonetilleke* >>> Software Engineer >>> WSO2 Inc.; http://wso2.com >>> lean.enterprise.middleware >>> >>> mobile: +94 77 751 3669 <%2B94777513669> >>> Twitter:@CharithaWs <https://twitter.com/CharithaWs>, fb: charithag >>> <https://www.facebook.com/charithag>, linkedin: charithag >>> <http://www.linkedin.com/in/charithag> >>> >> >> >> >> -- >> Regards, >> >> >> *Darshana Gunawardana*Senior Software Engineer >> WSO2 Inc.; http://wso2.com >> >> *E-mail: [email protected] <[email protected]>* >> *Mobile: +94718566859 <%2B94718566859>*Lean . Enterprise . Middleware >> > > > > -- > With regards, > *Manu*ranga Perera. > > phone : 071 7 70 20 50 > mail : [email protected] > -- *Charitha Goonetilleke* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 751 3669 <%2B94777513669> Twitter:@CharithaWs <https://twitter.com/CharithaWs>, fb: charithag <https://www.facebook.com/charithag>, linkedin: charithag <http://www.linkedin.com/in/charithag>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
