You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Peter Bryant (JIRA)" <ji...@apache.org> on 2014/08/05 05:00:15 UTC

[jira] [Created] (HTTPCLIENT-1535) InetAddress and NoRouteToHost

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 192.168.0.33 netmask 0xffffff00 broadcast 192.168.0.255

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
(v6.2#6252)

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