Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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!

0 votes



7 answers

Permanent link
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.

0 votes


Permanent link
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?

0 votes


Permanent link
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?

0 votes


Permanent link
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:

# General proxy settings
org.eclipse.core.net.hasMigrated=true
eclipse.preferences.version=1
proxiesEnabled=true
# HTTP proxy settings
# proxyData/HTTP/host=<proxy>
# proxyData/HTTP/port=<proxy>
# proxyData/HTTP/hasAuth=false
# HTTPS proxy settings
proxyData/HTTPS/host=<proxy>
proxyData/HTTPS/port=<proxy>
proxyData/HTTPS/hasAuth=false
# Hosts that will not use proxy
# nonProxiedHosts=<hostname1>
nonProxiedHosts=127.0.0.1|localhost


Restart the Jazz Team Server.

0 votes


Permanent link
No chance of opening up the firewall. Any chance a feature request could be opened to configure proxy settings?

0 votes


Permanent link
As mentioned in my previous post, the "org.eclipse.core.net.prefs" settings do not appear to work.

0 votes


Permanent link
Here's the work item tracking the proxy configuration feature:
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/150212

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jan 14 '11, 12:15 a.m.

Question was seen: 8,610 times

Last updated: Jan 14 '11, 12:15 a.m.

Confirmation Cancel Confirm