ONTAP Rest API Discussions

REST API: Failed Connection

KTP
4,270 Views

Hi all, i'm newbie to the REST API NetApp. I've done with the configuration setups but it failed in connection with the error as below. If anyone been encountered the same issue before? Appreciate if anyone could shed me some lights to allow me to proceed further, many thanks!

 

"netapp_ontap.error.NetAppRestError: Caused by ProxyError(MaxRetryError("HTTPSConnectionPool(host='cluster', port=443): Max retries exceeded with url: /api/storage/aggregates (Caused by ProxyError('Cannot connect to proxy.', RemoteDisconnected('Remote end closed connection without response')))"))"

1 ACCEPTED SOLUTION

KTP
4,136 Views

I've reinstalled the python and pip packages, issue seem resolved, thanks a lot !

View solution in original post

4 REPLIES 4

Ontapforrum
4,232 Views

It says caused by ProxyError.  Is there proxy server in place ? Are you authenticating it via proxy ? Are you not able to talk to cluster directly from the server (running this script) ? Could you share the script you are using, I might check it with mine. I haven't done rest api stuff for more than 6 months, so I am little bit out of touch.

KTP
4,137 Views

I've reinstalled the python and pip packages, issue seem resolved, thanks a lot !

Ontapforrum
4,106 Views

Well done, your persistence in resolving the issue did the trick. Please mark your reply as accepted solution.

Ontapforrum
4,101 Views

Very kind of you but I have not solved this problem. Please mark your reply 'I've reinstalled the python and pip packages, issue seem resolved, thanks a lot !' as the accepted solution. If you are unable to edit/modify it, then will ask the Moderator to mark it correctly.  Thank you 🙂

Public