I am experiencing extreme connection issues and I do not know what to do. I’m running RStudio server with version 1.1.383. The server is running on an ubuntu 14.04 desktop. I often work on that desktop and just work with RStudio server to maintain project continuity between my remote work and on-site work.
I experience no connectivity issues when I am working directly on the desktop.
However, when I am working remotely from my Windows 10 i7 laptop via the Chrome, my RStudio sessions frequently lose connection. Specifically, I get the following error:
Error: Unable to establish connection with R session
Typically, everything will be running fine. Then the console response time starts lagging (e.g. 4 seconds for
1+1). Then I’ll get that error. Sometimes, after a few seconds everything starts running smoothly, sometimes not.
I know it sounds like I’m losing my internet connection, but I don’t think that’s actually the issue. I’m now sitting next to my router and when I lose my server connection, my internet connection appears stable and fine.
I have tried:
- Clearing the console
- Clearing my workspace
- Restarting and stopping/starting RStudio Server sessions
- Restarting my session
- Terminating and starting a new session
Typically, these will temporarily restore my connection, but then the issue starts again.
This has actually become a huge problem and has dramatically decreased my productivity. I’m kind of at my wits end and would really like some help.