Unsolved

Closed

566

March 28th, 2023 08:00

Unity300 API calls not working with NAT

Hello,

is it possible to make some GET calls with APIs of a Unity storage with NAT?

We observed that if the storage's address has a NAT the API calls do not work.

Is it an issue on our side or is it a limitation of APIs? If the answer is it the latter one, is there any workaroud?

Thank you very much for any help

 

 

Moderator

 • 

7.7K Posts

March 29th, 2023 04:00

Hello storagemanagement,

To my knowledge you can’t make get call with NAT on a Unity system.  All actions that can be done can be found in the Unisphere® Management REST API Programmer's Guide. 

https://dell.to/3ZoFZF4

1 Rookie

 • 

62 Posts

March 29th, 2023 23:00

Hello, Rest API is session based. The question is if your firewall keeps the rsat api session open. DId you test the connection with simple curl commands ?

https://www.dell.com/support/kbdoc/en-us/000009634/unity-how-to-use-curl-to-interact-with-unity-rest-api-user-correctable

 

March 30th, 2023 06:00

Hello rewalmilo,

thank you for the suggestion, making a curl call the Unity answer with a:

403 Forbidden
Untrusted hostname

We tried to pass the hostname as a header, as suggested searching on google, the error changed to:

Could not resolve host: spb

Do you know what hostname the storage wants (we've already tried with the "real" hostname)? Or if it is possible to list accepted hostnames?

Thank you.

1 Rookie

 • 

62 Posts

April 4th, 2023 01:00

Ok. when you issue the command. there should be route to the unity which can be resolved. I never tried rest api with port forwarding. 

No Events found!

Top