java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(java.base@9-internal/Native Method) at java.net.AbstractPlainSocketImpl.doConnect(java.base@9-internal/AbstractPlainSocketImpl.java:400) at java.net.AbstractPlainSocketImpl.connectToAddress(java.base@9-internal/AbstractPlainSocketImpl.java:243) at java.net.AbstractPlainSocketImpl.connect(java.base@9-internal/AbstractPlainSocketImpl.java:225) at java.net.SocksSocketImpl.connect(java.base@9-internal/SocksSocketImpl.java:402) at java.net.Socket.connect(java.base@9-internal/Socket.java:591) at sun.security.ssl.SSLSocketImpl.connect(java.base@9-internal/SSLSocketImpl.java:652) at sun.security.ssl.SSLSocketImpl.<init>(java.base@9-internal/SSLSocketImpl.java:417) at sun.security.ssl.SSLSocketFactoryImpl.createSocket(java.base@9-internal/SSLSocketFactoryImpl.java:88)

JDK Bug System | Felix Yang | 3 months ago
  1. 0

    This has been observed once in Linux X64 open only target. Please refer to the test output: ----------System.out:(23/1161)---------- server #0 started on port 60343 server #1 started on port 61867 server #2 started on port 64926 client #0 connects to port 60343 client #1 connects to port 61867 client #2 connects to port 64926 Current cacheSize is set to: 0 Currently cached Sessions...... ======================================================================== Session Session-last-accessTime ======================================================================== [Session-7, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256] Tue Aug 30 22:11:27 PDT 2016 [Session-3, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256] Tue Aug 30 22:11:27 PDT 2016 [Session-5, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256] Tue Aug 30 22:11:27 PDT 2016 ------------------------------------------------------------------------ Session cache size changed to: 2 [Session-3, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256] Tue Aug 30 22:11:27 PDT 2016 [Session-5, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256] Tue Aug 30 22:11:27 PDT 2016 ------------------------------------------------------------------------ Session cache size changed to: 3 client #3 connects to port 0 ----------System.err:(48/3752)---------- Server died... java.net.SocketException: Address already in use (Listen failed) at java.net.PlainSocketImpl.socketListen(java.base@9-internal/Native Method) at java.net.AbstractPlainSocketImpl.listen(java.base@9-internal/AbstractPlainSocketImpl.java:449) at java.net.ServerSocket.bind(java.base@9-internal/ServerSocket.java:377) at java.net.ServerSocket.<init>(java.base@9-internal/ServerSocket.java:238) at java.net.ServerSocket.<init>(java.base@9-internal/ServerSocket.java:182) at javax.net.ssl.SSLServerSocket.<init>(java.base@9-internal/SSLServerSocket.java:136) at sun.security.ssl.SSLServerSocketImpl.<init>(java.base@9-internal/SSLServerSocketImpl.java:116) at sun.security.ssl.SSLServerSocketFactoryImpl.createServerSocket(java.base@9-internal/SSLServerSocketFactoryImpl.java:79) at SessionCacheSizeTests.doServerSide(SessionCacheSizeTests.java:113) at SessionCacheSizeTests$1.run(SessionCacheSizeTests.java:446) java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(java.base@9-internal/Native Method) at java.net.AbstractPlainSocketImpl.doConnect(java.base@9-internal/AbstractPlainSocketImpl.java:400) at java.net.AbstractPlainSocketImpl.connectToAddress(java.base@9-internal/AbstractPlainSocketImpl.java:243) at java.net.AbstractPlainSocketImpl.connect(java.base@9-internal/AbstractPlainSocketImpl.java:225) at java.net.SocksSocketImpl.connect(java.base@9-internal/SocksSocketImpl.java:402) at java.net.Socket.connect(java.base@9-internal/Socket.java:591) at sun.security.ssl.SSLSocketImpl.connect(java.base@9-internal/SSLSocketImpl.java:652) at sun.security.ssl.SSLSocketImpl.<init>(java.base@9-internal/SSLSocketImpl.java:417) at sun.security.ssl.SSLSocketFactoryImpl.createSocket(java.base@9-internal/SSLSocketFactoryImpl.java:88) at SessionCacheSizeTests.doClientSide(SessionCacheSizeTests.java:226) at SessionCacheSizeTests.startClient(SessionCacheSizeTests.java:491) at SessionCacheSizeTests.<init>(SessionCacheSizeTests.java:368) at SessionCacheSizeTests.main(SessionCacheSizeTests.java:332) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:535) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-internal/Thread.java:843) Caused by: java.net.SocketException: Address already in use (Listen failed) at java.net.PlainSocketImpl.socketListen(java.base@9-internal/Native Method) at java.net.AbstractPlainSocketImpl.listen(java.base@9-internal/AbstractPlainSocketImpl.java:449) at java.net.ServerSocket.bind(java.base@9-internal/ServerSocket.java:377) at java.net.ServerSocket.<init>(java.base@9-internal/ServerSocket.java:238) at java.net.ServerSocket.<init>(java.base@9-internal/ServerSocket.java:182) at javax.net.ssl.SSLServerSocket.<init>(java.base@9-internal/SSLServerSocket.java:136) at sun.security.ssl.SSLServerSocketImpl.<init>(java.base@9-internal/SSLServerSocketImpl.java:116) at sun.security.ssl.SSLServerSocketFactoryImpl.createServerSocket(java.base@9-internal/SSLServerSocketFactoryImpl.java:79) at SessionCacheSizeTests.doServerSide(SessionCacheSizeTests.java:113) at SessionCacheSizeTests$1.run(SessionCacheSizeTests.java:446)

    JDK Bug System | 3 months ago | Felix Yang
    java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(java.base@9-internal/Native Method) at java.net.AbstractPlainSocketImpl.doConnect(java.base@9-internal/AbstractPlainSocketImpl.java:400) at java.net.AbstractPlainSocketImpl.connectToAddress(java.base@9-internal/AbstractPlainSocketImpl.java:243) at java.net.AbstractPlainSocketImpl.connect(java.base@9-internal/AbstractPlainSocketImpl.java:225) at java.net.SocksSocketImpl.connect(java.base@9-internal/SocksSocketImpl.java:402) at java.net.Socket.connect(java.base@9-internal/Socket.java:591) at sun.security.ssl.SSLSocketImpl.connect(java.base@9-internal/SSLSocketImpl.java:652) at sun.security.ssl.SSLSocketImpl.<init>(java.base@9-internal/SSLSocketImpl.java:417) at sun.security.ssl.SSLSocketFactoryImpl.createSocket(java.base@9-internal/SSLSocketFactoryImpl.java:88)
  2. 0

    sun/security/ssl/SocketCreation/SocketCreation.java fails intermittently due to Address already in use #section:main ----------messages:(4/392)---------- command: main SocketCreation SunJSSE does not support dynamic system properties, no way to re-use system properties in samevm/agentvm mode. reason: User specified action: run main/othervm/timeout=300 SocketCreation SunJSSE does not support dynamic system properties, no way to re-use system properties in samevm/agentvm mode. Mode: othervm [/othervm specified] elapsed time (seconds): 1.025 ----------configuration:(0/0)---------- ----------System.out:(9/292)---------- ------------------------------------- Server: Will call createServerSocket(int) Server: Will accept on SSL server socket... Client: Will call createSocket(String, int) Server read: 24 Client read: 85 Server: Will call createServerSocket(int) Client: Will call createSocket(InetAddress, int) ----------System.err:(27/1959)---------- Server died...java.net.BindException: Address already in use java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(java.base@9-internal/Native Method) at java.net.AbstractPlainSocketImpl.doConnect(java.base@9-internal/AbstractPlainSocketImpl.java:400) at java.net.AbstractPlainSocketImpl.connectToAddress(java.base@9-internal/AbstractPlainSocketImpl.java:243) at java.net.AbstractPlainSocketImpl.connect(java.base@9-internal/AbstractPlainSocketImpl.java:225) at java.net.SocksSocketImpl.connect(java.base@9-internal/SocksSocketImpl.java:402) at java.net.Socket.connect(java.base@9-internal/Socket.java:591) at sun.security.ssl.SSLSocketImpl.connect(java.base@9-internal/SSLSocketImpl.java:652) at sun.security.ssl.SSLSocketImpl.<init>(java.base@9-internal/SSLSocketImpl.java:436) at sun.security.ssl.SSLSocketFactoryImpl.createSocket(java.base@9-internal/SSLSocketFactoryImpl.java:137) at SocketCreation.connectNormally1(SocketCreation.java:318) at SocketCreation.doClientSide(SocketCreation.java:275) at SocketCreation.startClient(SocketCreation.java:508) at SocketCreation.<init>(SocketCreation.java:440) at SocketCreation.main(SocketCreation.java:413) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:535) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-internal/Thread.java:843)

    JDK Bug System | 3 months ago | Amy Lu
    java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(java.base@9-internal/Native Method) at java.net.AbstractPlainSocketImpl.doConnect(java.base@9-internal/AbstractPlainSocketImpl.java:400) at java.net.AbstractPlainSocketImpl.connectToAddress(java.base@9-internal/AbstractPlainSocketImpl.java:243) at java.net.AbstractPlainSocketImpl.connect(java.base@9-internal/AbstractPlainSocketImpl.java:225) at java.net.SocksSocketImpl.connect(java.base@9-internal/SocksSocketImpl.java:402) at java.net.Socket.connect(java.base@9-internal/Socket.java:591) at sun.security.ssl.SSLSocketImpl.connect(java.base@9-internal/SSLSocketImpl.java:652) at sun.security.ssl.SSLSocketImpl.<init>(java.base@9-internal/SSLSocketImpl.java:436) at sun.security.ssl.SSLSocketFactoryImpl.createSocket(java.base@9-internal/SSLSocketFactoryImpl.java:137)
  3. 0

    java.net.ConnectException: Operation timed out at java.net.PlainSocketImpl.socketConnect(java.base@9-internal/Native Method) at java.net.AbstractPlainSocketImpl.doConnect(java.base@9-internal/AbstractPlainSocketImpl.java:400) at java.net.AbstractPlainSocketImpl.connectToAddress(java.base@9-internal/AbstractPlainSocketImpl.java:243) at java.net.AbstractPlainSocketImpl.connect(java.base@9-internal/AbstractPlainSocketImpl.java:225) at java.net.Socket.connect(java.base@9-internal/Socket.java:591) at sun.net.NetworkClient.doConnect(java.base@9-internal/NetworkClient.java:177) at sun.net.www.http.HttpClient.openServer(java.base@9-internal/HttpClient.java:432) at sun.net.www.http.HttpClient$1.run(java.base@9-internal/HttpClient.java:484) at sun.net.www.http.HttpClient$1.run(java.base@9-internal/HttpClient.java:482) at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method) at sun.net.www.http.HttpClient.privilegedOpenServer(java.base@9-internal/HttpClient.java:481) at sun.net.www.http.HttpClient.openServer(java.base@9-internal/HttpClient.java:522) at sun.net.www.http.HttpClient.<init>(java.base@9-internal/HttpClient.java:211) at sun.net.www.http.HttpClient.New(java.base@9-internal/HttpClient.java:308) at sun.net.www.http.HttpClient.New(java.base@9-internal/HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(java.base@9-internal/HttpURLConnection.java:1163) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(java.base@9-internal/HttpURLConnection.java:1142) at sun.net.www.protocol.http.HttpURLConnection$6.run(java.base@9-internal/HttpURLConnection.java:986) at sun.net.www.protocol.http.HttpURLConnection$6.run(java.base@9-internal/HttpURLConnection.java:984) at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method) at java.security.AccessController.doPrivilegedWithCombiner(java.base@9-internal/AccessController.java:792) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(java.base@9-internal/HttpURLConnection.java:983) at sun.net.www.protocol.http.HttpURLConnection.connect(java.base@9-internal/HttpURLConnection.java:930) at java.net.HttpConnectSocketImpl.doTunnel(java.base@9-internal/HttpConnectSocketImpl.java:167) at java.net.HttpConnectSocketImpl.access$200(java.base@9-internal/HttpConnectSocketImpl.java:44) at java.net.HttpConnectSocketImpl$2.run(java.base@9-internal/HttpConnectSocketImpl.java:151) at java.net.HttpConnectSocketImpl$2.run(java.base@9-internal/HttpConnectSocketImpl.java:149) at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method) at java.net.HttpConnectSocketImpl.privilegedDoTunnel(java.base@9-internal/HttpConnectSocketImpl.java:148) at java.net.HttpConnectSocketImpl.connect(java.base@9-internal/HttpConnectSocketImpl.java:111) at java.net.Socket.connect(java.base@9-internal/Socket.java:591) at java.net.Socket.connect(java.base@9-internal/Socket.java:540) at HttpProxy.test(HttpProxy.java:89) at HttpProxy.main(HttpProxy.java:68) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:535) at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226) at java.lang.Thread.run(java.base@9-internal/Thread.java:843)

    JDK Bug System | 2 months ago | Hamlin Li
    java.net.ConnectException: Operation timed out at java.net.PlainSocketImpl.socketConnect(java.base@9-internal/Native Method) at java.net.AbstractPlainSocketImpl.doConnect(java.base@9-internal/AbstractPlainSocketImpl.java:400) at java.net.AbstractPlainSocketImpl.connectToAddress(java.base@9-internal/AbstractPlainSocketImpl.java:243) at java.net.AbstractPlainSocketImpl.connect(java.base@9-internal/AbstractPlainSocketImpl.java:225) at java.net.Socket.connect(java.base@9-internal/Socket.java:591) at sun.net.NetworkClient.doConnect(java.base@9-internal/NetworkClient.java:177) at sun.net.www.http.HttpClient.openServer(java.base@9-internal/HttpClient.java:432) at sun.net.www.http.HttpClient$1.run(java.base@9-internal/HttpClient.java:484) at sun.net.www.http.HttpClient$1.run(java.base@9-internal/HttpClient.java:482) at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method) at sun.net.www.http.HttpClient.privilegedOpenServer(java.base@9-internal/HttpClient.java:481) at sun.net.www.http.HttpClient.openServer(java.base@9-internal/HttpClient.java:522) at sun.net.www.http.HttpClient.<init>(java.base@9-internal/HttpClient.java:211) at sun.net.www.http.HttpClient.New(java.base@9-internal/HttpClient.java:308) at sun.net.www.http.HttpClient.New(java.base@9-internal/HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(java.base@9-internal/HttpURLConnection.java:1163) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(java.base@9-internal/HttpURLConnection.java:1142) at sun.net.www.protocol.http.HttpURLConnection$6.run(java.base@9-internal/HttpURLConnection.java:986) at sun.net.www.protocol.http.HttpURLConnection$6.run(java.base@9-internal/HttpURLConnection.java:984) at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method) at java.security.AccessController.doPrivilegedWithCombiner(java.base@9-internal/AccessController.java:792) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(java.base@9-internal/HttpURLConnection.java:983) at sun.net.www.protocol.http.HttpURLConnection.connect(java.base@9-internal/HttpURLConnection.java:930) at java.net.HttpConnectSocketImpl.doTunnel(java.base@9-internal/HttpConnectSocketImpl.java:167) at java.net.HttpConnectSocketImpl.access$200(java.base@9-internal/HttpConnectSocketImpl.java:44) at java.net.HttpConnectSocketImpl$2.run(java.base@9-internal/HttpConnectSocketImpl.java:151) at java.net.HttpConnectSocketImpl$2.run(java.base@9-internal/HttpConnectSocketImpl.java:149) at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method) at java.net.HttpConnectSocketImpl.privilegedDoTunnel(java.base@9-internal/HttpConnectSocketImpl.java:148) at java.net.HttpConnectSocketImpl.connect(java.base@9-internal/HttpConnectSocketImpl.java:111) at java.net.Socket.connect(java.base@9-internal/Socket.java:591) at java.net.Socket.connect(java.base@9-internal/Socket.java:540)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I have mapped a local ip to a wan ip+port, for example, localhost 192.168.1.100:10000 to a wan ip(118.122.165.33) :100000 I can do login with administrator (GUI), but can't do with webadmin: error : I added debug info: ===https://118.122.165.33:10013 ERROR 2013-05-06 21:23:01,861 [qtp180831905-202] Server: com.mirth.connect.client.core.ClientException: java.net.ConnectException: Connection refused ERROR 2013-05-06 21:23:01,862 [qtp180831905-202] Server: at com.mirth.connect.client.core.ServerConnection.executePostMethod(Unknown Source) ERROR 2013-05-06 21:23:01,862 [qtp180831905-202] Server: at com.mirth.connect.client.core.Client.login(Unknown Source) ERROR 2013-05-06 21:23:01,862 [qtp180831905-202] Server: at com.mirth.connect.webadmin.action.LoginActionBean.login(LoginActionBean.java:39) ERROR 2013-05-06 21:23:01,863 [qtp180831905-202] Server: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ERROR 2013-05-06 21:23:01,863 [qtp180831905-202] Server: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ERROR 2013-05-06 21:23:01,864 [qtp180831905-202] Server: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ERROR 2013-05-06 21:23:01,864 [qtp180831905-202] Server: at java.lang.reflect.Method.invoke(Method.java:601) ERROR 2013-05-06 21:23:01,865 [qtp180831905-202] Server: at net.sourceforge.stripes.controller.DispatcherHelper$6.intercept(DispatcherHelper.java:456) ERROR 2013-05-06 21:23:01,865 [qtp180831905-202] Server: at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158) ERROR 2013-05-06 21:23:01,865 [qtp180831905-202] Server: at net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113) ERROR 2013-05-06 21:23:01,866 [qtp180831905-202] Server: at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155) ERROR 2013-05-06 21:23:01,866 [qtp180831905-202] Server: at net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74) ERROR 2013-05-06 21:23:01,867 [qtp180831905-202] Server: at net.sourceforge.stripes.controller.DispatcherHelper.invokeEventHandler(DispatcherHelper.java:454) ERROR 2013-05-06 21:23:01,867 [qtp180831905-202] Server: at net.sourceforge.stripes.controller.DispatcherServlet.invokeEventHandler(DispatcherServlet.java:278) ERROR 2013-05-06 21:23:01,868 [qtp180831905-202] Server: at net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:160) ERROR 2013-05-06 21:23:01,868 [qtp180831905-202] Server: at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) ERROR 2013-05-06 21:23:01,869 [qtp180831905-202] Server: at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652) ERROR 2013-05-06 21:23:01,869 [qtp180831905-202] Server: at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1329) ERROR 2013-05-06 21:23:01,869 [qtp180831905-202] Server: at net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:260) ERROR 2013-05-06 21:23:01,870 [qtp180831905-202] Server: at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300) ERROR 2013-05-06 21:23:01,870 [qtp180831905-202] Server: at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445) ERROR 2013-05-06 21:23:01,871 [qtp180831905-202] Server: at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) ERROR 2013-05-06 21:23:01,871 [qtp180831905-202] Server: at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:559) ERROR 2013-05-06 21:23:01,872 [qtp180831905-202] Server: at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) ERROR 2013-05-06 21:23:01,872 [qtp180831905-202] Server: at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038) ERROR 2013-05-06 21:23:01,872 [qtp180831905-202] Server: at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374) ERROR 2013-05-06 21:23:01,873 [qtp180831905-202] Server: at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189) ERROR 2013-05-06 21:23:01,873 [qtp180831905-202] Server: at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972) ERROR 2013-05-06 21:23:01,874 [qtp180831905-202] Server: at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) ERROR 2013-05-06 21:23:01,874 [qtp180831905-202] Server: at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) ERROR 2013-05-06 21:23:01,875 [qtp180831905-202] Server: at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) ERROR 2013-05-06 21:23:01,875 [qtp180831905-202] Server: at org.eclipse.jetty.server.Server.handle(Server.java:363) ERROR 2013-05-06 21:23:01,876 [qtp180831905-202] Server: at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483) ERROR 2013-05-06 21:23:01,876 [qtp180831905-202] Server: at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:931) ERROR 2013-05-06 21:23:01,876 [qtp180831905-202] Server: at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:992) ERROR 2013-05-06 21:23:01,876 [qtp180831905-202] Server: at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:856) ERROR 2013-05-06 21:23:01,877 [qtp180831905-202] Server: at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) ERROR 2013-05-06 21:23:01,877 [qtp180831905-202] Server: at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) ERROR 2013-05-06 21:23:01,877 [qtp180831905-202] Server: at org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:196) ERROR 2013-05-06 21:23:01,878 [qtp180831905-202] Server: at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627) ERROR 2013-05-06 21:23:01,878 [qtp180831905-202] Server: at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51) ERROR 2013-05-06 21:23:01,878 [qtp180831905-202] Server: at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) ERROR 2013-05-06 21:23:01,878 [qtp180831905-202] Server: at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) ERROR 2013-05-06 21:23:01,879 [qtp180831905-202] Server: at java.lang.Thread.run(Thread.java:722) ERROR 2013-05-06 21:23:01,879 [qtp180831905-202] Server: Caused by: java.net.ConnectException: Connection refused ERROR 2013-05-06 21:23:01,880 [qtp180831905-202] Server: at java.net.PlainSocketImpl.socketConnect(Native Method) ERROR 2013-05-06 21:23:01,880 [qtp180831905-202] Server: at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) ERROR 2013-05-06 21:23:01,880 [qtp180831905-202] Server: at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) ERROR 2013-05-06 21:23:01,880 [qtp180831905-202] Server: at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) ERROR 2013-05-06 21:23:01,881 [qtp180831905-202] Server: at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391) ERROR 2013-05-06 21:23:01,881 [qtp180831905-202] Server: at java.net.Socket.connect(Socket.java:579) ERROR 2013-05-06 21:23:01,881 [qtp180831905-202] Server: at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:612) ERROR 2013-05-06 21:23:01,882 [qtp180831905-202] Server: at org.apache.commons.ssl.Java14.connectSocket(Java14.java:190) ERROR 2013-05-06 21:23:01,882 [qtp180831905-202] Server: at org.apache.commons.ssl.Java14.buildSocket(Java14.java:153) ERROR 2013-05-06 21:23:01,882 [qtp180831905-202] Server: at org.apache.commons.ssl.JavaImpl.createSocket(JavaImpl.java:206) ERROR 2013-05-06 21:23:01,882 [qtp180831905-202] Server: at org.apache.commons.ssl.SSL.createSocket(SSL.java:543) ERROR 2013-05-06 21:23:01,883 [qtp180831905-202] Server: at org.apache.commons.ssl.SSLClient.createSocket(SSLClient.java:221) ERROR 2013-05-06 21:23:01,883 [qtp180831905-202] Server: at org.apache.commons.ssl.HttpSecureProtocol.createSocket(HttpSecureProtocol.java:90) ERROR 2013-05-06 21:23:01,883 [qtp180831905-202] Server: at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706) ERROR 2013-05-06 21:23:01,884 [qtp180831905-202] Server: at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321) ERROR 2013-05-06 21:23:01,884 [qtp180831905-202] Server: at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386) ERROR 2013-05-06 21:23:01,884 [qtp180831905-202] Server: at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) ERROR 2013-05-06 21:23:01,885 [qtp180831905-202] Server: at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) ERROR 2013-05-06 21:23:01,885 [qtp180831905-202] Server: at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)

    Mirth Project | 4 years ago | lin xd
    java.net.ConnectException: Connection refused ERROR 2013-05-06 21:23:01,880 [qtp180831905-202] Server: at java.net.PlainSocketImpl.socketConnect(Native Method) ERROR 2013-05-06 21:23:01,880 [qtp180831905-202] Server: at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) ERROR 2013-05-06 21:23:01,880 [qtp180831905-202] Server: at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) ERROR 2013-05-06 21:23:01,880 [qtp180831905-202] Server: at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) ERROR 2013-05-06 21:23:01,881 [qtp180831905-202] Server: at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391) ERROR 2013-05-06 21:23:01,881 [qtp180831905-202] Server: at java.net.Socket.connect(Socket.java:579) ERROR 2013-05-06 21:23:01,881 [qtp180831905-202] Server: at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:612)
  6. 0

    JavaMail: "Remote host closed connection during handshake" while connecting with office365

    codegur.com | 8 months ago
    java.net.ConnectException: Connection refused: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:344) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at java.net.Socket.connect(Socket.java:528) at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:331)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.ConnectException

      Connection refused at java.net.PlainSocketImpl.socketConnect(java.base@9-internal/Native Method) at java.net.AbstractPlainSocketImpl.doConnect(java.base@9-internal/AbstractPlainSocketImpl.java:400) at java.net.AbstractPlainSocketImpl.connectToAddress(java.base@9-internal/AbstractPlainSocketImpl.java:243) at java.net.AbstractPlainSocketImpl.connect(java.base@9-internal/AbstractPlainSocketImpl.java:225) at java.net.SocksSocketImpl.connect(java.base@9-internal/SocksSocketImpl.java:402) at java.net.Socket.connect(java.base@9-internal/Socket.java:591) at sun.security.ssl.SSLSocketImpl.connect(java.base@9-internal/SSLSocketImpl.java:652) at sun.security.ssl.SSLSocketImpl.<init>(java.base@9-internal/SSLSocketImpl.java:417) at sun.security.ssl.SSLSocketFactoryImpl.createSocket(java.base@9-internal/SSLSocketFactoryImpl.java:88)

      at SessionCacheSizeTests.doClientSide()
    2. Unknown
      SessionCacheSizeTests.main
      1. SessionCacheSizeTests.doClientSide(SessionCacheSizeTests.java:226)
      2. SessionCacheSizeTests.startClient(SessionCacheSizeTests.java:491)
      3. SessionCacheSizeTests.<init>(SessionCacheSizeTests.java:368)
      4. SessionCacheSizeTests.main(SessionCacheSizeTests.java:332)
      4 frames