IBM Support

Rich Content Widget stops working after migrating server

Technote (troubleshooting)


Problem

The Rich Content Widget stops working after you migrate IBM Connections, moving Connections to a different server. Every time a user adds the Rich Content Widget to a Community page, the widget fails and produces a timeout error similar to the following:

[04/03/16 14:04:21:771 GMT] 00000174 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /opt2/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/RTECluster_server1_ce9a7fc2_16.03.04_14.04.21.7524803355894418554297.txt com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters -RE 1123
[04/03/16 14:04:21:772 GMT] 00000174 LocalTranCoor E WLTC0017E: Resources rolled back due to setRollbackOnly() being called.
[04/03/16 14:04:21:777 GMT] 00000174 webapp E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[rteServlet]: org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://example.ibm.com/oauth2/endpoint/connectionsProvider/authorize?client_id=conn-rte&response_type=code&acls=true&callback_uri=https%253A%252F%252Fexample.ibm.com%252Fconnections%252Frte%252Fcommunity%252Fe218f6b1-3e2f-4f34-86d3-2ec9973ce96b%252Fentry&_oauth_client_auto_authorize=true":Connection timed out; nested exception is java.net.ConnectException: Connection timed out


Cause

After performing a migration like this to a different server, older references to the OAuth callback URL for the RTE component are still persisted in the OAuth Provider database table. As a result, the OAuth third-legged flow cannot take place and produces a timeout error like the one above.

Resolving the problem

To resolve the problem, the system administrator can remove the "conn-rte" entry in OH2P_CLIENTCFG table, located in the HOMEPAGE database, and the restart Connections.

A fix for this problem is being planned for a future Connections 5.5 release.

Document information

More support for: IBM Connections
Core

Software version: 5.5

Operating system(s): AIX, IBM i, Linux, Windows

Software edition: All Editions

Reference #: 1979899

Modified date: 07 June 2016