- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Greg Wootton | Principal Systems Technical Support Engineer
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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,
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.