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] [Commented] (HTTPCLIENT-1535) InetAddress and NoRouteToHost
Date Wed, 06 Aug 2014 05:04:12 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14087249#comment-14087249
] 

Peter Bryant commented on HTTPCLIENT-1535:
------------------------------------------

Is this OK?  https://github.com/pbkwee/httpclient/commit/626d3d1800573a4328f891c98c2748522d5e55a9

> 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
>              Labels: easyfix
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> 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


Mime
View raw message