Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-2760

Axis doesn't handle host names specified in http.nonProxyList correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.4
    • None
    • Basic Architecture
    • None
    • JDK 1.4, Windows / Unix, Axis 1.4

    Description

      I use client executing webservices using Axis and I set proxy details via system properties (for other purposes), such that ip of server with WS is excluded. When I try to connect to my server by host name Axis goes to proxy, although it should be ignored. When I do the same by ip (rather than name) it works fine. Note that same situation is handled corectly by java HttpURLConnection.
      AXIS should resolve host names prior to matching them in exclusion list (org.apache.axis.components.net.DefaultSocketFactory.isHostInNonProxyList).

      To reproduce the problem connect to local server (10.xxx.xxx.xxx) by name and set system properties as follows
      -Dhttp.proxyHost=<host>
      -Dhttp.proxyPort=<port>
      -Dhttp.nonProxyHosts=10.*

      Attachments

        Activity

          People

            Unassigned Unassigned
            aptem Artyom Karalov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

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