-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RStudio hangs on start on Ubuntu 24 with error message in background: "Network service crashed, restarting service" #14927
Comments
RStudio 2024.04.x is not supported on Ubuntu 24. The next release (2024.07.x), coming later in July, will support it. Can you try a daily build (https://dailies.rstudio.com/) and see if anything changes? |
Same issue with rstudio-2024.07.0-daily-303-amd64.deb, just a slight difference in error line number:
I suspect this is related to electron somehow (e.g. electron/electron#40328). |
Hi, I get the same error on Ubuntu 24.04 with rstudio [2024.07.0+321], but rstudio GUI window does not appear. Rstudio-diagnostics file attached. `(env1) user@userPC:~/Downloads/rstudio-diagnostics$ rstudio --run-diagnostics (rstudio:15820): Gtk-WARNING **: 17:34:00.780: Theme parsing error: gtk.css:2:0: Expected a valid selector Attempting to launch R session... R session launched, attempting to connect on port 44145... Connected to R session, attempting to initialize... [15907:0716/173401.602789:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)]. |
I have been unable to reproduce the issue using RStudio Desktop 2024.08.0+341 on Ubuntu 24.04. |
That version doesn't exist as an official release. |
I can confirm that rstudio-2024.08.0-342-amd64.deb is still broken on 24.04 |
@ronblum does that mean you have yet to reproduce this issue in any of the previous versions? Also, is there a way for users to choose a different version of electron or disable/ignore network service? |
I also cannot reproduce the issue with 2024.07/08 builds on Ubuntu 24. The problem you are hitting is not happening on every Ubuntu 24 system (but I recognize that doesn't help your situation, and others who have whatever configuration is triggering this). To check again, I just installed a clean Ubuntu 24.04 system, installed R 4.4.1, and RStudio 2024.08.0+343 for Ubuntu 24, and did nothing else, and it starts up fine.
No, the only way to do that would be to build RStudio from source (a non-trivial exercise) after choosing a different version of Electron via rstudio/src/node/desktop/package.json Line 49 in 4ed1219
We've already updated to Electron 31.3.0 for the "next" release (2024.10) which is just starting development. You can always give one of those builds a try just to see if the newer Electron happens to help. https://dailies.rstudio.com/rstudio/kousa-dogwood/
Not that I know of. |
I'm curious, what happens if you run rstudio via |
(rstudio) username@host:~/Downloads$ rstudio --disable-gpu --run-diagnostics Attempting to launch R session... R session launched, attempting to connect on port 12259... Connected to R session, attempting to initialize... [572177:0802/125314.027080:ERROR:network_service_instance_impl.cc(599)] Network service crashed, restarting service. Thanks for the detailed responses. It certainly looks likely to be an Electron issue and RStudio cannot be detached from it. Based on a previous similar issue in Electron (electron/electron#31675 (comment)), |
disconnecting vpn fixes this issue on arch linux for me |
I managed to run it. rstudio --use-gl=angle --no-sandbox FYI, the |
Hello developers, I've found that this issue only exists in an existing conda environment. In a newly created conda environment, RStudio runs without any problems. I hope you can address this, as reinstalling all the dependencies from the old environment is quite complicated. Thank you! |
I am also getting this errors.
Thanks.
I think this is already resolved by this version. |
"I am Windows, and I am experiencing a white screen on startup with error code 600." network_service_instance_impl.cc(600) |
System details
Steps to reproduce the problem
Create and activate a conda environment for R
conda install -c conda-forge atk (this is one of the dependencies to r-magisk)
Attempt to start rstudio
Describe the problem in detail
RStudio window GUI appears to load (but could not complete loading). In the command line, this error goes on indefinitely:
"ERROR:network_service_instance_impl.cc(601)] Network service crashed, restarting service."
Suspect to be related to this reported issue for chromium: https://issues.chromium.org/issues/41487253
Describe the behavior you expected
RStudio to load normally, or display a more informative error message, or provide an option to disable the problematic feature
The text was updated successfully, but these errors were encountered: