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

http-listener requires 'https' socket-binding, part 2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • 9.0.0.Beta2
    • 8.2.0.Final
    • Web (Undertow)
    • None

      Continuing WFLY-2836.
      Is there a way to override http-listener's redirect-socket attribute default value ("https") to be null?

      This is just default value, looking at the downside of not having default value for redirect-socket would be that people would not configure it, which would result in problems when having apps that require secure transport.

      Our app doesn't require secure transport.

      redirect-socket=""

      results in

      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[956,166]
      Message: "JBAS014704: '' is an invalid value for parameter redirect-socket. Values must have a minimum length of 1 characters"
      

      This:

      redirect-socket="null"

      treats it literally:

      ]) - failure description: {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.undertow.listener.someapp-http-listener is missing [jboss.binding.null]"]}
      

      So we're forced to have a https socket-binding. Which is not a "just define some binding" problem. It's a "negotiate with customers&sysadmins/document it/provide options to configure it" problem.

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              vsevolodgol Vsevolod Golovanov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: