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

Console shows server URL as n/a if http is disabled

XMLWordPrintable

      If only https is enabled the admin console shows no server url at Runtime -> Hosts -> <Host name> -> <Server name>.

      There is a filter for socket bindings with a name started with http in org.jboss.hal.core.runtime.server.ServerUrlTasks which takes the first such binding regardless it is bound (enabled) or not, see [1]. This then leads to n/a at line 128, see [2].

      [1] https://github.com/hal/console/blob/develop/core/src/main/java/org/jboss/hal/core/runtime/server/ServerUrlTasks.java#L122
      [2] https://github.com/hal/console/blob/develop/core/src/main/java/org/jboss/hal/core/runtime/server/ServerUrlTasks.java#L128

            istudens@redhat.com Ivo Studensky
            istudens@redhat.com Ivo Studensky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: