Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-1588

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 3.2.1.Final
    • 3.2.0.Final
    • Domain Management
    • None

      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:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: