User is Shown Internal Server Error when Trying to Share a Comment on Facebook from WebCenter Sites|Community (Doc ID 1594153.1)

Last updated on JUNE 29, 2017

Applies to:

Oracle WebCenter Sites - Version 11.1.1.6.1 to 11.1.1.6.1 [Release FatWire]
Information in this document applies to any platform.

Symptoms

When the user tries to share a comment on WebCenter Sites|Community to Facebook by clicking the Facebook icon next to "Share to", they are shown a page with "Internal Server Error" for page /cos/external-auth/facebook-share/.

The cos_production_node1.log shows exceptions:
2013-09-06 13:56:38,162 [http-8090-10] ERROR com.fatwire.cos.sso.external.dispatcher.ExternalInfrastructureImpl - Cannot return content by URL https://graph.facebook.com/oauth/access_token?client_id={client id}&client_secret={client secret}&code={code}&redirect_uri=http%3A%2F%2F{cos server}%3A{cos port}%2Fcos%2Fexternal-auth%2Ffacebook%2F
java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:570)
at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:141)
at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:523)
at sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:272)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:329)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:172)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:158)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
at com.fatwire.cos.sso.external.dispatcher.ExternalInfrastructureImpl.getURLContent(ExternalInfrastructureImpl.java:165)
at com.fatwire.cos.sso.external.dispatcher.facebook.DataReaderProcessor.processRequest(DataReaderProcessor.java:64)
at com.fatwire.cos.sso.external.dispatcher.ExternalAuthenticatorImpl.authenticate(ExternalAuthenticatorImpl.java:43)
at com.fatwire.cos.sso.external.dispatcher.ExternalAuthDispatcher.processAuthenticationRequest(ExternalAuthDispatcher.java:70)
at com.fatwire.cos.sso.external.dispatcher.supportservlet.ExternalAuthDispatcherServlet.doGet(ExternalAuthDispatcherServlet.java:38)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms