Hi all,
I'm using httpclient v4.0.3 in a multi-threaded (currently 20 threads)
setup, and am receiving unexpected UnknownHostException s.
Some of the threads seem to be resolving without problems, I can
execute a manual dig at the same time without any issues and the
UnknownHostExceptions are coming in at a rate (1000s per second) that
indicates the Java part of the system isn't even connecting to named
(and possible attempts don't show up as udp packet on the lo
interface). I tried both with my own localhost named and with that of
my hosting provider, I also changed upstream DNS servers...
Sample stack trace below. What am I missing?
Thanks,
Chris
java.net.UnknownHostException: marco4bella.blogspot.com
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:850)
at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1201)
at java.net.InetAddress.getAllByName0(InetAddress.java:1154)
at java.net.InetAddress.getAllByName(InetAddress.java:1084)
at java.net.InetAddress.getAllByName(InetAddress.java:1020)
at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:126)
at
org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
at
org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:108)
at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:554)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]