Hello all,
I usually connect to my vCenter servers using ssh tunnels because I have no direct IP connectivity between my PC and the servers. After updating to v10 I got the following error (sorry is in Spanish):
PowerCLI> Connect-VIServer -Server localhost -Port 4431 -User Administrator -Password $passwd_dev Connect-VIServer : No había ningún extremo escuchando en https://vcenter01-nfh.maqueta/lookupservice/sdk que pudiera aceptar el mensaje. La causa suele ser una
dirección o una acción SOAP incorrecta. Consulte InnerException, si está presente, para obtener más información.
At line:1 char:1
+ Connect-VIServer -Server localhost -Port 4431 -User Administrator -Pa ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Connect-VIServer], EndpointNotFoundException
+ FullyQualifiedErrorId : System.ServiceModel.EndpointNotFoundException,VMware.VimAutomation.ViCore.Cmdlets.Commands.ConnectVIServer
The tunnel for such a connection form my PC would look like this:
ssh -L 4431:vcenter01-nfh.maqueta:443 hopmachine.maqueta
This happens both with Windows 7 and Ubuntu 16.04 versions of PowerCLI 10.0 and with vCenter version 6.0U3. It does not happen with vCenter 5.5!!
Thanks to a user in the PS Gallery (PowerShell Gallery | VMware.PowerCLI 6.5.4.7155375) I was able to roll back to version 6.5.4 and now all is working again as expected.
What do you think?
Thank you!