[jboss-jira] [JBoss JIRA] (WFLY-12115) Console shows server URL as n/a if http is disabled

Ivo Studensky (Jira) issues at jboss.org
Thu May 23 10:11:00 EDT 2019


     [ https://issues.jboss.org/browse/WFLY-12115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivo Studensky updated WFLY-12115:
---------------------------------
    Git Pull Request: https://github.com/hal/console/pull/322  (was: https://github.com/hal/console/pull/323)


> Console shows server URL as n/a if http is disabled
> ---------------------------------------------------
>
>                 Key: WFLY-12115
>                 URL: https://issues.jboss.org/browse/WFLY-12115
>             Project: WildFly
>          Issue Type: Bug
>          Components: Web Console
>            Reporter: Ivo Studensky
>            Assignee: Ivo Studensky
>            Priority: Minor
>
> 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



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list