Skip to content

RStudio (or Jupyter)

The following is a list of possible issues you may encounter when starting RStudio or Jupyter service.

Must I connect the RStudio or Jupyter server to a gateway (reverse proxy)?

You don't have to connect the application server to a gateway, but if the application server runs on a spot instance, its IP addresses changes if the application moves to a new server. You must then reconnect your browser session to the new application server IP address. If you connect the application server to a gateway, your browser connects to an IP address on the gateway that does not change when the application server moves to a new instance.

I successfully started an RStudio (or Jupyter) server, but I can't establish a browser session with it. Why?

RStudio and Jupyter servers publish specific ports that are used to receive incoming browser connections. The default ports are 8787 and 8888 (respectively), but you can customize this in your set-up configuration. You must apply a firewall rule (security group in AWS terminology) to open this port to incoming connections on your application server. You must apply this firewall rule regardless of whether you connect the application server to a gateway or not.

I applied a firewall rule to open port 8787 on the application server and connected the application server to a gateway, but my browser can't connect to the gateway. Why?

The browser connects to a port on the client side of the gateway. You must apply an incoming firewall rule to the gateway to allow access to these ports (for example, allow ports in the range 10000 to 10500).

I successfully started an RStudio (or Jupyter) server, but I don't know what credentials to use at the login prompt.

The login credentials are specified in the set-up configuration. For example, if you choose the RStudio (or Jupyter) template, you can see the default login credentials in the template details.

Every now and then, my RStudio (or Jupyter) browser session becomes unresponsive for a minute or two. Why is that?

If the application server runs on a spot instance and the CSP reclaims the spot instance, the browser is unresponsive until the application server starts running again on a new instance.

I tried to start a gateway called My Gateway, but it fails. Why?

Spaces are not allowed in gateway names. Remove the space or replace space "-" or "_".