sassoftware / pyviyatools

Python command-line tools that call the SAS Viya REST APIs - for SAS administrators.
Apache License 2.0
39 stars 31 forks source link

Not able to use these python scripts on my environment. However, I had able to set profile and get authenticated #67

Open venkattoluchuri opened 3 years ago

venkattoluchuri commented 3 years ago

One thing, I would like to let you know that, our SAS Viya build on AZURE Cloud and we have DNS created and using Azure app gateway to access our SAS Web app's using sasviyadev.optum.com. However, I can do auth login using hostname not using sasviyadev.optum.com though I have entered IP and hostname in to /etc/hosts.

Let me know if we can connect over team's meeting for further debug.

[vt7@phx-dev-services pyviyatools]$ ./loginviauthinfo.py Logging in with profile: Default Getting Credentials for: phx-dev-services.uapcld.net Enter credentials for https://phx-dev-services.uapcld.net: Login succeeded. Token saved. [vt7@phx-dev-services pyviyatools]$ ./listgroupsandmembers.py groupid,groupname,grouptype,groupproviderid,memberid,membername,membertype,memberproviderid ConnectionError: ('Connection aborted.', error(110, 'Connection timed out'))

gerrynelson63 commented 3 years ago

Thanks for letting us know, you are probably the first person to use the tool on Azure cloud. If you find a solution please let us know.