Hosting RM Extensions - OpenSocial gadget was not loaded
Good morning.
I have been successfully using a simple setup for experimentation of requiements management (RM) extensions. The extensions I am using are the example ones offered on this Jazz wiki article. The setup I was using was the express install of Jazz Team server (Apache tomcat) with the 'extensions' folder sitting in the 'tomcat/webapps' directory. I have now decided to try to deploy these same extensions to a production server, by hosting the static extensions files on a separate, simple webserver. Based on the guidance offered on this Jazz wiki article, I have set up an https protocol server with a valid certificate that I can navigate to in my web browser. This was accomplished using IIS 7.5. My problem is that despite this content being available through my web browser, I cannot add an extension from this server to Jazz. when I choose to 'Add OpenSocial gadget', a space on the dashboard appears with a warning inside stating: The OpenSocial gadget was not loaded.I have also hosted this content using http protocol in case it was an issue with my SSL certificate (despite Chrome, IE, Firefox not complaining) and I observe the same thing. I am at my wits end as to what to do, and really hope someone on this forum might have a suggestion. The extension is identical to one that worked on the simple set up (the module explorer extension from the examples mentioned above). Best Regards, Sam |
3 answers
Hi Sam,
I've just tried the following: Set up IIS on a windows VM and added a simple extension (just contains some static text, no js et c). The, on a separate machine I ran RDNG in tomcat and added the extension to the dashboard using the http protocol. It seemed to work fine. Some things to try/consider: 1 - could you try with the machine's IP address instead of hostname (really shouldn't make a difference) 2 - If you accidentally tried to load the extension when it wasn't available (iis not running for instance) then RDNG caches that "failure to load" for around 10-15 minutes. It's a long wait before trying again. 3 - I think you've done this but can you double check that it doesn't work using plain http. For me, I used the url http://10.0.20.144/file.xml and it loaded ok. 4 - can you try an extension with no js/css et c - just some static html (I don't think this is the issue but it's good to rule things out) 5 - Again, just to rule out the obvious - there are not firewalls between you and the IIS machine that your browser is logged in to but which might be preventing the server to server communication? thanks, -Dominic Comments 1
Hi Dominic,
Dominic Tulley
commented Jan 30 '15, 4:06 a.m.
Hi Sam,
Dominic Tulley
commented Jan 30 '15, 4:08 a.m.
Hi Sam,
|
Hi Sam,
When the gadgets are loaded into the browser they actually come via DNG server first, perhaps this needs to be clearer. So the requirement is not just that your browser can see the server hosting the extensions, but that your server can see it as well.
When you type the URL into the dialog in the DNG application, the DNG server then attempts to fetch the extension from the URL provided, it parses the XML and produces the URL that the browser can use to load the HTML content into an IFRAME.
Assuming that your DNG server can see the server hosting the extensions, I'm less sure what the issue could be. Can you see e.g. This extension on Bluemix (https://dngextensions.mybluemix.net/selected_attrs/attr-links-ext.xml)
Steve.
Steven Wood
DNG Developer
Comments Hi Steve,
|
Hi Sam,
have you tried some simple connectivity tests from your server machine to the one hosting the extensions? For instance a ping, or running a browser on the server machine to access the extension xml file? thanks, -Dominic Comments
Sam Briggs
commented Jan 29 '15, 8:50 a.m.
Hi Dominic,
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.