Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1597 Re-Review TLS/SSL where http-upgrade is in use.
  3. WFLY-2501

Add meaningful error message when http-remoting is used in CLI against server that does not support it.

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Major
    • 8.0.0.Final
    • None
    • CLI
    • None

    Description

      Attempting to use http-remoting against a server that does not support it results in the following message: -

      [disconnected /] connect http-remoting://localhost:9990
      The controller is not available at localhost:9990: java.net.ConnectException: JBAS012174: Could not connect to http-remoting://localhost:9990. The connection failed: JBAS012174: Could not connect to http-remoting://localhost:9990. The connection failed: Redirects are not implemented yet
      [disconnected /]
      

      Would be nicer if we can detect the reason for the redirect and display an appropriate error message.

      Attachments

        Issue Links

          Activity

            People

              darran.lofthouse@redhat.com Darran Lofthouse
              darran.lofthouse@redhat.com Darran Lofthouse
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: