Problem connection Rstudio server

rstudioserver

#1

Hello,

I can't connect to my rstudio server session. Other users can, but not mine. All I've got is:

image

I've read the documentation but nothing worked:

  • I removed the ~/.rstudio folder
  • I checked the installation sudo rstudio-server verify-installation
  • I tried to connect in incognito mode (so there is not cache)
  • My UID is 1015 (over 100)

There is an error going on in /var/log/syslog which might be related:

grep "rsession" /var/log/syslog | tail -n 2
Mar 29 09:44:53 DTP-DEV-APP-02 rserver[20286]: CLIENT EXCEPTION (rsession-droussel): (SecurityError) : Permission denied to access property "$RStudio" on cross-origin object;|||org/rstudio/studio/client/workbench/MainWindowObject.java#86::getRStudioObject|||org/rstudio/studio/client/workbench/MainWindowObject.java#47::get|||org/rstudio/studio/client/workbench/addins/AddinsCommandManager.java#124::registerBindings|||org/rstudio/studio/client/workbench/addins/AddinsCommandManager.java#117::execute|||org/rstudio/core/client/files/FileBacked.java#101::run|||com/google/gwt/user/client/Timer.java#124::fire|||http://r-dev.datapole.local/rstudio/#-1::Nb/<|||com/google/gwt/core/client/impl/Impl.java#244::apply|||com/google/gwt/core/client/impl/Impl.java#283::entry0|||http://r-dev.datapole.local/rstudio/#-1::Sk/<|||Unknown#-1::anonymous|||Client-ID: b5bd914b-b97a-4f40-a550-afe8b3858bff|||User-Agent: Mozilla/5.0 (X11  Fedora  Linux x86_64  rv:59.0) Gecko/20100101 Firefox/59.0
Mar 29 09:44:54 DTP-DEV-APP-02 rserver[20286]: CLIENT EXCEPTION (rsession-droussel): (SecurityError) : Permission denied to access property "$RStudio" on cross-origin object;|||org/rstudio/studio/client/workbench/MainWindowObject.java#86::getRStudioObject|||org/rstudio/studio/client/workbench/MainWindowObject.java#40::set|||org/rstudio/studio/client/workbench/views/source/SourceWindowManager.java#94::SourceWindowManager|||org/rstudio/studio/client/RStudioGinjectorImpl.java#10870::create_Key$type$org$rstudio$studio$client$workbench$views$source$SourceWindowManager$_annotation$$none$$|||org/rstudio/studio/client/RStudioGinjectorImpl.java#5898::create_Key$type$org$rstudio$studio$client$workbench$views$source$Source$_annotation$$none$$|||org/rstudio/studio/client/workbench/views/source/SourceShim_AsyncSource__Impl.java#190::onSuccess2|||org/rstudio/studio/client/workbench/views/source/SourceShim_AsyncSource__Impl.java#185::execute|||org/rstudio/studio/client/workbench/views/source/editors/text/AceEditor.java#253::onLoaded|||org/rstudio/core/client/ExternalJavaScriptLoader.java#72::addCallback|||org/rstudio/studio/client/workbench/views/source/editors/text/AceEditor.java#249::onLoaded|||org/rstudio/core/client/ExternalJavaScriptLoader.java#72::addCallback|||org/rstudio/studio/client/workbench/views/source/editors/text/AceEditor.java#245::onLoaded|||org/rstudio/core/client/ExternalJavaScriptLoader.java#72::addCallback|||org/rstudio/studio/client/workbench/views/source/editors/text/AceEditor.java#241::onLoaded|||org/rstudio/core/client/ExternalJavaScriptLoader.java#72::addCallback|||org/rstudio/studio/client/workbench/views/source/editors/text/AceEditor.java#237::onLoaded|||org/rstudio/core/client/ExternalJavaScriptLoader.java#72::addCallback|||org/rstudio/studio/client/workbench/views/source/SourceShim.java#132::preInstantiationHook|||org/rstudio/studio/client/workbench/views/source/SourceShim_AsyncSource__Impl.java#183::onSuccess|||com/google/gwt/core/client/impl/OnSuccessExecutor.java#33::execute|||com/google/gwt/core/client/impl/SchedulerImpl.java#167::runScheduledTasks|||com/google/gwt/core/client/impl/SchedulerImpl.java#338::flushPostEventPumpCommands|||com/google/gwt/core/client/impl/SchedulerImpl.java#76::execute|||com/google/gwt/core/client/impl/SchedulerImpl.java#140::execute|||com/google/gwt/core/client/impl/Impl.java#244::apply|||com/google/gwt/core/client/impl/Impl.java#283::entry0|||http://r-dev.datapole.local/rstudio/#-1::Sk/<|||com/google/gwt/cell/client/AbstractEditableCell.java#41::viewDataMap|||Unknown#-1::anonymous|||Client-ID: a72bcceb-3754-4348-9299-e6206f1c8251|||User-Agent: Mozilla/5.0 (X11  Fedora  Linux x86_64  rv:59.0) Gecko/20100101 Firefox/59.0

So apparently, it is related to a permission that I don't have, but I can't figure out what file should I give permission to.

Thanks for your help


#2

The message there says someone else is connected to the session and you were bumped off.
Might someone else just be reconnecting to your session whenever you try to connect (you do note that others are connecting to the session)? What happens when you click the Reconnect button?


#3

When I try to reconnect, I got the same message.
I also try to kill all PID under my name (top -u droussel) and start again, but still no luck.


#4

What version of RStudio Server are you running? This was a bug that should have been fixed in the latest v1.0 and v1.1 releases.