[jboss-jira] [JBoss JIRA] (WFLY-11100) AJP can't redirect to management console because of unresolved address
Aaron Ogburn (JIRA)
issues at jboss.org
Mon Oct 1 17:19:00 EDT 2018
Aaron Ogburn created WFLY-11100:
-----------------------------------
Summary: 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
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}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list