Problem seems to be we’re setting config.Cluster.ClusterAddress to a full URL including https:// here:
But I suspect its meant to only be a HOST:PORT
Later in the code path its run through internalUtil.CanonicalNetworkAddress which is expecting only HOST:PORT and isn’t handling the https:// prefix correctly.
I see it being modified like this:
https://cluster1.ffc.lab:8443 from connectInfo.URL
https://cluster1.ffc.lab:8443:8443 after CanonicalNetworkAddress
https://https//cluster1.ffc.lab:8443:8443 by the time it throws the error