Skip to content

RStudio/rsession is not launched when using LDAP and container-volumes mapping #9

@thien-bui-coherent

Description

@thien-bui-coherent

I've been running this example successfully since ShinyProxy 2.6.0 with LDAP authentication (Microsoft Active Directory) and container-volumes mapping. It is also working fine with ShinyProxy 3.0.1. However, after I upgraded to ShinyProxy 3.1.0 and 3.1.1, this example failed to work. ShinyProxy can still authenticate with LDAP and spin up the RStudio-ide container but the new web page is blank. I can 'docker exec -it ... bash' into the RStudio-ide container and verify that DISABLE_AUTH=true, USER=proxyUserId from LDAP, WWW_ROOT_PATH=proxy.getRuntimeValue('SHINYPROXY_PUBLIC_PATH'). rserver process is up and running by rstudio-server, but there is no process for rsession.
For the same ShinyProxy configuration, the RStudio-ide example is working with ShinyProxy 2.6.0 and 3.0.1 and LDAP authentication. With ShinyProxy 3.1.0/3.1.1, I found that this example only works with LDAP authentication when there is no container-volumes mapping. When there is container-volumes mapping, it only works when ShinyProxy authentication mode is none or simple. My guess is there some new security check in ShinyProxy 3.1.0/3.1.1 that prevents the rserver process in the RStudio-ide container from launching an rsession process to serve the LDAP-authenticated user in the mapped volume.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions