Hi,
I have performed SASM7 to M8 in-place upgrade on multi node architecture. All the Tiers are successfully upgraded without errors. I even rebuild and deployed the web apps.
When i am trying to open sasstudio web page it is not loading properly or it gives an error "Redirecting too many times as below.
https://servername.xxx.com/SASLogon/SASLogon/SASLogon.... etc.....
Can someone please guide me on this?
Thanks in Advance
Srinivas
In some cases, if sas.conf file changes alone does not resolve the issue, in situations where a load balancer or reverse proxy is configured for middle tier, then you would also need to whitelist all the IP addresses of the load balancer or the reverse proxy under trustedProxies attribute in <SAS_CONFIG>/LevN/Web/WebAppServer/SASServerX_Y/conf/server.xml file. Changes to server.xml file will also need a restart of SAS Web Application Servers. Here is an example of how to add IP addresses to trustedProxies attribute as regular expression: trustedProxies="12\.345\.678\.90|23\.456\.789\.01"
Thank you. Opened a case with tech support. Seems it is a bug.
Regards,
Srinivas
For future readers to this thread, the issue was resolved fairly straightforwardly in our case. Paraphrased from a support ticket:
For this "Too many redirects" error, please find and comment following lines in '<SASConfig>/Lev1/Web/WebServer/conf/sas.conf' like so, using the hash symbol in front of each line:
# Set the X-Forwarded-Proto header if request is over HTTPS
# RewriteEngine On
# RewriteCond "%{HTTPS}" "on"
# RewriteRule ^.*$ - [ENV=HTTPS:true]
# RequestHeader set X-Forwarded-Proto https env=HTTPS
Save the sas.conf file. Then, restart SAS Web Server services.
In some cases, if sas.conf file changes alone does not resolve the issue, in situations where a load balancer or reverse proxy is configured for middle tier, then you would also need to whitelist all the IP addresses of the load balancer or the reverse proxy under trustedProxies attribute in <SAS_CONFIG>/LevN/Web/WebAppServer/SASServerX_Y/conf/server.xml file. Changes to server.xml file will also need a restart of SAS Web Application Servers. Here is an example of how to add IP addresses to trustedProxies attribute as regular expression: trustedProxies="12\.345\.678\.90|23\.456\.789\.01"
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
Learn how to explore data assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.