Add OpenSocial Gadget
![]()
I am trying to add Sonar OpenSocial gadgets to my personal dashboard. When specifying the URL to the gadget, I get the following error...
org.apache.http.conn.ConnectTimeoutException: Connect to exogadgets.appspot.com/74.125.67.141:80 timed out I've tried the Wikipedia example also, with the same result. I suspect that the issue is with my proxy settings or outbound whitelist but cannot troubleshoot further. I would appreciate any thoughts or suggestions. Thanks! |
7 answers
![]()
If you're able to open the gadget XML in your browser, then it sounds like a firewall issue, i.e. the firewall is blocking the request from your server to the gadget. You can confirm this by doing a wget on the server and see if it goes through.
|
![]()
Good idea on testing using wget from the command line. I'm now certain that my proxy is the issue. Still, I cannot seem to find a way to set the proxy values in RTC.
I did find some instructions on setting up "org.eclipse.core.net.prefs" here... http://www.mainsoft.com/jazz-doc/proxysettings ...but that didn't seem to do the trick. Any thoughts on configuring the server to work with a proxy? |
![]()
I may be wrong, but I don't think RTC supports this type of proxy. Is there any chance you can open up the firewall a bit so that these requests can go through?
|
![]()
I'm not positive if this will work, but give it a shot. Please let us know if it works -- we should definitely document this!
Create a new text file org.eclipse.core.net.prefs in a Jazz server folder, depending on application server type: For Apache Tomcat: JazzInstallDir/server/tomcat/work/Catalina/localhost/jazz/eclipse/workspace/.metadata/ .plugins/org.eclipse.core.runtime/.settings/ For IBM WebSphere Application Server: WASInstallDir/profiles/profile/temp/node/server1/jazz_war/jazz.war/eclipse/workspace/.metadata/ .plugins/org.eclipse.core.runtime/.settings/ Paste the following contents to org.eclipse.core.net.prefs and edit it according to you proxy configuration:
Restart the Jazz Team Server. |
![]()
No chance of opening up the firewall. Any chance a feature request could be opened to configure proxy settings?
|
![]()
As mentioned in my previous post, the "org.eclipse.core.net.prefs" settings do not appear to work.
|
![]()
Here's the work item tracking the proxy configuration feature:
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/150212 |
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.