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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to