How do I use SAS Cli (sas-viya) in a proxy environment?
I try to use environment variables(http_proxy, https_proxy, HTTP_PROXY, HTTPS_PROXY) but not work.
My SAS environment is below:
Viya4 , 2023.01
Cli version : 1.21.3
Thanks in advance.
Hi Greg,
I'm sorry for the incompleteness of the content.
The profile is set correctly, but the connection via proxy is not possible.
Apparently, it has been recognized as a bug and will be fixed in the February 2023 release.
Hi shalaka,
I was check identities plugin is not work. (I can install all plugins.)
At March 2023 , SAS technical support said you can use only authenticate plugin in proxy enviroment.(Cli version : 1.21.6)
I give up to use sas cli in proxy enviroment and do not follow any information about this.
Best Regards,
Hello @stove
if any user is running the sas-viya cli on a machine (e.g. laptop, desktop etc.) behind the proxy/firewall, then the connection has to be allowed between the source and destination in the firewall.
This may be the case in your situation. Please make a request to your local admins to assist.
In a proxy environment, using SAS CLI can be a bit tricky. One helpful approach is to configure the proxy settings directly in your SAS CLI environment. You can set environment variables for HTTP_PROXY and HTTPS_PROXY, which should direct the traffic properly through the proxy server.
Additionally, if you’re dealing with a lot of proxy changes or need to manage different proxies, a tool like a Proxy Rotator could be useful. This type of tool automates switching between multiple proxy servers, which can simplify managing connections and avoiding issues with blocked requests.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.