]
James Perkins updated WFLY-11100:
---------------------------------
Fix Version/s: 15.0.0.Final
AJP can't redirect to management console because of unresolved
address
----------------------------------------------------------------------
Key: WFLY-11100
URL:
https://issues.jboss.org/browse/WFLY-11100
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Affects Versions: 14.0.0.Final
Reporter: Aaron Ogburn
Assignee: Stuart Douglas
Priority: Major
Fix For: 15.0.0.Beta1, 15.0.0.Final
Over an AJP connection, the management console link's redirect from the EAP home page
never works. This is because AJP has an unresolved socket on the exchange so this causes
comparisons in ConsoleRedirectService$ConsoleRedirectHandler.getRedirectHostname to always
fail:
{code}
--------------------------->InetSocketAddress.createUnresolved localhost 80
localhost:80
java.net.InetSocketAddress.createUnresolved(InetSocketAddress.java:254)
io.undertow.server.protocol.ajp.AjpRequestParseState.createDestinationAddress(AjpRequestParseState.java:142)
io.undertow.server.protocol.ajp.AjpReadListener.handleEvent(AjpReadListener.java:222)
--------------------------->InetAddress.equals /127.0.0.1 null false
java.net.Inet4Address.equals(Inet4Address.java:357)
org.wildfly.extension.undertow.ConsoleRedirectService$ConsoleRedirectHandler.getRedirectHostname(ConsoleRedirectService.java:144)
{code}