Skip to content

"Target ... is not reachable" always contains a HTTP URL, even when using a HTTPS balancer. #2440

@rrayst

Description

@rrayst

A config like

<api port="2000">
  <balancer>
   <cluster>
       <node host="localhost" port="2001" />
   </cluster>
  </balancer>
  <target host="dummy" port="443">
    <ssl/>
  </target>
</api>

(nothing listening on 2001)

and curl localhost:2000 causes a message like "Target http://localhost:2001/path is not reachable" to be displayed.

It should be https instead of http, as https is actually used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions