
UNSOLVED
Closed
S
storagemanagement
2 Posts
0
660
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
Responses (4)
Solutions (0)
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 ?
storagemanagement
2 Posts
331
0
Posted March 30th, 2023 06:00
Hello rewalmilo,
thank you for the suggestion, making a curl call the Unity answer with a:
403 Forbidden
Untrusted hostnameWe 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.

DELL-Sam L
Community Manager
•
8105 Posts
•
34577 Points
367
0
Posted 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