Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 228631

Set up VMRC API correctly

$
0
0

Good morning!

 

I'm trying to configure (local) the VMRC API to initialize the plugin and make the connection to a VM, but I'm having some problems.

 

By clicking the startup model available in the API is the message: startup returned "fake-id", I could not find anywhere if this message matches the success of startup plugin, but debugging code that uses a try catch this message apparently is related to the success of the operation.

 

Made it to insert data to connect to the VM (hostname, ticket and VM-ID) it displays the message:

 

connect succeeded
onConnectionStateChange - ConnectionState: 1, host: example.host.com.br, datacenter:, VMID: vm-example userRequested: true, reason: An error occurred That affected the security of the connection

 

That is, it tells me that the connection was made, but returns for connection status '1 '(equivalent to disconnected). Could someone help me configure the API to perform it correctly activating the console and connect to the VM?

 

I thank you for your attention, a big hug to everyone, until ...


Viewing all articles
Browse latest Browse all 228631

Trending Articles