Hi all, I will update this thread as well as the Jira issue [1] once the DAS Quick Start Guide is updated with the relevant information.
[1] DOCUMENTATION-3344 <https://wso2.org/jira/browse/DOCUMENTATION-3344> Best Regards, Rukshani. On Fri, May 13, 2016 at 10:59 AM, Nipuna Chandradasa <[email protected]> wrote: > Hi All, > > Dashboard Server team have given few patches to solve gadget loading > related issues happening in a real production environment where we don't > use localhost. Those issues are mentioned in the mail thread i mentioned in > the previous mail. > > Thank you, > > On Fri, May 13, 2016 at 10:54 AM, Iranga Muthuthanthri <[email protected]> > wrote: > >> Think we need to have a note on the above in the QSG >> >> On Fri, May 13, 2016 at 10:51 AM, Nipuna Chandradasa <[email protected]> >> wrote: >> >>> Hi Gobinath, >>> >>> Here what you have to do is to create a new certificate for your IP and >>> import it in to wso2carbon.jks and clienttruststore.jks. >>> Refer to this blog[1] for more details. >>> >>> [1]. >>> http://udarakr.blogspot.com/2014/04/you-may-get-following-error-and-your.html >>> >>> Regards, >>> Marcus >>> >>> On Fri, May 13, 2016 at 10:46 AM, Gobinath Loganathan <[email protected] >>> > wrote: >>> >>>> Hi Nipuna, >>>> I got the same error. Thank you for your help, I will have a look. >>>> >>>> For reference, I have added my console error message here: >>>> [2016-05-13 10:37:08,655] ERROR >>>> {org.apache.shindig.gadgets.render.DefaultServiceFetcher} - Services >>>> methods from the https://10.100.7.87:9443/shindig/rpc endpoint could >>>> not be fetched. The following error occurred: javax.net.ssl.SSLException: >>>> hostname in certificate didn't match: <10.100.7.87> != <localhost>. >>>> [2016-05-13 10:37:09,026] INFO >>>> {org.apache.shindig.gadgets.http.BasicHttpFetcher} - The following >>>> exception occurred when fetching >>>> https://10.100.7.87:9443/portal/store/carbon.super/gadget/Peak_Usage_Range_-_Seattle/index.xml: >>>> 8 ms elapsed. >>>> [2016-05-13 10:37:09,027] INFO >>>> {org.apache.shindig.gadgets.http.BasicHttpFetcher} - >>>> javax.net.ssl.SSLException: hostname in certificate didn't match: >>>> <10.100.7.87> != <localhost> >>>> at >>>> org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:238) >>>> at >>>> org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54) >>>> ... >>>> >>>> >>>> Thanks. >>>> >>>> On Fri, May 13, 2016 at 10:34 AM, Nipuna Chandradasa <[email protected]> >>>> wrote: >>>> >>>>> Hi Gobinath, >>>>> >>>>> Is there any error on the console or the debug tool of the browser >>>>> saying IP != <localhost> ? >>>>> This is not because of you don't have data. Here gadgets are not even >>>>> rendered. This can be because of a SSLException (Your certificate doesn't >>>>> match your host) or if you have a LB in front your DAS with proxy port >>>>> configured, shindig uses server port to render not the proxy port... so >>>>> 404 >>>>> error.. >>>>> >>>>> Please have a look at mail tread mention here which is in support. >>>>> >>>>> [DAS] Hostname issue while adding gadgets to dashboard when fronted >>>>> by an LB >>>>> >>>>> Regards, >>>>> >>>>> >>>>> On Fri, May 13, 2016 at 10:15 AM, Gobinath Loganathan < >>>>> [email protected]> wrote: >>>>> >>>>>> Hi Thanuja, >>>>>> I also think so. Even I executed the 'smart_home_script' manually, >>>>>> but no luck. >>>>>> >>>>>> Thanks. >>>>>> >>>>>> On Fri, May 13, 2016 at 10:13 AM, Thanuja Uruththirakodeeswaran < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Hi Gobinath, >>>>>>> >>>>>>> But if the corresponding gadget datasources don't have data, It will >>>>>>> show 'Data is not available for plotting' messgae in gadgets. I've >>>>>>> checked >>>>>>> this with chrome version 49.0.2623.87. But in your case, gadget is >>>>>>> totally empty. This might be due to some other problems. >>>>>>> >>>>>>> Thanks. >>>>>>> >>>>>>> On Fri, May 13, 2016 at 9:57 AM, Thanuja Uruththirakodeeswaran < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> Hi Gobinath, >>>>>>>> >>>>>>>> I tried the same sample and can see the data in dashboards. But you >>>>>>>> have to wait until smart_home_script spark script is get executed >>>>>>>> after you >>>>>>>> ran the sample java client to publish the data to see the data in >>>>>>>> dashboard. Because the spark script used for this sample >>>>>>>> (smart_home_script) is scheduled to run every 3 minutes to copy data >>>>>>>> received to corresponding gadgets' datasources. >>>>>>>> >>>>>>>> Thanks. >>>>>>>> >>>>>>>> On Fri, May 13, 2016 at 9:25 AM, Gobinath Loganathan < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> Hi team, >>>>>>>>> The Dashboard of DAS does not generate graphical charts for smart >>>>>>>>> home application sample as expected in QuickStartGuide >>>>>>>>> <https://docs.wso2.com/display/DAS301/Quick+Start+Guide#QuickStartGuide-DeployingthesampleC-App> >>>>>>>>> (Screenshot >>>>>>>>> is attached). However, the "Data Explorer" shows the data as >>>>>>>>> expected. I >>>>>>>>> face the same problem in both Chrome and Firefox. >>>>>>>>> >>>>>>>>> Could anyone suggest a solution for this? >>>>>>>>> >>>>>>>>> >>>>>>>>> Thanks. >>>>>>>>> >>>>>>>>> -- >>>>>>>>> *Gobinath **Loganathan* >>>>>>>>> Software Engineer, WSO2 Inc. http://wso2.com >>>>>>>>> >>>>>>>>> Email : [email protected] >>>>>>>>> Mobile : (+94) 770 780 210 >>>>>>>>> Blog : javahelps.com <http://www.javahelps.com/> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> Dev mailing list >>>>>>>>> [email protected] >>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Thanuja Uruththirakodeeswaran >>>>>>>> Software Engineer >>>>>>>> WSO2 Inc.;http://wso2.com >>>>>>>> lean.enterprise.middleware >>>>>>>> >>>>>>>> mobile: +94 774363167 >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Thanuja Uruththirakodeeswaran >>>>>>> Software Engineer >>>>>>> WSO2 Inc.;http://wso2.com >>>>>>> lean.enterprise.middleware >>>>>>> >>>>>>> mobile: +94 774363167 >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> *Gobinath **Loganathan* >>>>>> Software Engineer, WSO2 Inc. http://wso2.com >>>>>> >>>>>> Email : [email protected] >>>>>> Mobile : (+94) 770 780 210 >>>>>> Blog : javahelps.com <http://www.javahelps.com/> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Dev mailing list >>>>>> [email protected] >>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Nipuna Marcus >>>>> *Software Engineer* >>>>> WSO2 Inc. >>>>> http://wso2.com/ - "lean . enterprise . middleware" >>>>> Mobile : +94 (0) 713 667906 >>>>> [email protected] >>>>> >>>> >>>> >>>> >>>> -- >>>> *Gobinath **Loganathan* >>>> Software Engineer, WSO2 Inc. http://wso2.com >>>> >>>> Email : [email protected] >>>> Mobile : (+94) 770 780 210 >>>> Blog : javahelps.com <http://www.javahelps.com/> >>>> >>>> >>>> >>> >>> >>> >>> -- >>> Nipuna Marcus >>> *Software Engineer* >>> WSO2 Inc. >>> http://wso2.com/ - "lean . enterprise . middleware" >>> Mobile : +94 (0) 713 667906 >>> [email protected] >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Thanks & Regards >> >> Iranga Muthuthanthri >> (M) -0777-255773 >> Team Product Management >> >> > > > -- > Nipuna Marcus > *Software Engineer* > WSO2 Inc. > http://wso2.com/ - "lean . enterprise . middleware" > Mobile : +94 (0) 713 667906 > [email protected] > -- Rukshani Weerasinha WSO2 Inc. Web:http://wso2.com Mobile: 0777 683 738
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
