VMware {code} Community
rajagopalans
Contributor
Contributor

Trouble making some REST calls from the plugin servers, not others

I am seeing an odd problem.

I am working with Vsphere 6.7 The plugin loads correctly etc. I am now trying to develop it to do something useful.

The VMWare-api-gateway-url parameter in the plugin server was https://<ip>/api/ui/

Following the steps in the guide, I was able to make the clone-session ticket https://<ip>/api/ui/vcenter/session/clone-ticket from the plugin server. So, I know that the REST API server is working.

However, when I try to make any other REST call to the vSphere server (say https://100.123.91.106/api/ui/vcenter/network ) from the plugin server, the vSphere server returns a 404.

This should be a valid GET. https://developer.vmware.com/apis/vsphere-automation/v7.0U1/vcenter/rest/vcenter/network/get/#reques...

 

Reply
0 Kudos
1 Reply
Denis_Chorbadzh
VMware Employee
VMware Employee

Hi,

 

Currently, it is not possible to call vCenter Server's REST APIs directly from the plugin's backend by using the cloned session.

 

Best Regards,

Denis

Reply
0 Kudos