This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Jun 3, 2013, 3:58 PM
22 Posts

"Error 500" when creating an OpenSocial widget

  • Category: OpenSocial - Embedded Experiences
  • Platform: Windows
  • Release: 9.0
  • Role: Administrator
  • Tags: OpenSocial widget gadget
  • Replies: 12

When I attempt to create an OpenSocial widget i get the following error: "Failed creating the widget: Error 500"

I've tried a few different URL sources, including those from http://eedemos.opensocial2.org/ shown in below image.

All required server and client setup/configuration has been done according to instructions in the OpenSocial Deployment Cookbook.

I need to test the OpenSocial widgets/embedded experiences functionality. I'd appreciate any info or guidance on what the problem may be and if there are other sources of OpenSocial gadgets that can be used/tested.

Thanks

Jun 3, 2013, 7:08 PM
34 Posts
RE: "Error 500" when creating an OpenSocial widget
Hi Rob,

There should be more information in your Notes client trace logs.  I would expect a stack trace.  If you find the related error, can you post it here?

Thanks,
-Stanton
Jun 4, 2013, 4:10 PM
15 Posts
Stack trace output is posted below ...
Not sure if you need any other support data as well. Just let me know,
Thanks
Jun 3, 2013, 8:26 PM
22 Posts
Stack trace

Stanton, thanks for the response.

Here is the stack trace outputs:

CLPEE5020W: An error occurred making a request to the server
java.net.ConnectException: Connection refused: connect
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at sun.net.NetworkClient.doConnect(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.<init>(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
	at com.ibm.rcp.net.http.internal.protocol.HttpURLConnection.getOutputStream(Unknown Source)
	at com.ibm.rcp.fiesta.service.internal.HTTPUtils.doPost(Unknown Source)
	at com.ibm.rcp.fiesta.service.internal.HTTPUtils.doPostToFiesta(Unknown Source)
	at com.ibm.rcp.fiesta.service.internal.HTTPUtils.doApplicationJsonPostToFiesta(Unknown Source)
	at com.ibm.rcp.fiesta.service.internal.HTTPUtils.doApplicationJsonPostToFiesta(Unknown Source)
	at com.ibm.rcp.fiesta.service.metadata.GadgetMetadataRequestJob.run(Unknown Source)
	at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
CLPEE5001E: Error retrieving the gadget(s) metadata.
java.net.ConnectException: Connection refused: connect
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at sun.net.NetworkClient.doConnect(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.<init>(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
	at com.ibm.rcp.net.http.internal.protocol.HttpURLConnection.getOutputStream(Unknown Source)
	at com.ibm.rcp.fiesta.service.internal.HTTPUtils.doPost(Unknown Source)
	at com.ibm.rcp.fiesta.service.internal.HTTPUtils.doPostToFiesta(Unknown Source)
	at com.ibm.rcp.fiesta.service.internal.HTTPUtils.doApplicationJsonPostToFiesta(Unknown Source)
	at com.ibm.rcp.fiesta.service.internal.HTTPUtils.doApplicationJsonPostToFiesta(Unknown Source)
	at com.ibm.rcp.fiesta.service.metadata.GadgetMetadataRequestJob.run(Unknown Source)
	at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
CLFWW5004E: Gadget metadata request encountered an error: Connection refused: connect
Connection refused: connect
java.net.ConnectException: Connection refused: connect
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at sun.net.NetworkClient.doConnect(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.<init>(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
	at com.ibm.rcp.net.http.internal.protocol.HttpURLConnection.getOutputStream(Unknown Source)
	at com.ibm.rcp.fiesta.service.internal.HTTPUtils.doPost(Unknown Source)
	at com.ibm.rcp.fiesta.service.internal.HTTPUtils.doPostToFiesta(Unknown Source)
	at com.ibm.rcp.fiesta.service.internal.HTTPUtils.doApplicationJsonPostToFiesta(Unknown Source)
	at com.ibm.rcp.fiesta.service.internal.HTTPUtils.doApplicationJsonPostToFiesta(Unknown Source)
	at com.ibm.rcp.fiesta.service.metadata.GadgetMetadataRequestJob.run(Unknown Source)
	at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)

 

Jun 4, 2013, 5:35 PM
15 Posts
Workspace/logs zipped here
I zipped the /workspace/logs folder. Hope that helps, and thanks for the responses. Let me know if there is anything else I can do.
Jun 4, 2013, 6:00 PM
15 Posts
oops, looks like attachments are not allowed ...
The zipped log folder attachment I tried to send was stripped from the post.

Is there another way I can get this info to you? ie: email

Thanks
Jun 7, 2013, 2:36 PM
34 Posts
Some things to try
Based on the stack traces the more details logs you e-mailed me, I have some things for you to try.

Please enable customized tracing.  Follow steps #1-6 here: http://www-10.lotus.com/ldd/dominowiki.nsf/dx/Collecting_support_data_OSC90#Collecting+Support+Data+in+Notes

Reproduce the issue.  In the logs, you'll see an entry like the following
ENTRY http://localhost:<some random port>/fiesta/rpc application/json; charset=UTF-8 default:<encrypted stuff>

From that log entry, make note of <some random port> and use it to go to the following url in your Notes embedded browser:
http://localhost:<some random port>/fiesta/notesdomino/notesdominocommoncontainer.html

Are you able to get to that page?  You'll just see a spinning icon and some ellipses.

The thought here is that your client is rejecting the request to localhost:<some random port> which is where the Expeditor web container is running.  You may have entries in your hosts file or certain loopback adapters that are causing this operation to fail.  Or, you could have customized the way the web container works via the rcpinstall.properties in <Notes Data Dir>/workspace/.config.

Thanks,
-Stanton
Jun 10, 2013, 3:24 PM
15 Posts
Results...
Stanton, I did find an entry in the logs as you indicated. I then used the reported port # (49289) with the following URL in the Notes browser, but I was NOT able to get to the page. Returned: "This program cannot display the webpage".

http://localhost:49289/fiesta/notesdomino/notesdominocommoncontainer.html

As I mentioned in the email response to you, I do have an entry in the hosts file for the local Domino server.

So, still not sure what can be causing the problem.

Thanks,
Jun 12, 2013, 2:21 PM
34 Posts
Open a PMR
Hi Rob,

Can you open a PMR for this issue?  Please include the full logs you've collected from your Notes client after reproducing the issue.  You can link to this thread in the PMR and state that you've been working with Ryan and myself on this issue.

Thanks,
-Stanton
Jun 12, 2013, 7:25 PM
90 Posts
We can't
I am not Rob, but, I am at TLCC with Rob.  We do not have the ability to open a PMR at IBM (didn't go for the very expensive package that allows that...).

Howard

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal