Comment 4 for bug 432461

Revision history for this message
omillien (omillien) wrote :

Ok but behind proxy sometimes names resolution is not activated and this what happens unlike it works with java.net.URLConnection

java.net.UnknownHostException: www.google.fr
 at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
 at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:849)
 at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1200)
 at java.net.InetAddress.getAllByName0(InetAddress.java:1153)
 at java.net.InetAddress.getAllByName(InetAddress.java:1083)
 at java.net.InetAddress.getAllByName(InetAddress.java:1019)
 at play.libs.WS$1.createSocket(WS.java:137)
 at play.libs.WS$1.createSocket(WS.java:165)
 at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
 at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)
 at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
 at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
 at play.libs.WS$WSRequest.executeRequest(WS.java:865)