hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Bryant (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1535) InetAddress and NoRouteToHost
Date Tue, 05 Aug 2014 03:00:15 GMT
Peter Bryant created HTTPCLIENT-1535:

             Summary: InetAddress and NoRouteToHost
                 Key: HTTPCLIENT-1535
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1535
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient
    Affects Versions: 4.3.4
            Reporter: Peter Bryant

Using httplclient to fetch data from http://chart.googleapis.com/ On a mac.  Local network
ipv6.  No public ipv6 access.

	inet6 fe80::aa20:66ff:fe2e:6b73%en0 prefixlen 64 scopeid 0x4 
	inet netmask 0xffffff00 broadcast

Getting a HttpClientConnectionOperator.connect  is connecting to the ipv6 address.  A NoRouteToHostException
is thrown.

At line 134 a ConnectException is caught.  But no special handling for NoRouteToHostException.

Perhaps add that?

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message