-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RStudio launcher strangeness on Codespaces #144
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
Hi @syoh , thanks for the clear instructions, as I was unfamiliar with starting jupyter in codespaces. I created a new codespace from your repo, and could confirm the problem. When I removed I was able to successfully launch RStudio properly from your main branch however. There were other changes in the repo, but I'm guessing it was probably due to the update of jupyter-rsession-proxy from 2.0.1 to 2.2.0. |
Thank you @ryanlovett for taking the time to confirm the issue and the solution! I confirmed your solution works for me, too. |
And here is my devcontainer.json. The py-rocket base image is just an image with JLab and RStudio.
|
Update: it only occurs in a special case below with 2.2.0+ and not with 2.1.0. I am running the Codespaces devcontainer with a Dockerfile with this line at the bottom. It is the same Dockerfile used in my JupyterHub.
The original poster was using this base image, which also exposes 8888 Using this image in a Codespace, doesn't automatically (for me at least) start jupyter lab on port 8888. Instead I run this from a terminal after the Codespace starts
If I use |
Bug description
In Codespace, using jupyter-rsession-proxy to launch RStudio opens a window with a strange-looking URL.
For example,
Jupyter Lab URL: https://bookish-engine-7vjg45pq4xhpw4-8888.app.github.dev/lab
RStudio launched URL: https://bookish-engine-7vjg45pq4xhpw4-8888.app.github.dev:8888/rstudio/auth-sign-in?appUri=%2F
How to reproduce
jupyter server list
in terminalExpected behaviour
Open RStudio
Actual behaviour
Your personal set up
Running on Codespaces with this Dockerfile: https://github.com/dddlab/rstudio/blob/update-jupyter-image/.devcontainer/Dockerfile
The text was updated successfully, but these errors were encountered: