[SOLVED] java.net.ConnectException: Connection timed out

Post Reply
Sakon
Posts: 2
Joined: Thu Feb 03, 2011 2:54 pm

[SOLVED] java.net.ConnectException: Connection timed out

Post by Sakon » Thu Feb 03, 2011 3:02 pm

Hello,
I have been using World of Logs successfully during Wrath of the Lichking. However, now that I'm back in business in Cataclysm I tried to connect and after a few seconds trying to authenticate I get the following error:



Image




I have absolutely no idea what this error means. This forum is my last resort, for I have searched the interwebz and almost went insane trying to find an answer to my problem. Help is highly appreciated. Thanks in advance.



----------------------------------------------------
Using proxy 189.17.177.120/189.17.177.120:3128
Using proxy 189.17.177.120/189.17.177.120:3128
03.02.2011 13:46:20 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out: connect
03.02.2011 13:46:20 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
03.02.2011 13:46:37 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out: connect
03.02.2011 13:46:37 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
03.02.2011 13:46:41 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out: connect
03.02.2011 13:46:41 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
03.02.2011 13:46:58 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out: connect
03.02.2011 13:46:58 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
03.02.2011 13:47:02 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out: connect
03.02.2011 13:47:02 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
03.02.2011 13:47:19 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out: connect
03.02.2011 13:47:19 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source)
at org.apache.commons.httpclient.HttpConnection.open(Unknown Source)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
at com.wol3.client.comm.HttpConnector.login(Unknown Source)
at com.wol3.client.Settings.isLoginValid(Unknown Source)
at com.wol3.client.forms.OpenFileOrCombatLogForm.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Maihem
Site Admin
Posts: 2747
Joined: Sun Apr 05, 2009 4:14 pm

Re: java.net.ConnectException: Connection timed out: connect

Post by Maihem » Thu Feb 03, 2011 10:02 pm

Do you use a proxy to access the internet? If not, try the following:

1) Go to Start --> Control Panel --> Programs --> Java.
2) In the Java Control Panel that pops up, go to Network Settings...
3) Make sure the "Use browser settings" is active. If it is already active, change it to "Direct connection".

Java sometimes seems to get confused as to whether to use a proxy to access the internet. If that doesn't solve your issue, please post back!

ArcaneMagus
Posts: 1518
Joined: Wed Aug 26, 2009 7:56 pm
Contact:

Re: java.net.ConnectException: Connection timed out: connect

Post by ArcaneMagus » Fri Feb 04, 2011 2:42 am

If you don't use a proxy to connect... Java is trying to:

Code: Select all

Using proxy 189.17.177.120/189.17.177.120:3128
Maihem's steps above tell you how to disable it.

If that is the correct network settings though you need to check your proxy as it is not allowing the client to connect.

As a side note... it looks like that IP address belongs to "NEW RIVER GENERAL SERVICES LTD" and they are using an outdated Mikrotik router that exposes more to the public then I would allow if I were managing it...

Sakon
Posts: 2
Joined: Thu Feb 03, 2011 2:54 pm

Re: java.net.ConnectException: Connection timed out: connect

Post by Sakon » Fri Feb 04, 2011 1:06 pm

Dear Maiham,
that did it! Thank you very much. Also, thank you ArcaneMagus for supporting me. I was not using a proxy and just setting it to "Direct Connection" fixed it.
Thread can be closed now.

robinjade
Posts: 22
Joined: Thu Aug 29, 2019 10:21 am

Re: [SOLVED] java.net.ConnectException: Connection timed out

Post by robinjade » Mon Sep 02, 2019 2:56 pm

It could be caused by internet filters. Have a look here to learn more/.

MichaelLYu
Posts: 3
Joined: Fri Sep 06, 2019 11:21 am

Re: [SOLVED] java.net.ConnectException: Connection timed out

Post by MichaelLYu » Mon Sep 30, 2019 11:52 am

My dream is the health of my loved ones and a good education for my children. I trust such resources https://gradesfixer.com/free-essay-exam ... ereotypes/ and do not trust stereotypes. We can create conditions and the child must obtain knowledge independently. Recently conducted research about happiness. Happiness is a pleasure that is achieved by labor and self-education.

jackie22
Posts: 20
Joined: Tue Sep 10, 2019 9:21 am

Re: [SOLVED] java.net.ConnectException: Connection timed out

Post by jackie22 » Fri Nov 08, 2019 7:02 pm

It's nice to see this post. Now I know that this problem is solved. Good job!

Post Reply