VMware Cloud Community
Oharutz2
Contributor
Contributor

Problem RESTAPI request

Hi ,

I try to execute request in VRA Version 8.10.2.27406 and i get an error - Cannot execute the request insufficient_security.

but i have env with version 8.8 and it works perfect. the configuration of the rest host its the same on the both environments.

i attached pic with the code.

action with 2 inputs:

1) the rest host config with none = authentication.

2) the authorization contain a base64 user and pass with permission on the destination

isilon.JPG

0 Kudos
3 Replies
kuklis
Contributor
Contributor

Can you try with

var js = RestGET(isilon, url);

0 Kudos
Oharutz2
Contributor
Contributor

Hi ,

Tnks for the replay , 

but its still the same error

isilongdc.JPG

0 Kudos
eoinbyrne
Expert
Expert

This looks like a low-level HTTPS problem since your Error is listed as occurring at line 8 where you don't even have a response Object yet so there's no status code or HTTP response content to examine.

Have a look at this KB - https://kb.vmware.com/s/article/84201 - check the logs (server and scripting) to verify whether the problem is happening due to your request (doubtful) or the server certificate/security config. If this is working on another vRO instance check for configuration differences

IMO, this is the server-to-server SSL handshake breaking down 

0 Kudos