- id: rstudio422
display-name: RStudio
description: RStudio on R 4.2.2, with MSSQL ODBC client and tinytex.
container-image: redacted/rstudio:4.2.2v1
container-volumes: [ "/mnt/shiny:/home/#{proxy.userId}/shiny", "RStudio-site-library:/usr/local/lib/R/site-library" ]
port: 8787
access-groups: [redacted]
container-env:
USER: "#{proxy.userId}"
DISABLE_AUTH: true
WWW_ROOT_PATH: "#{proxy.getRuntimeValue('SHINYPROXY_PUBLIC_PATH')}"
This all works just fine when I access ShinyProxy using the host server name, but we will be using a DNS alias, and when using that address the iframe containing R-studio is just empty. Accessing the exact same container instance from either the host name or the alias gives different results.
We’ve got several other R applications begind ShinyProxy and these works with both names.
Hi
can you please specifiy the shinyproxy version that you use ?
show us the log of your browser when you run the rstudio app.
to get the browser logs in Chrome use this :
click right (mouse) in the homepage shinyproxy > inspect > messages (blue dialog in pic)
It will be behind a LB, but while troubleshooting this we’ve redirected the DNS-alias to go to the server itself, so right now it’s a direct connection.
The issue seems to be the same as this, but I’ve already got “forward-headers-strategy: native”.
I also forgot I set up nginx on the local server, so it’s still behind a proxy. I think we’ll keep this setup and skip the LB since we only intended to go through that for certificate management.
I think I got mislead a bit by using Firefox. It still warns about mixed contents in FF, but it works in Chrome and Edge which is the default browsers in our organisation so I’ll call it good enough.