BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
srinivasa_attot
Fluorite | Level 6

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

1 ACCEPTED SOLUTION

Accepted Solutions
smopati
SAS Employee

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"

Sahithya Mopati
SAS Technical Support, Middle Tier

View solution in original post

4 REPLIES 4
gwootton
SAS Super FREQ
When you access SAS Studio and have not yet authenticated, SAS Studio would redirect you to /SASLogon to authenticate. From the URL there it looks like /SASLogon is being appended to the URL repeatedly through subsequent redirects, so this is probably a configuration issue either in the SAS Web Server or SAS Logon.
A Technical Support case would be appropriate to review your configuration.
--
Greg Wootton | Principal Systems Technical Support Engineer
srinivasa_attot
Fluorite | Level 6

Thank you. Opened a case with tech support. Seems it is a bug.

 

Regards,

Srinivas

APeter0807
Calcite | Level 5

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.

smopati
SAS Employee

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"

Sahithya Mopati
SAS Technical Support, Middle Tier

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

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.

Discussion stats
  • 4 replies
  • 1018 views
  • 2 likes
  • 4 in conversation