Proxy settings in Community Server throwing an Error - Java.net.SocketException: Unknown Proxy Type : HTTP
(Doc ID 1483757.1)
Last updated on DECEMBER 13, 2024
Applies to:
Oracle WebCenter Sites - Version 11.1.1.6.0 and laterInformation in this document applies to any platform.
Symptoms
When tring to set up proxy for Facebook authentication, received the following in Weblogic application server logs:
"
[[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] 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={SECRET_KEY}&redirect_uri=http%3A%2F%2Fhostname%3A7005%2Fcos%2Fexternal-auth%2Ffacebook%2F
java.net.SocketException: Unknown proxy type : HTTP
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:370)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:218)
at javax.net.ssl.SSLSocket.<init>(SSLSocket.java:158)
at javax.net.ssl.impl.SSLSocketImpl.<init>(Unknown Source)
at javax.net.ssl.impl.SSLSocketFactoryImpl.createSocket(Unknown Source)
at weblogic.security.SSL.SSLSocketFactory.createSocket(SSLSocketFactory.java:140)
at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:289)
at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:363)
at weblogic.net.http.HttpsClient.New(HttpsClient.java:518)
at weblogic.net.http.HttpsURLConnection.getHttpClient(HttpsURLConnection.java:330)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:450)
at weblogic.net.http.SOAPHttpsURLConnection.getInputStream(SOAPHttpsURLConnection.java:37)
at com.fatwire.cos.sso.external.dispatcher.ExternalInfrastructureImpl.getURLContent(ExternalInfrastructureImpl.java:165)
"
Changes
Proxy settings are configured in setup_proxy.properties in cos production.
Only INTERNET PROXY is enabled.
Facebook authentication settings are configured in setup_auth.properties in cos production.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |