|
| 1 | +**Problem** |
| 2 | + |
| 3 | +RStudio Server times out after approximately 60 minutes of inactivity. Upon re-entering the session, there will be a "RStudio Server Login Required" window popping up as below. |
| 4 | + |
| 5 | +<td style="text-align: center;"> |
| 6 | + <img src="/assets/images/userguides/rstudio_timeout1.png" alt="Rstudio login required"> |
| 7 | +</td> |
| 8 | + |
| 9 | +When trying to log in from the login window below, your login credentials **WILL NOT** work. |
| 10 | + |
| 11 | +<td style="text-align: center;"> |
| 12 | + <img src="/assets/images/userguides/rstudio_timeout2.png" alt="Rstudio login window"> |
| 13 | +</td> |
| 14 | + |
| 15 | +**Solution** |
| 16 | + |
| 17 | +This issue is related to the RStudio Server configuration that sessions will automatically log out if inactive for over **60 minutes**. The solution would be either to keep active every 60 minutes or use the user name and password (session specific password) described as follows to re-login: |
| 18 | + |
| 19 | +1. Navigate to the current RStudio session in Open OnDemand. |
| 20 | + |
| 21 | + <td style="text-align: center;"> |
| 22 | + <img src="/assets/images/userguides/rstudio_timeout3.png" alt="Rstudio session ID" width="90%"> |
| 23 | + </td> |
| 24 | + |
| 25 | +2. Click on the session ID to open the session folder and locate the `connection.yml` file within the session folder. |
| 26 | + |
| 27 | + <td style="text-align: center;"> |
| 28 | + <img src="/assets/images/userguides/rstudio_timeout4.png" alt="Rstudio session folder" width="90%"> |
| 29 | + </td> |
| 30 | + |
| 31 | +3. Open it to find the session-specific password. |
| 32 | + |
| 33 | + ``` |
| 34 | + csrf_token: *************** |
| 35 | + host: a007.cluster.rcac.purdue.edu |
| 36 | + port: 5329 |
| 37 | + password: *************** |
| 38 | + ``` |
| 39 | +
|
| 40 | +4. Then, use your Purdue account username in the "Username" field and the password retrieved from the `connection.yml` file to re-login. |
| 41 | +
|
| 42 | +P.S. If you could not open the page after re-login (see below) and saw the web url ended with `/appUri`, delete `/appUri` and retry with the remaining url. |
| 43 | +
|
| 44 | +<td style="text-align: center;"> |
| 45 | + <img src="/assets/images/userguides/rstudio_timeout5.png" alt="Rstudio URL mismatch"> |
| 46 | +</td> |
| 47 | +
|
| 48 | +
|
| 49 | +
|
| 50 | +
|
| 51 | +
|
| 52 | +
|
| 53 | +
|
| 54 | +
|
| 55 | +
|
| 56 | +
|
| 57 | +
|
0 commit comments