UnknownHostException in IDEA
Hi altogether,
I always get an UnknownHostException when trying to update via CVS or update the plugin list in IDEA.
This happens either when I use JDK 1.4 or with JDK 1.5
It also happens in IDEA 4.5 and IDEA 5.0. This bug report exactly describes my problem:
http://www.intellij.net/forums/thread.jsp?forum=13&thread=73643&message=801865&q=756e6b6e6f776e686f7374657863657074696f6e#801865
What can I do?
I already cleared my IDEA Home directory completely, cause I thought that could be the problem but it didn't help.
My system: Debian Linux Unstable(Sid), Kernel 2.6.11
Regards,
Ben
Please sign in to leave a comment.
I also couldn't find this "networkaddress.cache.negative.ttl " setting anywhere in the IDEA Home directory, which
is mentioned in the linked post.
So, now I found this "networkaddress.cache.negative.ttl" setting in jre/lib/security/java.security.
I changed in in my JDK 1.4 and JDK 1.5 to "0" and then started IDEA4.5 and IDEA5 with JDK 1.4 and JDK 1.5, but still - the same error.
Can anybody help me out?
by the way - here's the exception if i try to update the plugins in IDEA5 with JDK1.5
java.net.UnknownHostException: plugins.intellij.net
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
at sun.net.www.http.HttpClient.]]>(HttpClient.java:214)
at sun.net.www.http.HttpClient.New(HttpClient.java:287)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:799)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:758)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:669)
at com.intellij.util.net.HttpConfigurable.prepareURL(HttpConfigurable.java:123)
at com.intellij.ide.plugins.StatusProcess.run(StatusProcess.java:22)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:24)
at com.intellij.openapi.application.impl.ApplicationImpl$1MyThread.run(ApplicationImpl.java:8)