I am perplexed by the application job launch URL, which looks right for some apps but wrong for RStudio. I think the URL is more of a server-wide configuration, not application-specific.
I have trouble launching RStudio, the job URL is something like: “https://n0296.savio2:44163/auth-sign-in?appUri=appUri&error=2”, with the error messages " This site can’t be reached. Check if there is a typo in n0296.savio2. DNS_PROBE_FINISHED_NXDOMAIN".
Hmmmm. OK it is apparently trying to redirect you to the the compute node it’s running on and not the ood proxy.
The underlying cause is that you’re not logging in correctly. I can tell this by the URL because it has error=2. Depending on what rstudio version you’re running, you may need to also use csrf token as well.
You can view our production rstudio for an example on how we’re passing that token.
I wanted to let you know we have implemented CILogon for auth. It seems to be working quite well.
I have a question about where/how to config the default institution as UC Berkeley when starting CILogon. We provide a default institution for one of our account management services written in Python, users can still choose other options when needed. I suspect we can do something similar within Open OnDemand.