<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Nginx in front of Viya - Issues with SASStudioV in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Nginx-in-front-of-Viya-Issues-with-SASStudioV/m-p/731006#M21895</link>
    <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;I have a SAS Viya 3.5 multimachine install that I have placed a NginX proxy in front of.&amp;nbsp; So far all of the applications that I have tried work (Visual Analytics, SAS Drive, etc) except for SAS StudioV and regular SAS Studio.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have followed the instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-Configure-a-Reverse-Proxy-in-Front-of-SAS-Viya-Web/ta-p/570719" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-Configure-a-Reverse-Proxy-in-Front-of-SAS-Viya-Web/ta-p/570719&lt;/A&gt;. I was not able to perform the consul changes because when I try to use the kv tool I get this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;err="Put \"&lt;A href="http://127.0.0.1:8500/v1/kv/config/viya/sas.httpproxy.external.hostname?cas=0\" target="_blank"&gt;http://127.0.0.1:8500/v1/kv/config/viya/sas.httpproxy.external.hostname?cas=0\&lt;/A&gt;": dial tcp 127.0.0.1:8500: connect: connection refused"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the errors I get from the applications - here is what i get from SAS Studio V:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There was an error while starting SAS® Studio&lt;BR /&gt;Unable to create compute server session.&lt;BR /&gt;Failed to launch process.&lt;BR /&gt;Failed to launch process: host=viyaappserver.mydomain.org port=34536 ssl=true&lt;BR /&gt;Server error: status=0x80BFD100 messages=[ERROR: Access denied.]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From plain SAS Studio I get:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The application could not log on to the server "localhost:8591". The user ID "myuser" or the password is incorrect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One thing to keep in mind is that the public facing server and the Viya machines are in different domains.&amp;nbsp; A sanitized version of my nginx server definitions is included below.&amp;nbsp;&amp;nbsp; Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;server {&lt;BR /&gt;listen 80;&lt;BR /&gt;server_name publicserver.publicdomain.com;&lt;BR /&gt;return 301 &lt;A href="https://publicserver.publicdomain.com" target="_blank"&gt;https://publicserver.publicdomain.com&lt;/A&gt;;&lt;BR /&gt;}&lt;BR /&gt;server {&lt;BR /&gt;server_name publicserver.publicdomain.com;&lt;BR /&gt;gzip off;&lt;BR /&gt;listen 443 default ssl;&lt;BR /&gt;ssl_certificate /etc/nginx/ssl/cert.pem;&lt;BR /&gt;ssl_certificate_key /etc/nginx/ssl/key.pem;&lt;/P&gt;&lt;P&gt;ssl_session_timeout 5m;&lt;/P&gt;&lt;P&gt;ssl_protocols TLSv1 TLSv1.1 TLSv1.2;&lt;BR /&gt;ssl_ciphers ECDH+AESGCM:ECDH+AES256:ECDH+AES128:DH+3DES:!ADH:!AECDH:!MD5;&lt;BR /&gt;ssl_prefer_server_ciphers on;&lt;/P&gt;&lt;P&gt;# Load configuration files for the default server block.&lt;BR /&gt;include /etc/nginx/default.d/*.conf;&lt;/P&gt;&lt;P&gt;location / {&lt;BR /&gt;client_max_body_size 100m;&lt;BR /&gt;proxy_set_header X-Forwarded-Host $host;&lt;BR /&gt;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;&lt;BR /&gt;proxy_set_header Host $host;&lt;BR /&gt;proxy_set_header X-Real-IP $remote_addr;&lt;BR /&gt;proxy_set_header X-Forwarded-Port $server_port;&lt;BR /&gt;proxy_set_header X-Forwarded-Proto https;&lt;BR /&gt;proxy_pass &lt;A href="http://viyaappserver.mydomain.org/" target="_blank"&gt;http://viyaappserver.mydomain.org/&lt;/A&gt;;&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Apr 2021 17:23:44 GMT</pubDate>
    <dc:creator>dramage</dc:creator>
    <dc:date>2021-04-02T17:23:44Z</dc:date>
    <item>
      <title>Nginx in front of Viya - Issues with SASStudioV</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Nginx-in-front-of-Viya-Issues-with-SASStudioV/m-p/731006#M21895</link>
      <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;I have a SAS Viya 3.5 multimachine install that I have placed a NginX proxy in front of.&amp;nbsp; So far all of the applications that I have tried work (Visual Analytics, SAS Drive, etc) except for SAS StudioV and regular SAS Studio.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have followed the instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-Configure-a-Reverse-Proxy-in-Front-of-SAS-Viya-Web/ta-p/570719" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-Configure-a-Reverse-Proxy-in-Front-of-SAS-Viya-Web/ta-p/570719&lt;/A&gt;. I was not able to perform the consul changes because when I try to use the kv tool I get this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;err="Put \"&lt;A href="http://127.0.0.1:8500/v1/kv/config/viya/sas.httpproxy.external.hostname?cas=0\" target="_blank"&gt;http://127.0.0.1:8500/v1/kv/config/viya/sas.httpproxy.external.hostname?cas=0\&lt;/A&gt;": dial tcp 127.0.0.1:8500: connect: connection refused"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the errors I get from the applications - here is what i get from SAS Studio V:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There was an error while starting SAS® Studio&lt;BR /&gt;Unable to create compute server session.&lt;BR /&gt;Failed to launch process.&lt;BR /&gt;Failed to launch process: host=viyaappserver.mydomain.org port=34536 ssl=true&lt;BR /&gt;Server error: status=0x80BFD100 messages=[ERROR: Access denied.]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From plain SAS Studio I get:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The application could not log on to the server "localhost:8591". The user ID "myuser" or the password is incorrect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One thing to keep in mind is that the public facing server and the Viya machines are in different domains.&amp;nbsp; A sanitized version of my nginx server definitions is included below.&amp;nbsp;&amp;nbsp; Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;server {&lt;BR /&gt;listen 80;&lt;BR /&gt;server_name publicserver.publicdomain.com;&lt;BR /&gt;return 301 &lt;A href="https://publicserver.publicdomain.com" target="_blank"&gt;https://publicserver.publicdomain.com&lt;/A&gt;;&lt;BR /&gt;}&lt;BR /&gt;server {&lt;BR /&gt;server_name publicserver.publicdomain.com;&lt;BR /&gt;gzip off;&lt;BR /&gt;listen 443 default ssl;&lt;BR /&gt;ssl_certificate /etc/nginx/ssl/cert.pem;&lt;BR /&gt;ssl_certificate_key /etc/nginx/ssl/key.pem;&lt;/P&gt;&lt;P&gt;ssl_session_timeout 5m;&lt;/P&gt;&lt;P&gt;ssl_protocols TLSv1 TLSv1.1 TLSv1.2;&lt;BR /&gt;ssl_ciphers ECDH+AESGCM:ECDH+AES256:ECDH+AES128:DH+3DES:!ADH:!AECDH:!MD5;&lt;BR /&gt;ssl_prefer_server_ciphers on;&lt;/P&gt;&lt;P&gt;# Load configuration files for the default server block.&lt;BR /&gt;include /etc/nginx/default.d/*.conf;&lt;/P&gt;&lt;P&gt;location / {&lt;BR /&gt;client_max_body_size 100m;&lt;BR /&gt;proxy_set_header X-Forwarded-Host $host;&lt;BR /&gt;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;&lt;BR /&gt;proxy_set_header Host $host;&lt;BR /&gt;proxy_set_header X-Real-IP $remote_addr;&lt;BR /&gt;proxy_set_header X-Forwarded-Port $server_port;&lt;BR /&gt;proxy_set_header X-Forwarded-Proto https;&lt;BR /&gt;proxy_pass &lt;A href="http://viyaappserver.mydomain.org/" target="_blank"&gt;http://viyaappserver.mydomain.org/&lt;/A&gt;;&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 17:23:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Nginx-in-front-of-Viya-Issues-with-SASStudioV/m-p/731006#M21895</guid>
      <dc:creator>dramage</dc:creator>
      <dc:date>2021-04-02T17:23:44Z</dc:date>
    </item>
  </channel>
</rss>

