Hi All,
trying to generate a token by using below code but it is timing out. any idea?
what is base URL? is it where we use URL to connect to SAS Viya?
sas.demo.com IP address is different than below Ips (10.11.11.123 or 10.11.11.122)
ERROR: Error connecting to 10.11.11.123.(The connection has timed out)
ERROR: Error connecting to 10.11.11.122.(The connection has timed out)
ERROR:Unable to establish connection to sas.demo.com.
ERROR:Unable to connect to Web server
Happy to share more logs
%macro GenerateToken(user = , pw = , baseURL = );
/* ======================================= 1: Generate token ======================================= */
%let _tokenURL=%nrbquote(&baseURL./SASLogon/oauth/token?grant_type=password%nrstr(&)username=&user%nrstr(&)password=&pw);
options noquotelenmax;
%mend;
%GenerateToken(user=test_user, pw=Welcome, baseURL=https://sas.demo.com);