Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-1622

Warp: resolves wrong URL for communication with proxy

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • warp_1.0.0.Alpha6
    • warp_1.0.0.Alpha5
    • Extension - Warp
    • None

    Description

      That's because we use

      InetAddress.getLocalHost().getHostAddress();

      https://github.com/arquillian/arquillian-extension-warp/blob/1.0.0.Alpha5/impl/src/main/java/org/jboss/arquillian/warp/impl/client/proxy/DefaultURLMapping.java#L60


      I think we should either

      1) -copy the host from realUrl- or
      2) iterate over all network interfaces and choose loopback one

      [1] http://stackoverflow.com/questions/16444753/inetaddress-getlocalhost-gethostaddress-is-returning-127-0-1-1

      Attachments

        Activity

          People

            lfryc Lukáš Fryč (Inactive)
            lfryc Lukáš Fryč (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: