Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-11100

AJP can't redirect to management console because of unresolved address

    Details

      Description

      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:

      --------------------------->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)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  swd847 Stuart Douglas
                  Reporter:
                  aogburn Aaron Ogburn
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: