Skip to content

RStudio launcher strangeness on Codespaces #144

@syoh

Description

@syoh

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

  1. Go to 'https://github.com/dddlab/rstudio/tree/update-jupyter-image'
  2. Start Codespaces
  3. image
  4. Get Jupyter server token with jupyter server list in terminal
  5. Click on Ports > RStudio row > globe icon
    image
  6. Login to Jupyter Lab with token
  7. Click on RStudio launcher button

Expected 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

  • OS: Ubuntu 22.04
  • Version(s):
jovyan@codespaces-8d1913:/workspaces/rstudio$ python --version
Python 3.11.6
jovyan@codespaces-8d1913:/workspaces/rstudio$ jupyter --version
Selected Jupyter core packages...
IPython          : 8.16.1
ipykernel        : 6.25.2
ipywidgets       : not installed
jupyter_client   : 8.4.0
jupyter_core     : 5.4.0
jupyter_server   : 2.8.0
jupyterlab       : 4.0.7
nbclient         : 0.8.0
nbconvert        : 7.9.2
nbformat         : 5.9.2
notebook         : 7.0.6
qtconsole        : not installed
traitlets        : 5.11.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions