[arquillian-issues] [JBoss JIRA] (ARQ-1622) Warp: resolves wrong URL for communication with proxy
Lukáš Fryč (JIRA)
issues at jboss.org
Wed Jan 15 02:59:32 EST 2014
Lukáš Fryč created ARQ-1622:
-------------------------------
Summary: Warp: resolves wrong URL for communication with proxy
Key: ARQ-1622
URL: https://issues.jboss.org/browse/ARQ-1622
Project: Arquillian
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Extension - Warp
Affects Versions: warp_1.0.0.Alpha5
Reporter: Lukáš Fryč
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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list