Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1535

InetAddress and NoRouteToHost

    XMLWordPrintableJSON

Details

    Description

      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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            pbkwee Peter Bryant
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.25h
                0.25h
                Remaining:
                Remaining Estimate - 0.25h
                0.25h
                Logged:
                Time Spent - Not Specified
                Not Specified