Getting "java.net.SocketTimeoutException: connect timed out "
Issue
- Getting the below error when using https protocol
17:21:17,741 ERROR [stderr] (http-/10.10.10.10:8443-7) java.net.SocketTimeoutException: connect timed out
17:21:17,741 ERROR [stderr] (http-/10.10.10.10:8443-7) at java.net.PlainSocketImpl.socketConnect(Native Method)
17:21:17,741 ERROR [stderr] (http-/10.10.10.10:8443-7) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
17:21:17,741 ERROR [stderr] (http-/10.10.10.10:8443-7) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
17:21:17,741 ERROR [stderr] (http-/10.10.10.10:8443-7) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
17:21:17,742 ERROR [stderr] (http-/10.10.10.10:8443-7) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
17:21:17,742 ERROR [stderr] (http-/10.10.10.10:8443-7) at java.net.Socket.connect(Socket.java:529)
17:21:17,742 ERROR [stderr] (http-/10.10.10.10:8443-7) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:570)
17:21:17,742 ERROR [stderr] (http-/10.10.10.10:8443-7) at sun.net.NetworkClient.doConnect(NetworkClient.java:158)
17:21:17,742 ERROR [stderr] (http-/10.10.10.10:8443-7) at sun.net.www.http.HttpClient.openServer(HttpClient.java:411)
17:21:17,742 ERROR [stderr] (http-/10.10.10.10:8443-7) at sun.net.www.http.HttpClient.openServer(HttpClient.java:525)
17:21:17,743 ERROR [stderr] (http-/10.10.10.10:8443-7) at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:272)
17:21:17,743 ERROR [stderr] (http-/10.10.10.10:8443-7) at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:329)
17:21:17,743 ERROR [stderr] (http-/10.10.10.10:8443-7) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:172)
17:21:17,743 ERROR [stderr] (http-/10.10.10.10:8443-7) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:923)
17:21:17,743 ERROR [stderr] (http-/10.10.10.10:8443-7) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:158)
17:21:17,743 ERROR [stderr] (http-/10.10.10.10:8443-7) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1031)
17:21:17,744 ERROR [stderr] (http-/10.10.10.10:8443-7) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)
17:21:17,744 ERROR [stderr] (http-/10.10.10.10:8443-7) at com.aaa.bbb.ccc.ddd.eee.SomeClass.getURLObject(SomeClass.java:98)
17:21:17,744 ERROR [stderr] (http-/10.10.10.10:8443-7) at com.aaa.bbb.ccc.ddd.eee.SomeClass.getLoginInfo(SomeClass.java:180)
17:21:17,744 ERROR [stderr] (http-/10.10.10.10:8443-7) at org.apache.jsp.rclips_005fweb._031_005foperationAdmin._00_005fmenu._01_005fMenuManagement_jsp._jspService(_01_005fMenuManagement_jsp.java:196)
17:21:17,744 ERROR [stderr] (http-/10.10.10.10:8443-7) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)
17:21:17,744 ERROR [stderr] (http-/10.10.10.10:8443-7) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
17:21:17,745 ERROR [stderr] (http-/10.10.10.10:8443-7) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:365)
17:21:17,745 ERROR [stderr] (http-/10.10.10.10:8443-7) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309)
17:21:17,745 ERROR [stderr] (http-/10.10.10.10:8443-7) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:242)
17:21:17,745 ERROR [stderr] (http-/10.10.10.10:8443-7) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
17:21:17,745 ERROR [stderr] (http-/10.10.10.10:8443-7) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
17:21:17,745 ERROR [stderr] (http-/10.10.10.10:8443-7) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
17:21:17,746 ERROR [stderr] (http-/10.10.10.10:8443-7) at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
17:21:17,746 ERROR [stderr] (http-/10.10.10.10:8443-7) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
17:21:17,746 ERROR [stderr] (http-/10.10.10.10:8443-7) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
17:21:17,746 ERROR [stderr] (http-/10.10.10.10:8443-7) at org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
17:21:17,746 ERROR [stderr] (http-/10.10.10.10:8443-7) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
17:21:17,746 ERROR [stderr] (http-/10.10.10.10:8443-7) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
17:21:17,747 ERROR [stderr] (http-/10.10.10.10:8443-7) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
17:21:17,747 ERROR [stderr] (http-/10.10.10.10:8443-7) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
17:21:17,747 ERROR [stderr] (http-/10.10.10.10:8443-7) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
17:21:17,747 ERROR [stderr] (http-/10.10.10.10:8443-7) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
17:21:17,747 ERROR [stderr] (http-/10.10.10.10:8443-7) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
17:21:17,747 ERROR [stderr] (http-/10.10.10.10:8443-7) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
17:21:17,748 ERROR [stderr] (http-/10.10.10.10:8443-7) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
17:21:17,748 ERROR [stderr] (http-/10.10.10.10:8443-7) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
17:21:17,748 ERROR [stderr] (http-/10.10.10.10:8443-7) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
17:21:17,748 ERROR [stderr] (http-/10.10.10.10:8443-7) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)
17:21:17,748 ERROR [stderr] (http-/10.10.10.10:8443-7) at java.lang.Thread.run(Thread.java:662)
Environment
- JBoss Enterprise Application Platform (EAP)
- All
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.